summaryrefslogtreecommitdiffstats
path: root/chrome/browser/app_controller_mac_unittest.mm
diff options
context:
space:
mode:
authorsgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-06 03:58:38 +0000
committersgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-06 03:58:38 +0000
commit3d4bd23ffafc9e4cdb423e0f3e524976969097e3 (patch)
tree03c134ca1c5e555ec2b7c3cd4f55b570d9b12a88 /chrome/browser/app_controller_mac_unittest.mm
parenta1c2bd30f9a04a3b1d635c4581cec51c1ed4d7cb (diff)
downloadchromium_src-3d4bd23ffafc9e4cdb423e0f3e524976969097e3.zip
chromium_src-3d4bd23ffafc9e4cdb423e0f3e524976969097e3.tar.gz
chromium_src-3d4bd23ffafc9e4cdb423e0f3e524976969097e3.tar.bz2
Explicitly activeIgnoringOtherApps from IDC_NEW{,_INCOGNITO}_WINDOW
in app_controller_mac.mm, under the assumption we're either already the foreground app or should become the foreground mac (when created from the dock menu). BUG=22595 TEST="New Window" or "New Incognito Window" from dock menu with other app in foreground Review URL: http://codereview.chromium.org/256054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28091 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/app_controller_mac_unittest.mm')
-rw-r--r--chrome/browser/app_controller_mac_unittest.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/app_controller_mac_unittest.mm b/chrome/browser/app_controller_mac_unittest.mm
index fdc444a..39cc77e 100644
--- a/chrome/browser/app_controller_mac_unittest.mm
+++ b/chrome/browser/app_controller_mac_unittest.mm
@@ -22,6 +22,6 @@ TEST_F(AppControllerTest, DockMenu) {
EXPECT_NE(-1, [menu indexOfItemWithTag:IDC_NEW_INCOGNITO_WINDOW]);
for (item in [menu itemArray]) {
EXPECT_EQ(ac.get(), [item target]);
- EXPECT_EQ(@selector(commandDispatch:), [item action]);
+ EXPECT_EQ(@selector(newWindowFromDock:), [item action]);
}
}