Chromium Code Reviews| 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; |