diff options
author | pvalchev@google.com <pvalchev@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-09 19:52:16 +0000 |
---|---|---|
committer | pvalchev@google.com <pvalchev@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-09 19:52:16 +0000 |
commit | 753efc479384c254e263fd11390846a060fa6ce0 (patch) | |
tree | 488097f0622c5d744059f3c2ada4894b683c5305 /chrome/browser/browser_keyevents_browsertest.cc | |
parent | 5e4d24d67febed160e2020f5c8f13d8073921fc4 (diff) | |
download | chromium_src-753efc479384c254e263fd11390846a060fa6ce0.zip chromium_src-753efc479384c254e263fd11390846a060fa6ce0.tar.gz chromium_src-753efc479384c254e263fd11390846a060fa6ce0.tar.bz2 |
BSD ifdefs, etc. necessary for chrome/
Review URL: http://codereview.chromium.org/656009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41067 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_keyevents_browsertest.cc')
-rw-r--r-- | chrome/browser/browser_keyevents_browsertest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/browser_keyevents_browsertest.cc b/chrome/browser/browser_keyevents_browsertest.cc index 897b264..cf23cba 100644 --- a/chrome/browser/browser_keyevents_browsertest.cc +++ b/chrome/browser/browser_keyevents_browsertest.cc @@ -526,8 +526,8 @@ IN_PROC_BROWSER_TEST_F(BrowserKeyEventsTest, AccessKeys) { // Make sure no element is focused. EXPECT_NO_FATAL_FAILURE(CheckFocusedElement(tab_index, L"")); EXPECT_NO_FATAL_FAILURE(TestKeyEvent(tab_index, kTestAlt1)); -#if defined(OS_LINUX) - // On Linux, alt-0..9 are assigned as tab selection accelerators, so they can +#if defined(TOOLKIT_GTK) + // On GTK, alt-0..9 are assigned as tab selection accelerators, so they can // not be used as accesskeys. EXPECT_NO_FATAL_FAILURE(CheckFocusedElement(tab_index, L"")); #elif defined(OS_WIN) @@ -568,8 +568,8 @@ IN_PROC_BROWSER_TEST_F(BrowserKeyEventsTest, ReservedAccelerators) { ASSERT_NO_FATAL_FAILURE(SendKey(base::VKEY_W, true, false, false)); EXPECT_EQ(1, browser()->tab_count()); -#elif defined(OS_LINUX) && !defined(TOOLKIT_VIEWS) - // Ctrl-[a-z] are not treated as reserved accelerators on Linux. +#elif defined(TOOLKIT_GTK) + // Ctrl-[a-z] are not treated as reserved accelerators on GTK. static const KeyEventTestData kTestCtrlT = { base::VKEY_T, true, false, false, false, false, false, false, 2, |