summaryrefslogtreecommitdiffstats
path: root/views/widget/widget.h
diff options
context:
space:
mode:
authorpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-04 17:50:26 +0000
committerpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-04 17:50:26 +0000
commitb284843ba6a1e90c12f91eaf796726433dc2537d (patch)
tree96edc5a4528e4d685c89544bfc13712e2984964a /views/widget/widget.h
parente83ce1e3f2fcacb3d400287d78567d22a2a06cae (diff)
downloadchromium_src-b284843ba6a1e90c12f91eaf796726433dc2537d.zip
chromium_src-b284843ba6a1e90c12f91eaf796726433dc2537d.tar.gz
chromium_src-b284843ba6a1e90c12f91eaf796726433dc2537d.tar.bz2
Refactor the menu model to live outside views/ so it can be shared
BUG=none TEST=none Review URL: http://codereview.chromium.org/465005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33827 0039d316-1c4b-4281-b951-d872f2087c98
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.