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

Side by Side Diff: chrome/browser/chrome_content_browser_client.cc

Issue 9701002: Aura/ash split: Split the extra parts into ash and aura parts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to trunk to try again Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chrome_content_browser_client.h" 5 #include "chrome/browser/chrome_content_browser_client.h"
6 6
7 #include <set> 7 #include <set>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 112
113 #if defined(TOOLKIT_VIEWS) 113 #if defined(TOOLKIT_VIEWS)
114 #include "chrome/browser/chrome_browser_main_extra_parts_views.h" 114 #include "chrome/browser/chrome_browser_main_extra_parts_views.h"
115 #include "chrome/browser/ui/views/tab_contents/tab_contents_view_views.h" 115 #include "chrome/browser/ui/views/tab_contents/tab_contents_view_views.h"
116 #endif 116 #endif
117 117
118 #if defined(USE_AURA) 118 #if defined(USE_AURA)
119 #include "chrome/browser/chrome_browser_main_extra_parts_aura.h" 119 #include "chrome/browser/chrome_browser_main_extra_parts_aura.h"
120 #endif 120 #endif
121 121
122 #if defined(USE_ASH)
123 #include "chrome/browser/chrome_browser_main_extra_parts_ash.h"
124 #endif
125
122 #if defined(OS_LINUX) || defined(OS_OPENBSD) 126 #if defined(OS_LINUX) || defined(OS_OPENBSD)
123 #include "base/linux_util.h" 127 #include "base/linux_util.h"
124 #include "chrome/browser/crash_handler_host_linux.h" 128 #include "chrome/browser/crash_handler_host_linux.h"
125 #endif 129 #endif
126 130
127 #if defined(TOOLKIT_GTK) 131 #if defined(TOOLKIT_GTK)
128 #include "chrome/browser/tab_contents/chrome_web_contents_view_delegate_gtk.h" 132 #include "chrome/browser/tab_contents/chrome_web_contents_view_delegate_gtk.h"
129 #endif 133 #endif
130 #if defined(USE_NSS) 134 #if defined(USE_NSS)
131 #include "chrome/browser/ui/crypto_module_password_dialog.h" 135 #include "chrome/browser/ui/crypto_module_password_dialog.h"
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 #endif 336 #endif
333 337
334 #if defined(TOOLKIT_VIEWS) 338 #if defined(TOOLKIT_VIEWS)
335 main_parts->AddParts(new ChromeBrowserMainExtraPartsViews()); 339 main_parts->AddParts(new ChromeBrowserMainExtraPartsViews());
336 #endif 340 #endif
337 341
338 #if defined(USE_AURA) 342 #if defined(USE_AURA)
339 main_parts->AddParts(new ChromeBrowserMainExtraPartsAura()); 343 main_parts->AddParts(new ChromeBrowserMainExtraPartsAura());
340 #endif 344 #endif
341 345
346 #if defined(USE_ASH)
347 main_parts->AddParts(new ChromeBrowserMainExtraPartsAsh());
348 #endif
349
342 return main_parts; 350 return main_parts;
343 } 351 }
344 352
345 content::WebContentsView* 353 content::WebContentsView*
346 ChromeContentBrowserClient::OverrideCreateWebContentsView( 354 ChromeContentBrowserClient::OverrideCreateWebContentsView(
347 WebContents* web_contents) { 355 WebContents* web_contents) {
348 #if defined(TOOLKIT_VIEWS) 356 #if defined(TOOLKIT_VIEWS)
349 return new TabContentsViewViews(web_contents); 357 return new TabContentsViewViews(web_contents);
350 #endif 358 #endif
351 return NULL; 359 return NULL;
(...skipping 1256 matching lines...) Expand 10 before | Expand all | Expand 10 after
1608 #if defined(USE_NSS) 1616 #if defined(USE_NSS)
1609 crypto::CryptoModuleBlockingPasswordDelegate* 1617 crypto::CryptoModuleBlockingPasswordDelegate*
1610 ChromeContentBrowserClient::GetCryptoPasswordDelegate( 1618 ChromeContentBrowserClient::GetCryptoPasswordDelegate(
1611 const GURL& url) { 1619 const GURL& url) {
1612 return browser::NewCryptoModuleBlockingDialogDelegate( 1620 return browser::NewCryptoModuleBlockingDialogDelegate(
1613 browser::kCryptoModulePasswordKeygen, url.host()); 1621 browser::kCryptoModulePasswordKeygen, url.host());
1614 } 1622 }
1615 #endif 1623 #endif
1616 1624
1617 } // namespace chrome 1625 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main_extra_parts_aura.cc ('k') | chrome/browser/extensions/extension_tabs_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698