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

Unified Diff: content/public/browser/web_contents_observer.h

Issue 1407053010: Make mouse wheel events trigger WebContentsObserver::DidGetUserInteraction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More tests Created 5 years, 1 month 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 | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_contents_observer.h
diff --git a/content/public/browser/web_contents_observer.h b/content/public/browser/web_contents_observer.h
index 37f28b1191abe06936caf47801ade9828344e210..8ccae7cba2c12f21b44353da3774fbdcc924f7a3 100644
--- a/content/public/browser/web_contents_observer.h
+++ b/content/public/browser/web_contents_observer.h
@@ -319,8 +319,9 @@ class CONTENT_EXPORT WebContentsObserver : public IPC::Listener,
virtual void DidGetUserGesture() {}
// Called when there has been direct user interaction with the WebContents.
- // Direct user input includes 1) any mouse down event; 2) any raw key down
- // event; and 3) any gesture tap event (including taps and scrolls).
+ // Direct user input includes 1) any mouse down event; 2) the start of a mouse
+ // wheel scroll; 3) any raw key down event; and 3) any gesture tap event
tdresser 2015/11/02 15:02:10 It might be worth putting each item on it's own li
dominickn 2015/11/02 23:41:14 Done.
+ // (including taps and scrolls).
virtual void DidGetUserInteraction(const blink::WebInputEvent::Type type) {}
// This method is invoked when a RenderViewHost of this WebContents was
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698