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

Unified Diff: chrome/test/chromedriver/keycode_text_conversion_ozone.cc

Issue 1312833006: Remove ui::KeyEvent::platform_keycode_ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 3 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 | « no previous file | components/mus/display_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/keycode_text_conversion_ozone.cc
diff --git a/chrome/test/chromedriver/keycode_text_conversion_ozone.cc b/chrome/test/chromedriver/keycode_text_conversion_ozone.cc
index 15217e8fd38ec04b716edf403cf610090227e100..b938126260decb7bce21a668d4069e2bec7678d0 100644
--- a/chrome/test/chromedriver/keycode_text_conversion_ozone.cc
+++ b/chrome/test/chromedriver/keycode_text_conversion_ozone.cc
@@ -35,11 +35,9 @@ bool ConvertKeyCodeToText(ui::KeyboardCode key_code,
ui::DomKey dom_key;
ui::KeyboardCode key_code_ignored;
- uint32 platform_keycode_ignored;
if (!keyboard_layout_engine->Lookup(dom_code, event_flags, &dom_key,
- &key_code_ignored,
- &platform_keycode_ignored)) {
+ &key_code_ignored)) {
// Key codes like ui::VKEY_UNKNOWN need to be mapped to the empty string, so
// even if the lookup fails we still need to return true here.
*text = std::string();
« no previous file with comments | « no previous file | components/mus/display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698