summaryrefslogtreecommitdiffstats
path: root/content/renderer/render_view_impl.h
diff options
context:
space:
mode:
authorjinsukkim@chromium.org <jinsukkim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-14 10:37:04 +0000
committerjinsukkim@chromium.org <jinsukkim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-14 10:37:04 +0000
commitbbc8856d39ddc468079ccb9ae214710616d339c1 (patch)
tree169be2a53359d18364c7a0a9873710eea33705da /content/renderer/render_view_impl.h
parent9e37d16a56b216d425332c5de0ec300f569c6fe1 (diff)
downloadchromium_src-bbc8856d39ddc468079ccb9ae214710616d339c1.zip
chromium_src-bbc8856d39ddc468079ccb9ae214710616d339c1.tar.gz
chromium_src-bbc8856d39ddc468079ccb9ae214710616d339c1.tar.bz2
Allows fullscreen to be triggered with the key events used for scrolling.
This gives consistency with how fullscreen is triggered with gesture-based scrolling. Keys to trigger fullscreen with are based on the logic implemented in WebViewImpl::keyEventDefault()/mapKeyCodeForScroll(). BUG=240159 Review URL: https://chromiumcodereview.appspot.com/14999010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206386 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/render_view_impl.h')
-rw-r--r--content/renderer/render_view_impl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index ddd1283..08402a6 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -517,6 +517,7 @@ class CONTENT_EXPORT RenderViewImpl
// date and time input fields using MULTIPLE_FIELDS_UI
virtual bool openDateTimeChooser(const WebKit::WebDateTimeChooserParams&,
WebKit::WebDateTimeChooserCompletion*);
+ virtual void didScrollWithKeyboard(const WebKit::WebSize& delta);
#endif
// WebKit::WebFrameClient implementation -------------------------------------
@@ -1358,6 +1359,12 @@ class CONTENT_EXPORT RenderViewImpl
// much about leaks.
IDMap<ContextMenuClient, IDMapExternalPointer> pending_context_menus_;
+#if defined(OS_ANDROID)
+ // Cache the old top controls state constraints. Used when updating
+ // current value only without altering the constraints.
+ cc::TopControlsState top_controls_constraints_;
+#endif
+
// View ----------------------------------------------------------------------
// Cache the preferred size of the page in order to prevent sending the IPC