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

Unified Diff: content/shell/renderer/test_runner/test_plugin.cc

Issue 729533003: Remove GestureScrollUpdateWithoutPropagation event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove hard count from the test Created 6 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/shell/renderer/test_runner/event_sender.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/test_plugin.cc
diff --git a/content/shell/renderer/test_runner/test_plugin.cc b/content/shell/renderer/test_runner/test_plugin.cc
index 05eba9d70be7df3b5750d59024494fc409c437e1..13e962ca3673ac1b0a95a993e1581d9b85a0f69e 100644
--- a/content/shell/renderer/test_runner/test_plugin.cc
+++ b/content/shell/renderer/test_runner/test_plugin.cc
@@ -620,7 +620,6 @@ bool TestPlugin::handleInputEvent(const blink::WebInputEvent& event,
case blink::WebInputEvent::GestureScrollEnd:
event_name = "GestureScrollEnd";
break;
- case blink::WebInputEvent::GestureScrollUpdateWithoutPropagation:
case blink::WebInputEvent::GestureScrollUpdate:
event_name = "GestureScrollUpdate";
break;
@@ -679,6 +678,10 @@ bool TestPlugin::handleInputEvent(const blink::WebInputEvent& event,
case blink::WebInputEvent::TouchCancel:
event_name = "TouchCancel";
break;
+ default:
+ NOTREACHED() << "Received unexpected event type: " << event.type;
+ event_name = "unknown";
+ break;
}
delegate_->PrintMessage(std::string("Plugin received event: ") +
« no previous file with comments | « content/shell/renderer/test_runner/event_sender.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698