| Index: ui/base/accelerators/accelerator.h
|
| diff --git a/ui/base/accelerators/accelerator.h b/ui/base/accelerators/accelerator.h
|
| index 33beaa41fb23e63b623e7d5618b1d0d2ea6d05ce..e4ac03cb2a2d65f5279872b8ba6a6d5aab535c9d 100644
|
| --- a/ui/base/accelerators/accelerator.h
|
| +++ b/ui/base/accelerators/accelerator.h
|
| @@ -24,7 +24,7 @@ namespace ui {
|
| class UI_EXPORT Accelerator {
|
| public:
|
| Accelerator();
|
| - Accelerator(ui::KeyboardCode keycode, int modifiers);
|
| + Accelerator(ui::KeyboardCode keycode, int modifiers, ui::EventType type);
|
| Accelerator(const Accelerator& accelerator);
|
| ~Accelerator();
|
|
|
| @@ -39,10 +39,6 @@ class UI_EXPORT Accelerator {
|
| bool operator !=(const Accelerator& rhs) const;
|
|
|
| ui::KeyboardCode key_code() const { return key_code_; }
|
| -
|
| - // Sets the event type if the accelerator should be processed on an event
|
| - // other than ui::ET_KEY_PRESSED.
|
| - void set_type(ui::EventType type) { type_ = type; }
|
| ui::EventType type() const { return type_; }
|
|
|
| int modifiers() const { return modifiers_; }
|
|
|