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

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: 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
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..66669e5cb4eaecc6a4e60636e8e2dd3b6ef1d7c6 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -444,6 +444,7 @@ class CONTENT_EXPORT RenderViewImpl
virtual void didCancelCompositionOnSelectionChange();
virtual void didChangeSelection(bool is_selection_empty);
virtual void didExecuteCommand(const WebKit::WebString& command_name);
+ virtual void didScrollWithKeyboard(const WebKit::WebSize& delta);
virtual bool handleCurrentKeyboardEvent();
virtual WebKit::WebColorChooser* createColorChooser(
WebKit::WebColorChooserClient*, const WebKit::WebColor& initial_color);
@@ -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_;
aelias_OOO_until_Jul13 2013/06/13 03:29:25 How about moving this value into RenderViewImplAnd
Jinsuk Kim 2013/06/13 04:18:13 The header file is shared. Kept the definition her
+#endif
+
// View ----------------------------------------------------------------------
// Cache the preferred size of the page in order to prevent sending the IPC

Powered by Google App Engine
This is Rietveld 408576698