summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/window_open_apitest.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-04 21:16:04 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-04 21:16:04 +0000
commit4a5b1725e1035c28e82acb93af268d61da0d16f4 (patch)
tree54a3f604b895e52e998fcc0af0c262d50f509b01 /chrome/browser/extensions/window_open_apitest.cc
parent41a2c81684ef760c0db2bdeace23a75d237757bb (diff)
downloadchromium_src-4a5b1725e1035c28e82acb93af268d61da0d16f4.zip
chromium_src-4a5b1725e1035c28e82acb93af268d61da0d16f4.tar.gz
chromium_src-4a5b1725e1035c28e82acb93af268d61da0d16f4.tar.bz2
Remove code that makes Chrome on ChromeOS push popups to new tabs. Now we have multiple windows, Chrome should just match Chrome on Windows.
http://crbug.com/124679 TEST=none Review URL: https://chromiumcodereview.appspot.com/10174011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135437 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/window_open_apitest.cc')
-rw-r--r--chrome/browser/extensions/window_open_apitest.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/extensions/window_open_apitest.cc b/chrome/browser/extensions/window_open_apitest.cc
index e662447..a0000f7 100644
--- a/chrome/browser/extensions/window_open_apitest.cc
+++ b/chrome/browser/extensions/window_open_apitest.cc
@@ -103,15 +103,9 @@ IN_PROC_BROWSER_TEST_F(ExtensionApiTest, WindowOpenPopupLarge) {
ASSERT_TRUE(LoadExtension(
test_data_dir_.AppendASCII("window_open").AppendASCII("popup_large")));
-#if defined(OS_CHROMEOS)
- // On ChromeOS this should open a new tab.
- const int num_tabs = 1;
- const int num_popups = 0;
-#else
// On other systems this should open a new popup window.
const int num_tabs = 0;
const int num_popups = 1;
-#endif
WaitForTabsAndPopups(browser(), num_tabs, num_popups, 0);
}