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

Unified Diff: chrome/test/ui_test_utils.h

Issue 6246001: Move app/key* to ui/base/keycodes/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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/render_view_test.cc ('k') | chrome/test/ui_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/ui_test_utils.h
===================================================================
--- chrome/test/ui_test_utils.h (revision 71220)
+++ chrome/test/ui_test_utils.h (working copy)
@@ -11,7 +11,6 @@
#include <string>
#include <set>
-#include "app/keyboard_codes.h"
#include "base/basictypes.h"
#include "base/message_loop.h"
#include "base/scoped_temp_dir.h"
@@ -24,6 +23,7 @@
#include "chrome/test/automation/dom_element_proxy.h"
#include "gfx/native_widget_types.h"
#include "testing/gtest/include/gtest/gtest.h"
+#include "ui/base/keycodes/keyboard_codes.h"
#include "webkit/glue/window_open_disposition.h"
class AppModalDialog;
@@ -257,7 +257,7 @@
// out. This uses ui_controls::SendKeyPress, see it for details. Returns true
// if the event was successfully sent and received.
bool SendKeyPressSync(const Browser* browser,
- app::KeyboardCode key,
+ ui::KeyboardCode key,
bool control,
bool shift,
bool alt,
@@ -268,7 +268,7 @@
// ui_controls::SendKeyPress, see it for details. Returns true if the event was
// successfully sent and both the event and notification were received.
bool SendKeyPressAndWait(const Browser* browser,
- app::KeyboardCode key,
+ ui::KeyboardCode key,
bool control,
bool shift,
bool alt,
@@ -474,7 +474,7 @@
template <class U>
bool SendKeyPressAndWaitWithDetails(
const Browser* browser,
- app::KeyboardCode key,
+ ui::KeyboardCode key,
bool control,
bool shift,
bool alt,
@@ -486,7 +486,7 @@
template <class U>
bool SendKeyPressAndWaitWithDetails(
const Browser* browser,
- app::KeyboardCode key,
+ ui::KeyboardCode key,
bool control,
bool shift,
bool alt,
« no previous file with comments | « chrome/test/render_view_test.cc ('k') | chrome/test/ui_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698