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

Unified Diff: chrome/browser/browser_main.cc

Issue 7256001: Fix a few issues with Chrome-in-Views-Desktop: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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/browser/ui/views/tab_contents/native_tab_contents_container_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_main.cc
===================================================================
--- chrome/browser/browser_main.cc (revision 90370)
+++ chrome/browser/browser_main.cc (working copy)
@@ -1381,6 +1381,8 @@
#endif
#if defined(TOOLKIT_VIEWS)
+ views::Widget::SetPureViews(
+ CommandLine::ForCurrentProcess()->HasSwitch(switches::kUsePureViews));
// Launch the views desktop shell window and register it as the default parent
// for all unparented views widgets.
if (parsed_command_line.HasSwitch(switches::kViewsDesktop)) {
@@ -1793,11 +1795,6 @@
CommandLine::ForCurrentProcess()->HasSwitch(switches::kKeepMouseCursor));
#endif
-#if defined(TOOLKIT_VIEWS)
- views::Widget::SetPureViews(
- CommandLine::ForCurrentProcess()->HasSwitch(switches::kUsePureViews));
-#endif
-
HandleTestParameters(parsed_command_line);
RecordBreakpadStatusUMA(metrics);
about_flags::RecordUMAStatistics(local_state);
« no previous file with comments | « no previous file | chrome/browser/ui/views/tab_contents/native_tab_contents_container_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698