Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(491)

Unified Diff: views/controls/menu/menu_delegate.h

Issue 8508055: Move views::Accelerator to ui in order to use it from aura code. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/controls/menu/menu_controller.cc ('k') | views/controls/menu/menu_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/menu/menu_delegate.h
diff --git a/views/controls/menu/menu_delegate.h b/views/controls/menu/menu_delegate.h
index fbae89a474b37d052e810997923c2a53fd75e1e6..dc29eb88ff25038048bc75cf4185f7e16af0b369 100644
--- a/views/controls/menu/menu_delegate.h
+++ b/views/controls/menu/menu_delegate.h
@@ -24,6 +24,12 @@ class Font;
} // namespace gfx
+namespace ui {
+
+class Accelerator;
+
+} // namespace ui
+
namespace views {
class DropTargetEvent;
@@ -73,7 +79,7 @@ class VIEWS_EXPORT MenuDelegate {
// If there is an accelerator for the menu item with id |id| it is set in
// |accelerator| and true is returned.
- virtual bool GetAccelerator(int id, Accelerator* accelerator);
+ virtual bool GetAccelerator(int id, ui::Accelerator* accelerator);
// Shows the context menu with the specified id. This is invoked when the
// user does the appropriate gesture to show a context menu. The id
« no previous file with comments | « views/controls/menu/menu_controller.cc ('k') | views/controls/menu/menu_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698