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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 400543002: MacViews: Fix BrowserClient for toolkit-views on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: -chrome_views_delegate Created 6 years, 5 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/aura/chrome_browser_main_extra_parts_aura.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index b0716a9223a25765c9b01a3776aa044f482cb491..0a2fd506a6f6b94f956b4cbee26a4478bfdb26f8 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -736,6 +736,10 @@ content::BrowserMainParts* ChromeContentBrowserClient::CreateBrowserMainParts(
// Construct additional browser parts. Stages are called in the order in
// which they are added.
+#if defined(USE_AURA)
+ main_parts->AddParts(new ChromeBrowserMainExtraPartsAura());
+#endif
tapted 2014/07/17 13:55:04 Moved this up because Ash does stuff like `OpenAsh
sky 2014/07/17 16:12:13 I this code would be cleaner if we keep ChromeBrow
+
#if defined(TOOLKIT_VIEWS)
main_parts->AddParts(new ChromeBrowserMainExtraPartsViews());
#endif
@@ -744,10 +748,6 @@ content::BrowserMainParts* ChromeContentBrowserClient::CreateBrowserMainParts(
main_parts->AddParts(new ChromeBrowserMainExtraPartsAsh());
#endif
-#if defined(USE_AURA)
- main_parts->AddParts(new ChromeBrowserMainExtraPartsAura());
-#endif
-
#if defined(USE_X11)
main_parts->AddParts(new ChromeBrowserMainExtraPartsX11());
#endif
« no previous file with comments | « no previous file | chrome/browser/ui/aura/chrome_browser_main_extra_parts_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698