summaryrefslogtreecommitdiffstats
path: root/views/widget/widget_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/widget/widget_win.h')
-rw-r--r--views/widget/widget_win.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/views/widget/widget_win.h b/views/widget/widget_win.h
index 147072e..40b3387 100644
--- a/views/widget/widget_win.h
+++ b/views/widget/widget_win.h
@@ -69,8 +69,7 @@ const int WM_NCUAHDRAWFRAME = 0xAF;
class WidgetWin : public app::WindowImpl,
public Widget,
public MessageLoopForUI::Observer,
- public FocusTraversable,
- public AcceleratorTarget {
+ public FocusTraversable {
public:
WidgetWin();
virtual ~WidgetWin();
@@ -205,6 +204,7 @@ class WidgetWin : public app::WindowImpl,
virtual FocusManager* GetFocusManager();
virtual void ViewHierarchyChanged(bool is_add, View *parent,
View *child);
+ virtual bool GetAccelerator(int cmd_id, Accelerator* accelerator);
// Overridden from MessageLoop::Observer:
void WillProcessMessage(const MSG& msg);
@@ -223,11 +223,6 @@ class WidgetWin : public app::WindowImpl,
void SetFocusTraversableParent(FocusTraversable* parent);
void SetFocusTraversableParentView(View* parent_view);
- // Overridden from AcceleratorTarget:
- virtual bool AcceleratorPressed(const Accelerator& accelerator);
-
- virtual bool GetAccelerator(int cmd_id, Accelerator* accelerator);
-
BOOL IsWindow() const {
return ::IsWindow(GetNativeView());
}