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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 2186983002: Re-route Touchscreen GesturePinch events to root view. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo. Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_input_event_router.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 256
257 // Notifies the RenderWidget that it lost the mouse lock. 257 // Notifies the RenderWidget that it lost the mouse lock.
258 void SendMouseLockLost(); 258 void SendMouseLockLost();
259 259
260 // Noifies the RenderWidget of the current mouse cursor visibility state. 260 // Noifies the RenderWidget of the current mouse cursor visibility state.
261 void SendCursorVisibilityState(bool is_visible); 261 void SendCursorVisibilityState(bool is_visible);
262 262
263 // Notifies the RenderWidgetHost that the View was destroyed. 263 // Notifies the RenderWidgetHost that the View was destroyed.
264 void ViewDestroyed(); 264 void ViewDestroyed();
265 265
266 // Signals if this host has forwarded a GestureScrollBegin without yet having
267 // forwarded a matching GestureScrollEnd/GestureFlingStart.
268 bool is_in_touchscreen_gesture_scroll() const {
269 return is_in_touchscreen_gesture_scroll_;
270 }
271
266 #if defined(OS_MACOSX) 272 #if defined(OS_MACOSX)
267 // Pause for a moment to wait for pending repaint or resize messages sent to 273 // Pause for a moment to wait for pending repaint or resize messages sent to
268 // the renderer to arrive. If pending resize messages are for an old window 274 // the renderer to arrive. If pending resize messages are for an old window
269 // size, then also pump through a new resize message if there is time. 275 // size, then also pump through a new resize message if there is time.
270 void PauseForPendingResizeOrRepaints(); 276 void PauseForPendingResizeOrRepaints();
271 277
272 // Whether pausing may be useful. 278 // Whether pausing may be useful.
273 bool CanPauseForPendingResizeOrRepaints(); 279 bool CanPauseForPendingResizeOrRepaints();
274 280
275 // Wait for a surface matching the size of the widget's view, possibly 281 // Wait for a surface matching the size of the widget's view, possibly
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
827 #endif 833 #endif
828 834
829 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 835 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
830 836
831 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 837 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
832 }; 838 };
833 839
834 } // namespace content 840 } // namespace content
835 841
836 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 842 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_input_event_router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698