From 3d4bd23ffafc9e4cdb423e0f3e524976969097e3 Mon Sep 17 00:00:00 2001 From: "sgk@google.com" Date: Tue, 6 Oct 2009 03:58:38 +0000 Subject: 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 --- chrome/browser/app_controller_mac_unittest.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/browser/app_controller_mac_unittest.mm') 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]); } } -- cgit v1.1