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

Unified Diff: content/public/test/browser_test_utils.cc

Issue 1908683002: Replace OS_LEFT/RIGHT with META_LEFT/RIGHT (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/public/test/browser_test_utils.cc
diff --git a/content/public/test/browser_test_utils.cc b/content/public/test/browser_test_utils.cc
index 8adafe550b84d836e75b3e2b0baef31fad0311b1..284498aeb9dbb4244b2c7a05153fd9b02593dc33 100644
--- a/content/public/test/browser_test_utils.cc
+++ b/content/public/test/browser_test_utils.cc
@@ -595,7 +595,7 @@ void SimulateKeyPressWithCode(WebContents* web_contents,
modifiers |= blink::WebInputEvent::MetaKey;
InjectRawKeyEvent(
web_contents, blink::WebInputEvent::RawKeyDown, ui::VKEY_COMMAND,
- ui::KeycodeConverter::DomCodeToNativeKeycode(ui::DomCode::OS_LEFT),
+ ui::KeycodeConverter::DomCodeToNativeKeycode(ui::DomCode::META_LEFT),
modifiers);
}
InjectRawKeyEvent(web_contents, blink::WebInputEvent::RawKeyDown, key_code,
@@ -636,7 +636,7 @@ void SimulateKeyPressWithCode(WebContents* web_contents,
modifiers &= ~blink::WebInputEvent::MetaKey;
InjectRawKeyEvent(
web_contents, blink::WebInputEvent::KeyUp, ui::VKEY_COMMAND,
- ui::KeycodeConverter::DomCodeToNativeKeycode(ui::DomCode::OS_LEFT),
+ ui::KeycodeConverter::DomCodeToNativeKeycode(ui::DomCode::META_LEFT),
modifiers);
}
« no previous file with comments | « chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc ('k') | remoting/client/normalizing_input_filter_cros.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698