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

Unified Diff: ui/aura/desktop.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: reset host win position when wm isn't running 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 | « no previous file | ui/aura/desktop_host_linux.cc » ('j') | ui/aura/desktop_host_linux.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/desktop.h
diff --git a/ui/aura/desktop.h b/ui/aura/desktop.h
index 34e47eef4e34fc6b2bddc5e943071e998fb045a1..a843ba2137d078d392d64416f5580c76156b1254 100644
--- a/ui/aura/desktop.h
+++ b/ui/aura/desktop.h
@@ -69,7 +69,9 @@ class AURA_EXPORT Desktop : public ui::CompositorDelegate,
// Shows the desktop host.
void ShowDesktop();
- // Sets the size of the desktop.
+ // Sets the size of the desktop. Note that in some implementations (i.e.
+ // X11), resizing happens asynchronously, so a size passed to SetHostSize()
+ // may not be immediately reflected in GetHostSize().
sadrul 2011/10/22 18:53:04 I dislike this part of the change. I confirmed th
Daniel Erat 2011/10/23 04:02:55 I'm in favor of waiting for the ConfigureNotify be
void SetHostSize(const gfx::Size& size);
gfx::Size GetHostSize() const;
« no previous file with comments | « no previous file | ui/aura/desktop_host_linux.cc » ('j') | ui/aura/desktop_host_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698