summaryrefslogtreecommitdiffstats
path: root/ui/views/widget/widget.h
diff options
context:
space:
mode:
authorerg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-10 23:11:47 +0000
committererg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-10 23:11:47 +0000
commit290353d2e35e004cd0c3d2ce15d3027a545c086e (patch)
tree7d37c7080bad8523ad228a447cf42454696d5044 /ui/views/widget/widget.h
parente3a722b7311cd7bf9a812ccea475948b6ba88bb7 (diff)
downloadchromium_src-290353d2e35e004cd0c3d2ce15d3027a545c086e.zip
chromium_src-290353d2e35e004cd0c3d2ce15d3027a545c086e.tar.gz
chromium_src-290353d2e35e004cd0c3d2ce15d3027a545c086e.tar.bz2
linux_aura: Enforce minimum/maximum window size.
This send min/max sizing information to the X server on Layout(). BUG=285387 Review URL: https://chromiumcodereview.appspot.com/23461042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222386 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/widget/widget.h')
-rw-r--r--ui/views/widget/widget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index a65762f..cbf43bf 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -676,6 +676,10 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
// mouse location to refresh hovering status in the widget.
void SynthesizeMouseMoveEvent();
+ // Called by our RootView after it has performed a Layout. Used to forward
+ // window sizing information to the window server on some platforms.
+ void OnRootViewLayout();
+
// Notification that our owner is closing.
// NOTE: this is not invoked for aura as it's currently not needed there.
// Under aura menus close by way of activation getting reset when the owner