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

Unified Diff: ui/views/controls/menu/menu_controller.h

Issue 11030017: Add context to gfx::Screen calls in support of simultaneous desktop+ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix new addition Created 8 years, 2 months 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 | « ui/views/controls/button/custom_button.cc ('k') | ui/views/controls/menu/menu_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/menu/menu_controller.h
diff --git a/ui/views/controls/menu/menu_controller.h b/ui/views/controls/menu/menu_controller.h
index e29b1a147ae623b1a520bc9eef399dd20957b379..b22bc22e521746f34233cf7143e8daa2ea1a9873 100644
--- a/ui/views/controls/menu/menu_controller.h
+++ b/ui/views/controls/menu/menu_controller.h
@@ -31,6 +31,9 @@ class Window;
namespace ui {
class OSExchangeData;
}
+namespace gfx {
+class Screen;
+}
namespace views {
class DropTargetEvent;
@@ -461,6 +464,9 @@ class VIEWS_EXPORT MenuController
aura::Window* old_active) OVERRIDE;
#endif
+ // Retrieve an appropriate Screen.
+ gfx::Screen* GetScreen();
+
// The active instance.
static MenuController* active_instance_;
« no previous file with comments | « ui/views/controls/button/custom_button.cc ('k') | ui/views/controls/menu/menu_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698