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

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

Issue 8586045: Add extension API to change window show state using chrome.windows.update(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make test non-linux, generated crx docs Created 9 years, 1 month 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/extension_tabs_apitest.cc
diff --git a/chrome/browser/extensions/extension_tabs_apitest.cc b/chrome/browser/extensions/extension_tabs_apitest.cc
index c0e4f0e984e7fb03c57b2d9544243b4e031ee29e..bff8fb84b45e15ce8277a807d9ff4bb4bc11aa7c 100644
--- a/chrome/browser/extensions/extension_tabs_apitest.cc
+++ b/chrome/browser/extensions/extension_tabs_apitest.cc
@@ -26,9 +26,12 @@
DISABLED_FocusWindowDoesNotExitFullscreen
#define MAYBE_UpdateWindowSizeExitsFullscreen \
DISABLED_UpdateWindowSizeExitsFullscreen
+#define MAYBE_UpdateWindowShowState \
+ DISABLED_UpdateWindowShowState
asargent_no_longer_on_chrome 2011/11/18 18:52:24 :( It's a bummer to add a new test that starts ou
jennb 2011/11/19 01:44:33 I tried using the extension_function_test_utils.h
#else
#define MAYBE_FocusWindowDoesNotExitFullscreen FocusWindowDoesNotExitFullscreen
#define MAYBE_UpdateWindowSizeExitsFullscreen UpdateWindowSizeExitsFullscreen
+#define MAYBE_UpdateWindowShowState UpdateWindowShowState
#endif
// In the touch build, this fails reliably. http://crbug.com/85191
@@ -205,6 +208,10 @@ IN_PROC_BROWSER_TEST_F(ExtensionApiTest, FocusWindowDoesNotUnmaximize) {
}
#endif // OS_WIN
+IN_PROC_BROWSER_TEST_F(ExtensionApiTest, MAYBE_UpdateWindowShowState) {
+ ASSERT_TRUE(RunExtensionTest("window_update/show_state")) << message_;
+}
+
IN_PROC_BROWSER_TEST_F(ExtensionApiTest, IncognitoDisabledByPref) {
IncognitoModePrefs::SetAvailability(browser()->profile()->GetPrefs(),
IncognitoModePrefs::DISABLED);

Powered by Google App Engine
This is Rietveld 408576698