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

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

Issue 2462423002: Condition the use of ChromeBrowserMainExtraPartsViewsLinux to !use_ozone (Closed)
Patch Set: same as patchset 6, w/ grouped includes Created 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after
883 #else 883 #else
884 NOTREACHED(); 884 NOTREACHED();
885 main_parts = new ChromeBrowserMainParts(parameters); 885 main_parts = new ChromeBrowserMainParts(parameters);
886 #endif 886 #endif
887 887
888 chrome::AddProfilesExtraParts(main_parts); 888 chrome::AddProfilesExtraParts(main_parts);
889 889
890 // Construct additional browser parts. Stages are called in the order in 890 // Construct additional browser parts. Stages are called in the order in
891 // which they are added. 891 // which they are added.
892 #if defined(TOOLKIT_VIEWS) 892 #if defined(TOOLKIT_VIEWS)
893 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) 893 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) && !defined(USE_OZONE)
894 main_parts->AddParts(new ChromeBrowserMainExtraPartsViewsLinux()); 894 main_parts->AddParts(new ChromeBrowserMainExtraPartsViewsLinux());
895 #else 895 #else
896 main_parts->AddParts(new ChromeBrowserMainExtraPartsViews()); 896 main_parts->AddParts(new ChromeBrowserMainExtraPartsViews());
897 #endif 897 #endif
898 #endif 898 #endif
899 899
900 // TODO(oshima): Athena on chrome currently requires USE_ASH to build. 900 // TODO(oshima): Athena on chrome currently requires USE_ASH to build.
901 // We should reduce the dependency as much as possible. 901 // We should reduce the dependency as much as possible.
902 #if defined(USE_ASH) 902 #if defined(USE_ASH)
903 main_parts->AddParts(new ChromeBrowserMainExtraPartsAsh()); 903 main_parts->AddParts(new ChromeBrowserMainExtraPartsAsh());
(...skipping 2325 matching lines...) Expand 10 before | Expand all | Expand 10 after
3229 kWebRtcDevSwitchNames, 3229 kWebRtcDevSwitchNames,
3230 arraysize(kWebRtcDevSwitchNames)); 3230 arraysize(kWebRtcDevSwitchNames));
3231 } 3231 }
3232 } 3232 }
3233 #endif // defined(ENABLE_WEBRTC) 3233 #endif // defined(ENABLE_WEBRTC)
3234 3234
3235 std::unique_ptr<content::MemoryCoordinatorDelegate> 3235 std::unique_ptr<content::MemoryCoordinatorDelegate>
3236 ChromeContentBrowserClient::GetMemoryCoordinatorDelegate() { 3236 ChromeContentBrowserClient::GetMemoryCoordinatorDelegate() {
3237 return memory::ChromeMemoryCoordinatorDelegate::Create(); 3237 return memory::ChromeMemoryCoordinatorDelegate::Create();
3238 } 3238 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698