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

Unified Diff: ash/shell.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 | « ash/screensaver/screensaver_view.cc ('k') | ash/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index a7365d822e4ca8c54089ac76f22e475f1576ca0a..20568f507222c3c0815e5afd6b6e6ecf4021ca9a 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -20,6 +20,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/observer_list.h"
#include "ui/gfx/insets.h"
+#include "ui/gfx/screen.h"
#include "ui/gfx/size.h"
class CommandLine;
@@ -170,6 +171,9 @@ class ASH_EXPORT Shell : CursorDelegate,
// until the another window who has a different root window becomes active.
static aura::RootWindow* GetActiveRootWindow();
+ // Returns the global Screen object that's always active in ash.
+ static gfx::Screen* GetScreen();
+
// Returns all root windows.
static RootWindowList GetAllRootWindows();
« no previous file with comments | « ash/screensaver/screensaver_view.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698