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

Side by Side Diff: chrome/test/webdriver/webdriver_key_converter.h

Issue 16753002: Use a direct include of strings headers in chrome/test/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_WEBDRIVER_WEBDRIVER_KEY_CONVERTER_H_ 5 #ifndef CHROME_TEST_WEBDRIVER_WEBDRIVER_KEY_CONVERTER_H_
6 #define CHROME_TEST_WEBDRIVER_WEBDRIVER_KEY_CONVERTER_H_ 6 #define CHROME_TEST_WEBDRIVER_WEBDRIVER_KEY_CONVERTER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/string16.h" 11 #include "base/strings/string16.h"
12 #include "chrome/test/webdriver/webdriver_automation.h" 12 #include "chrome/test/webdriver/webdriver_automation.h"
13 #include "ui/base/keycodes/keyboard_codes.h" 13 #include "ui/base/keycodes/keyboard_codes.h"
14 14
15 namespace webdriver { 15 namespace webdriver {
16 16
17 class Logger; 17 class Logger;
18 18
19 // Convenience functions for creating |WebKeyEvent|s. Used by unittests. 19 // Convenience functions for creating |WebKeyEvent|s. Used by unittests.
20 WebKeyEvent CreateKeyDownEvent(ui::KeyboardCode key_code, int modifiers); 20 WebKeyEvent CreateKeyDownEvent(ui::KeyboardCode key_code, int modifiers);
21 WebKeyEvent CreateKeyUpEvent(ui::KeyboardCode key_code, int modifiers); 21 WebKeyEvent CreateKeyUpEvent(ui::KeyboardCode key_code, int modifiers);
(...skipping 10 matching lines...) Expand all
32 bool ConvertKeysToWebKeyEvents(const string16& keys, 32 bool ConvertKeysToWebKeyEvents(const string16& keys,
33 const Logger& logger, 33 const Logger& logger,
34 bool release_modifiers, 34 bool release_modifiers,
35 int* modifiers, 35 int* modifiers,
36 std::vector<WebKeyEvent>* key_events, 36 std::vector<WebKeyEvent>* key_events,
37 std::string* error_msg); 37 std::string* error_msg);
38 38
39 } // namespace webdriver 39 } // namespace webdriver
40 40
41 #endif // CHROME_TEST_WEBDRIVER_WEBDRIVER_KEY_CONVERTER_H_ 41 #endif // CHROME_TEST_WEBDRIVER_WEBDRIVER_KEY_CONVERTER_H_
OLDNEW
« no previous file with comments | « chrome/test/webdriver/webdriver_dispatch_unittest.cc ('k') | chrome/test/webdriver/webdriver_key_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698