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

Unified Diff: content/renderer/render_view_impl.cc

Issue 10797043: content: Make sure the renderer notifies the browser about touch-event handlers properly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | « content/renderer/render_view_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index bcd537d6b693d3f9c05dcf1fca0e4d72fd8ebff3..a19474c3d3a56aa6637f60fc4b751dc705162840 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -3600,6 +3600,10 @@ void RenderViewImpl::numberOfTouchEventHandlersChanged(unsigned num_handlers) {
Send(new ViewHostMsg_DidChangeNumTouchEvents(routing_id_, num_handlers));
}
+void RenderViewImpl::hasTouchEventHandlers(bool has_handlers) {
+ Send(new ViewHostMsg_HasTouchEventHandlers(routing_id_, has_handlers));
+}
+
void RenderViewImpl::reportFindInPageMatchCount(int request_id, int count,
bool final_update) {
int active_match_ordinal = -1; // -1 = don't update active match ordinal
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698