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

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

Issue 1070423003: Set display mode for extensions::AppWindow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@display_mode
Patch Set: Added a reference to bug. Created 5 years, 8 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
« no previous file with comments | « no previous file | chrome/test/data/extensions/api_test/fullscreen/mq_display_mode/background.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_fullscreen_apitest.cc
diff --git a/chrome/browser/extensions/extension_fullscreen_apitest.cc b/chrome/browser/extensions/extension_fullscreen_apitest.cc
index f05b2ef7393a5e3860327df2c1d7484ab7d56c8f..9abe3c333dec4866c7f96458c07e69b287489ebe 100644
--- a/chrome/browser/extensions/extension_fullscreen_apitest.cc
+++ b/chrome/browser/extensions/extension_fullscreen_apitest.cc
@@ -37,3 +37,15 @@ IN_PROC_BROWSER_TEST_F(ExtensionApiTest,
ASSERT_TRUE(RunExtensionTest("window_update/sizing")) << message_;
ASSERT_FALSE(browser()->window()->IsFullscreen());
}
+
+#if defined(OS_MACOSX)
+// Fails on MAC: http://crbug.com/480370
+#define MAYBE_DisplayModeWindowIsInFullscreen DISABLED_DisplayModeWindowIsInFullscreen
+#else
+#define MAYBE_DisplayModeWindowIsInFullscreen DisplayModeWindowIsInFullscreen
+#endif // defined(OS_MACOSX)
+
+IN_PROC_BROWSER_TEST_F(ExtensionApiTest,
+ MAYBE_DisplayModeWindowIsInFullscreen) {
+ ASSERT_TRUE(RunPlatformAppTest("fullscreen/mq_display_mode")) << message_;
+}
« no previous file with comments | « no previous file | chrome/test/data/extensions/api_test/fullscreen/mq_display_mode/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698