summaryrefslogtreecommitdiffstats
path: root/chrome/test
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-25 21:28:21 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-25 21:28:21 +0000
commitd5c7934b36545f324df7d2f47527c41653b26771 (patch)
treef4138557185bba59a73510d7c585807337f47cf2 /chrome/test
parentd1402b27dcac716aa511f05ef68da31a5c235b63 (diff)
downloadchromium_src-d5c7934b36545f324df7d2f47527c41653b26771.zip
chromium_src-d5c7934b36545f324df7d2f47527c41653b26771.tar.gz
chromium_src-d5c7934b36545f324df7d2f47527c41653b26771.tar.bz2
Enables the new wrench menu by default on windows.
BUG=45734 TEST=make sure the new wrench menu works! Make sure and exer Review URL: http://codereview.chromium.org/2845022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50893 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r--chrome/test/interactive_ui/keyboard_access_uitest.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/test/interactive_ui/keyboard_access_uitest.cc b/chrome/test/interactive_ui/keyboard_access_uitest.cc
index bb8756a..be221f6 100644
--- a/chrome/test/interactive_ui/keyboard_access_uitest.cc
+++ b/chrome/test/interactive_ui/keyboard_access_uitest.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "base/keyboard_codes.h"
+#include "chrome/browser/wrench_menu_model.h"
#include "chrome/test/automation/browser_proxy.h"
#include "chrome/test/automation/tab_proxy.h"
#include "chrome/test/automation/window_proxy.h"
@@ -69,8 +70,10 @@ void KeyboardAccessTest::TestMenuKeyboardAccess(bool alternate_key_sequence) {
ASSERT_TRUE(browser->StartTrackingPopupMenus());
- // Press RIGHT to focus the app menu, then RETURN or DOWN to open it.
- ASSERT_TRUE(window->SimulateOSKeyPress(base::VKEY_RIGHT, 0));
+ if (!WrenchMenuModel::IsEnabled()) {
+ // Press RIGHT to focus the app menu, then RETURN or DOWN to open it.
+ ASSERT_TRUE(window->SimulateOSKeyPress(base::VKEY_RIGHT, 0));
+ }
if (alternate_key_sequence)
ASSERT_TRUE(window->SimulateOSKeyPress(base::VKEY_DOWN, 0));
else