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

Unified Diff: ash/screen_ash.h

Issue 10905288: Switch primary display (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 3 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/extended_desktop_unittest.cc ('k') | ash/screen_ash.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/screen_ash.h
diff --git a/ash/screen_ash.h b/ash/screen_ash.h
index cf2f2217e6b8dbce4c72f6269823f3ed8fa96452..8d836855b60258841002cb0e4385a5163302895d 100644
--- a/ash/screen_ash.h
+++ b/ash/screen_ash.h
@@ -51,6 +51,10 @@ class ASH_EXPORT ScreenAsh : public gfx::ScreenImpl {
static gfx::Rect ConvertRectFromScreen(aura::Window* window,
const gfx::Rect& rect);
+ // Returns a gfx::Display object for secondary display. Returns
+ // ivalid display if there is no secondary display connected.
+ static const gfx::Display& GetSecondaryDisplay();
+
protected:
virtual gfx::Point GetCursorScreenPoint() OVERRIDE;
virtual gfx::NativeWindow GetWindowAtCursorScreenPoint() OVERRIDE;
« no previous file with comments | « ash/extended_desktop_unittest.cc ('k') | ash/screen_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698