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

Unified Diff: chrome/test/webdriver/keymap.h

Issue 3354005: Re-lands 58186: (Closed)
Patch Set: Created 10 years, 4 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 | « chrome/test/ui_test_utils.cc ('k') | chrome/test/webdriver/keymap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/keymap.h
diff --git a/chrome/test/webdriver/keymap.h b/chrome/test/webdriver/keymap.h
index 688ffa7e4b9f95cdac06e21c0c0b824f0addd627..e4b15945c6930ccea625ccf4312412dbd61ceda8 100644
--- a/chrome/test/webdriver/keymap.h
+++ b/chrome/test/webdriver/keymap.h
@@ -7,7 +7,7 @@
#include <map>
-#include "base/keyboard_codes.h"
+#include "app/keyboard_codes.h"
#include "chrome/test/automation/window_proxy.h"
namespace webdriver {
@@ -16,10 +16,10 @@ namespace webdriver {
class KeyMap {
public:
KeyMap();
- base::KeyboardCode Get(const wchar_t& key) const;
+ app::KeyboardCode Get(const wchar_t& key) const;
bool Press(const scoped_refptr<WindowProxy>& window,
- const base::KeyboardCode key_code,
+ const app::KeyboardCode key_code,
const wchar_t& key);
// Sets the Shift, Alt, Cntl, and Cmd keys to not pressed
@@ -30,8 +30,8 @@ class KeyMap {
bool alt_;
bool control_;
bool command_;
- std::map<wchar_t, base::KeyboardCode> keys_;
- std::map<wchar_t, base::KeyboardCode> shifted_keys_;
+ std::map<wchar_t, app::KeyboardCode> keys_;
+ std::map<wchar_t, app::KeyboardCode> shifted_keys_;
DISALLOW_COPY_AND_ASSIGN(KeyMap);
};
} // namespace webdriver
« no previous file with comments | « chrome/test/ui_test_utils.cc ('k') | chrome/test/webdriver/keymap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698