Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Unified Diff: chrome/browser/extensions/window_open_apitest.cc

Issue 10908153: [Panel refactor] Deprecate old panels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix views compile, no need to delete extra mac menu items cuz not using browser command updater any… Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/window_open_apitest.cc
diff --git a/chrome/browser/extensions/window_open_apitest.cc b/chrome/browser/extensions/window_open_apitest.cc
index a84cbe98b77b90067051d01c49ec219c9041dfd6..f25e03c033ea024f3848f9470bfd6809e42ae63a 100644
--- a/chrome/browser/extensions/window_open_apitest.cc
+++ b/chrome/browser/extensions/window_open_apitest.cc
@@ -208,8 +208,6 @@ class WindowOpenPanelTest : public ExtensionApiTest {
#define MAYBE_WindowOpenPanel WindowOpenPanel
#endif
IN_PROC_BROWSER_TEST_F(WindowOpenPanelTest, MAYBE_WindowOpenPanel) {
- if (!PanelManager::UseBrowserlessPanels())
- return;
ASSERT_TRUE(RunExtensionTest("window_open/panel")) << message_;
}
@@ -221,24 +219,18 @@ IN_PROC_BROWSER_TEST_F(WindowOpenPanelTest, MAYBE_WindowOpenPanel) {
#define MAYBE_WindowOpenPanelDetached WindowOpenPanelDetached
#endif
IN_PROC_BROWSER_TEST_F(WindowOpenPanelTest, MAYBE_WindowOpenPanelDetached) {
- if (!PanelManager::UseBrowserlessPanels())
- return;
ASSERT_TRUE(RunExtensionTest("window_open/panel_detached")) << message_;
}
#if defined(OS_MACOSX) || defined(OS_WIN)
// Focus test fails if there is no window manager on Linux.
IN_PROC_BROWSER_TEST_F(WindowOpenPanelTest, WindowOpenFocus) {
- if (!PanelManager::UseBrowserlessPanels())
- return;
ASSERT_TRUE(RunExtensionTest("window_open/focus")) << message_;
}
#endif
IN_PROC_BROWSER_TEST_F(WindowOpenPanelTest,
CloseNonExtensionPanelsOnUninstall) {
- if (!PanelManager::UseBrowserlessPanels())
- return;
#if defined(USE_ASH)
// On Ash, new panel windows open as popup windows instead.
int num_popups = 4;
@@ -292,9 +284,6 @@ IN_PROC_BROWSER_TEST_F(WindowOpenPanelTest,
#define MAYBE_WindowOpenFromPanel WindowOpenFromPanel
#endif
IN_PROC_BROWSER_TEST_F(WindowOpenPanelTest, MAYBE_WindowOpenFromPanel) {
- if (!PanelManager::UseBrowserlessPanels())
- return;
-
ASSERT_TRUE(StartTestServer());
// Load the extension that will open a panel which then calls window.open.

Powered by Google App Engine
This is Rietveld 408576698