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

Unified Diff: chrome/browser/extensions/api/tabs/tabs_api.cc

Issue 1138383008: Support the full-screen state when showing a chrome window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pass the test case without condition for Windows Created 5 years, 7 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 | ui/views/win/hwnd_message_handler.cc » ('j') | ui/views/win/hwnd_message_handler.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/tabs/tabs_api.cc
diff --git a/chrome/browser/extensions/api/tabs/tabs_api.cc b/chrome/browser/extensions/api/tabs/tabs_api.cc
index 6ec55f2b4db5450a11e74c8a12daeca12b10b7c4..2224bcfd7e67913dd3840938cad7df5ba147e41e 100644
--- a/chrome/browser/extensions/api/tabs/tabs_api.cc
+++ b/chrome/browser/extensions/api/tabs/tabs_api.cc
@@ -669,8 +669,8 @@ bool WindowsCreateFunction::RunSync() {
if (create_params.initial_show_state == ui::SHOW_STATE_MINIMIZED)
new_window->window()->Minimize();
#endif
-#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_WIN)
- // On Desktop Linux and Windows, managers don't handle fullscreen state to
+#if (defined(OS_LINUX) && !defined(OS_CHROMEOS))
+ // On Desktop Linux managers don't handle fullscreen state to
// create window for now.
if (create_params.initial_show_state == ui::SHOW_STATE_FULLSCREEN)
controller->SetFullscreenMode(true, extension()->url());
« no previous file with comments | « no previous file | ui/views/win/hwnd_message_handler.cc » ('j') | ui/views/win/hwnd_message_handler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698