Commit 9542316a authored by oshima@google.com's avatar oshima@google.com

Disable StartMinimized test for aura

Aura doesn't support minimized window.

BUG=104571
TEST=none

Review URL: http://codereview.chromium.org/8585014

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110591 0039d316-1c4b-4281-b951-d872f2087c98
parent ea0340d1
...@@ -1110,9 +1110,15 @@ IN_PROC_BROWSER_TEST_F(BrowserTest, StartMaximized) { ...@@ -1110,9 +1110,15 @@ IN_PROC_BROWSER_TEST_F(BrowserTest, StartMaximized) {
} }
} }
// Aura doesn't support minimized window. crbug.com/104571.
#if defined(USE_AURA)
#define MAYBE_StartMinimized DISABLED_StartMinimized
#else
#define MAYBE_StartMinimized StartMinimized
#endif
// Makes sure the browser doesn't crash when // Makes sure the browser doesn't crash when
// set_show_state(ui::SHOW_STATE_MINIMIZED) has been invoked. // set_show_state(ui::SHOW_STATE_MINIMIZED) has been invoked.
IN_PROC_BROWSER_TEST_F(BrowserTest, StartMinimized) { IN_PROC_BROWSER_TEST_F(BrowserTest, MAYBE_StartMinimized) {
// Can't test TYPE_PANEL as they are currently created differently (and can't // Can't test TYPE_PANEL as they are currently created differently (and can't
// end up minimized). // end up minimized).
Browser::Type types[] = { Browser::TYPE_TABBED, Browser::TYPE_POPUP }; Browser::Type types[] = { Browser::TYPE_TABBED, Browser::TYPE_POPUP };
......
...@@ -440,6 +440,7 @@ void NativeWidgetAura::Maximize() { ...@@ -440,6 +440,7 @@ void NativeWidgetAura::Maximize() {
} }
void NativeWidgetAura::Minimize() { void NativeWidgetAura::Minimize() {
// No minimized window for aura. crbug.com/104571.
NOTREACHED(); NOTREACHED();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment