summaryrefslogtreecommitdiffstats
path: root/mojo/services/native_viewport/native_viewport_impl.h
diff options
context:
space:
mode:
authorsky <sky@chromium.org>2014-09-30 12:06:28 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-30 19:06:39 +0000
commit5b19be3a063c7dd7ab0d414030750c733e6d9c56 (patch)
tree654081b00c8924989709e92ea5816f8b9eb8900f /mojo/services/native_viewport/native_viewport_impl.h
parente650b32b0453a45e0bdcb248f93092f1bd1f817f (diff)
downloadchromium_src-5b19be3a063c7dd7ab0d414030750c733e6d9c56.zip
chromium_src-5b19be3a063c7dd7ab0d414030750c733e6d9c56.tar.gz
chromium_src-5b19be3a063c7dd7ab0d414030750c733e6d9c56.tar.bz2
Makes NativeViewport send OnBoundsChanged() after widget available
It was possible for us to send it before. BUG=none TEST=none R=ben@chromium.org, darin@chromium.org Review URL: https://codereview.chromium.org/617513003 Cr-Commit-Position: refs/heads/master@{#297472}
Diffstat (limited to 'mojo/services/native_viewport/native_viewport_impl.h')
-rw-r--r--mojo/services/native_viewport/native_viewport_impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mojo/services/native_viewport/native_viewport_impl.h b/mojo/services/native_viewport/native_viewport_impl.h
index 82f38a9..ad8e5c4 100644
--- a/mojo/services/native_viewport/native_viewport_impl.h
+++ b/mojo/services/native_viewport/native_viewport_impl.h
@@ -46,6 +46,8 @@ class NativeViewportImpl : public InterfaceImpl<NativeViewport>,
void AckEvent();
private:
+ void ProcessOnBoundsChanged();
+
bool is_headless_;
scoped_ptr<PlatformViewport> platform_viewport_;
scoped_ptr<ViewportSurface> viewport_surface_;