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

Unified Diff: ui/aura/desktop_host.h

Issue 8374005: aura: Try to make Linux host resize code more reliable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update a few other gfx::Rect calls Created 9 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/aura/desktop.cc ('k') | ui/aura/desktop_host_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/desktop_host.h
diff --git a/ui/aura/desktop_host.h b/ui/aura/desktop_host.h
index b8318d26422659353959d933cced8808ca089d2b..983eea24b57c22bfa685e6efeb9871abd6900cdc 100644
--- a/ui/aura/desktop_host.h
+++ b/ui/aura/desktop_host.h
@@ -29,6 +29,10 @@ class DesktopHost : public MessageLoop::Dispatcher {
// Creates a new DesktopHost. The caller owns the returned value.
static DesktopHost* Create(const gfx::Rect& bounds);
+ // Returns the actual size of the display.
+ // (gfx::Screen only reports on the virtual desktop exposed by Aura.)
+ static gfx::Size GetNativeDisplaySize();
+
// Sets the Desktop this DesktopHost is hosting. DesktopHost does not own the
// Desktop.
virtual void SetDesktop(Desktop* desktop) = 0;
« no previous file with comments | « ui/aura/desktop.cc ('k') | ui/aura/desktop_host_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698