blob: 1b46003ea91f1843a210adbc9d0878dc840ca90d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_BASE_ACCELERATORS_PLATFORM_ACCELERATOR_H_
#define UI_BASE_ACCELERATORS_PLATFORM_ACCELERATOR_H_
#include "base/memory/scoped_ptr.h"
#include "ui/base/ui_export.h"
namespace ui {
// Abstract base class for platform specific accelerator keys.
class UI_EXPORT PlatformAccelerator {
public:
virtual ~PlatformAccelerator() {}
virtual scoped_ptr<PlatformAccelerator> CreateCopy() const = 0;
virtual bool Equals(const PlatformAccelerator& rhs) const = 0;
};
} // namespace ui
#endif // UI_BASE_ACCELERATORS_PLATFORM_ACCELERATOR_H_
|