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

Unified Diff: content/renderer/render_view_impl.h

Issue 14999010: Allows fullscreen to be triggered with the key events used for scrolling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments Created 7 years, 6 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 | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index d2fdd8f259ae2708940c684401013cf1c5f620d1..2c95c5bcd2b75039351e51d5f4801f2c0fa0e7bf 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -444,6 +444,9 @@ class CONTENT_EXPORT RenderViewImpl
virtual void didCancelCompositionOnSelectionChange();
virtual void didChangeSelection(bool is_selection_empty);
virtual void didExecuteCommand(const WebKit::WebString& command_name);
+#if defined(OS_ANDROID)
+ virtual void didScrollWithKeyboard(const WebKit::WebSize& delta);
jamesr 2013/06/13 06:03:36 please also move this down with the other #if defi
Jinsuk Kim 2013/06/13 06:18:21 Done.
+#endif
virtual bool handleCurrentKeyboardEvent();
virtual WebKit::WebColorChooser* createColorChooser(
WebKit::WebColorChooserClient*, const WebKit::WebColor& initial_color);
@@ -1358,6 +1361,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
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698