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

Unified Diff: content/browser/renderer_host/input/main_thread_event_queue_browsertest.cc

Issue 2227563003: Refactoring button field and its type (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix new instances Created 4 years, 4 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/input/main_thread_event_queue_browsertest.cc
diff --git a/content/browser/renderer_host/input/main_thread_event_queue_browsertest.cc b/content/browser/renderer_host/input/main_thread_event_queue_browsertest.cc
index 97319f0ac8d13c2f2f851cd796f655e883f9d2fb..947228d53ccac1655c20c7e6c944273976e1562f 100644
--- a/content/browser/renderer_host/input/main_thread_event_queue_browsertest.cc
+++ b/content/browser/renderer_host/input/main_thread_event_queue_browsertest.cc
@@ -111,7 +111,7 @@ class MainThreadEventQueueBrowserTest : public ContentBrowserTest {
// Send a click event to cause some jankiness. This is done via a click
// event as ExecuteScript is synchronous.
SimulateMouseClick(shell()->web_contents(), 0,
- blink::WebPointerProperties::ButtonLeft);
+ blink::WebPointerProperties::Button::Left);
scoped_refptr<InputMsgWatcher> input_msg_watcher(
new InputMsgWatcher(GetWidgetHost(), blink::WebInputEvent::MouseMove));
GetWidgetHost()->ForwardMouseEvent(SyntheticWebMouseEventBuilder::Build(
@@ -150,7 +150,7 @@ class MainThreadEventQueueBrowserTest : public ContentBrowserTest {
// Send a click event to cause some jankiness. This is done via a click
// event as ExecuteScript is synchronous.
SimulateMouseClick(shell()->web_contents(), 0,
- blink::WebPointerProperties::ButtonLeft);
+ blink::WebPointerProperties::Button::Left);
scoped_refptr<InputMsgWatcher> input_msg_watcher(
new InputMsgWatcher(GetWidgetHost(), blink::WebInputEvent::TouchMove));

Powered by Google App Engine
This is Rietveld 408576698