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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 8374005: aura: Try to make Linux host resize code more reliable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update a few other gfx::Rect calls Created 9 years, 2 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/aura/desktop.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index 46c9926416695b1ab9e563177179c345de2d0c0e..0696c3bc840bcd3b7259d63b23de6092806060c3 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -143,6 +143,7 @@
#include "chrome/browser/chromeos/login/ownership_service.h"
#include "chrome/browser/chromeos/login/screen_locker.h"
#include "chrome/browser/chromeos/login/user_manager.h"
+#include "chrome/browser/chromeos/system/runtime_environment.h"
#include "chrome/browser/chromeos/system_key_event_listener.h"
#include "chrome/browser/chromeos/user_cros_settings_provider.h"
#include "chrome/browser/chromeos/xinput_hierarchy_changed_event_listener.h"
@@ -1347,6 +1348,11 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunInternal() {
CommandLine::ForCurrentProcess()->AppendSwitch(switches::kViewsDesktop);
#endif
+#if defined(USE_AURA) && defined(OS_CHROMEOS)
+ if (chromeos::system::runtime_environment::IsRunningOnChromeOS())
+ aura::Desktop::set_use_fullscreen_host_window(true);
+#endif
+
// Always add the --block-reading-third-party-cookies flag, if not already
// set. We'll leave this on for a bit to determine if we Break The Web for
// Canary users.
« no previous file with comments | « no previous file | ui/aura/desktop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698