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

Unified Diff: content/browser/renderer_host/render_widget_host_delegate.h

Issue 313083002: Disable overscroll navigation when emulating touch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_delegate.h
diff --git a/content/browser/renderer_host/render_widget_host_delegate.h b/content/browser/renderer_host/render_widget_host_delegate.h
index 983f2824cd8a7a53f38c73ab734a59679843fe33..c1ce78bdf4a0f540ece310d018492fa5fec067e3 100644
--- a/content/browser/renderer_host/render_widget_host_delegate.h
+++ b/content/browser/renderer_host/render_widget_host_delegate.h
@@ -59,6 +59,9 @@ class CONTENT_EXPORT RenderWidgetHostDelegate {
// Notifies that screen rects were sent to renderer process.
virtual void DidSendScreenRects(RenderWidgetHostImpl* rwh) {}
+ // Notifies that overscrolling content should be disabled.
+ virtual void SetOverscrollContentDisabled(bool disabled) {}
mfomitchev 2014/06/04 21:50:36 This doesn't really belong in the RWHDelegate inte
dgozman 2014/06/06 14:07:31 I don't like this one either. Unfortunately, movin
Avi (use Gerrit) 2014/06/06 14:36:17 Well, RWH knows about "touch emulation" so perhaps
mfomitchev 2014/06/06 15:32:48 This sounds reasonable to me.
dgozman 2014/06/06 15:45:28 Done.
+
#if defined(OS_WIN)
// Returns the widget's parent's NativeViewAccessible.
virtual gfx::NativeViewAccessible GetParentNativeViewAccessible();
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698