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

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

Issue 1388293002: Notify WebContentsObservers of user interactions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moving impl to RenderWidgetHost Created 5 years, 2 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/browser/renderer_host/render_widget_host_impl.h
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
index bd6bc767fc252f6b9acf9d617dd9154aa94a1471..226d06f573363fc542cd2f0b18b40441ffabb65f 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -578,6 +578,11 @@ class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost,
// NotifyRendererResponsive.
void RendererIsResponsive();
+ // Notification that the user has made some kind of direct input with the
+ // page. Direct input includes 1) any mouse down event; 2) any raw key down
+ // event; and 3) any gesture tap event (which includes taps and scrolls).
+ virtual void OnUserInteraction(const blink::WebInputEvent::Type type);
+
// Routines used to send the RenderWidget its screen color profile.
void DispatchColorProfile();
void SendColorProfile();

Powered by Google App Engine
This is Rietveld 408576698