OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/strings/string16.h" | 5 #include "base/strings/string16.h" |
6 #include "base/strings/stringprintf.h" | |
7 #include "base/strings/utf_string_conversion_utils.h" | 6 #include "base/strings/utf_string_conversion_utils.h" |
8 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
9 #include "chrome/test/chromedriver/chrome/ui_events.h" | 8 #include "chrome/test/chromedriver/chrome/ui_events.h" |
10 #include "chrome/test/chromedriver/keycode_text_conversion.h" | 9 #include "chrome/test/chromedriver/keycode_text_conversion.h" |
11 #include "ui/events/event_constants.h" | 10 #include "ui/events/event_constants.h" |
12 #include "ui/events/keycodes/dom/dom_code.h" | 11 #include "ui/events/keycodes/dom/dom_code.h" |
13 #include "ui/events/keycodes/dom/keycode_converter.h" | 12 #include "ui/events/keycodes/dom/keycode_converter.h" |
14 #include "ui/events/keycodes/keyboard_code_conversion.h" | 13 #include "ui/events/keycodes/keyboard_code_conversion.h" |
15 #include "ui/events/ozone/layout/keyboard_layout_engine.h" | 14 #include "ui/events/ozone/layout/keyboard_layout_engine.h" |
16 #include "ui/events/ozone/layout/keyboard_layout_engine_manager.h" | 15 #include "ui/events/ozone/layout/keyboard_layout_engine_manager.h" |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 *necessary_modifiers = kShiftKeyModifierMask; | 77 *necessary_modifiers = kShiftKeyModifierMask; |
79 found_code = true; | 78 found_code = true; |
80 } | 79 } |
81 if (found_code) { | 80 if (found_code) { |
82 *key_code = code; | 81 *key_code = code; |
83 break; | 82 break; |
84 } | 83 } |
85 } | 84 } |
86 return found_code; | 85 return found_code; |
87 } | 86 } |
OLD | NEW |