summaryrefslogtreecommitdiffstats
path: root/views/widget/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/widget/widget.h')
-rw-r--r--views/widget/widget.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/views/widget/widget.h b/views/widget/widget.h
index 38a6703..8de4b6c 100644
--- a/views/widget/widget.h
+++ b/views/widget/widget.h
@@ -15,9 +15,12 @@ class Point;
class Rect;
}
+namespace menus {
+class Accelerator;
+}
+
namespace views {
-class Accelerator;
class FocusManager;
class RootView;
class TooltipManager;
@@ -155,7 +158,7 @@ class Widget {
// Returns the accelerator given a command id. Returns false if there is
// no accelerator associated with a given id, which is a common condition.
virtual bool GetAccelerator(int cmd_id,
- Accelerator* accelerator) = 0;
+ menus::Accelerator* accelerator) = 0;
// Returns the Window containing this Widget, or NULL if not contained in a
// window.