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

Unified Diff: chrome/browser/defaults.cc

Issue 8565015: Avoid trying to layout the desktop when its size is set to 0x0 when minimized on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' 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
« 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/defaults.cc
===================================================================
--- chrome/browser/defaults.cc (revision 110097)
+++ chrome/browser/defaults.cc (working copy)
@@ -6,6 +6,12 @@
namespace browser_defaults {
+#if defined(USE_AURA) || defined(OS_CHROMEOS)
+const bool kOSSupportsOtherBrowsers = false;
+#else
+const bool kOSSupportsOtherBrowsers = true;
+#endif
+
#if defined(OS_CHROMEOS)
// Make the regular omnibox text two points larger than the nine-point font
@@ -21,7 +27,6 @@
const bool kRestorePopups = false;
const bool kShowImportOnBookmarkBar = false;
const bool kShowExitMenuItem = true;
-const bool kOSSupportsOtherBrowsers = false;
const bool kDownloadPageHasShowInFolder = true;
const bool kSizeTabButtonToTopOfTabStrip = true;
const bool kBootstrapSyncAuthentication = true;
@@ -60,7 +65,6 @@
#else
const bool kShowExitMenuItem = true;
#endif
-const bool kOSSupportsOtherBrowsers = true;
const bool kSizeTabButtonToTopOfTabStrip = false;
const bool kBootstrapSyncAuthentication = false;
const bool kShowOtherBrowsersInAboutMemory = true;
« 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