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

Side by Side Diff: chrome/test/chromedriver/keycode_text_conversion.h

Issue 858353002: [chromedriver] Fixed window SendKeys (single quote missing) problem (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor change on variable name Created 5 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #ifndef CHROME_TEST_CHROMEDRIVER_KEYCODE_TEXT_CONVERSION_H_ 5 #ifndef CHROME_TEST_CHROMEDRIVER_KEYCODE_TEXT_CONVERSION_H_
6 #define CHROME_TEST_CHROMEDRIVER_KEYCODE_TEXT_CONVERSION_H_ 6 #define CHROME_TEST_CHROMEDRIVER_KEYCODE_TEXT_CONVERSION_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 14 matching lines...) Expand all
25 25
26 // Converts a character to the key code and modifiers that would produce 26 // Converts a character to the key code and modifiers that would produce
27 // the character using the current keyboard layout. Returns true on success. 27 // the character using the current keyboard layout. Returns true on success.
28 // If an error occurs |error_msg| will be set to the error message, otherwise 28 // If an error occurs |error_msg| will be set to the error message, otherwise
29 // it will be set to the empty string. 29 // it will be set to the empty string.
30 bool ConvertCharToKeyCode(base::char16 key, 30 bool ConvertCharToKeyCode(base::char16 key,
31 ui::KeyboardCode* key_code, 31 ui::KeyboardCode* key_code,
32 int *necessary_modifiers, 32 int *necessary_modifiers,
33 std::string* error_msg); 33 std::string* error_msg);
34 34
35 #if defined(OS_WIN)
36 bool SwitchToUSKeyboardLayout();
37 #endif
38
35 #endif // CHROME_TEST_CHROMEDRIVER_KEYCODE_TEXT_CONVERSION_H_ 39 #endif // CHROME_TEST_CHROMEDRIVER_KEYCODE_TEXT_CONVERSION_H_
OLDNEW
« no previous file with comments | « chrome/test/chromedriver/chrome_launcher.cc ('k') | chrome/test/chromedriver/keycode_text_conversion_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698