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

Side by Side Diff: content/shell/app/shell_main_delegate.cc

Issue 131443007: aura: Remove old GL paths from RenderWidgetHostViewAura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removecode: ackpreviousframe Created 6 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
« no previous file with comments | « content/renderer/render_widget.cc ('k') | no next file » | 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 "content/shell/app/shell_main_delegate.h" 5 #include "content/shell/app/shell_main_delegate.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/files/file.h" 9 #include "base/files/file.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 command_line.AppendSwitch(switches::kDisableThreadedCompositing); 157 command_line.AppendSwitch(switches::kDisableThreadedCompositing);
158 command_line.AppendSwitch(cc::switches::kDisableThreadedAnimation); 158 command_line.AppendSwitch(cc::switches::kDisableThreadedAnimation);
159 } 159 }
160 160
161 command_line.AppendSwitch(switches::kEnableInbandTextTracks); 161 command_line.AppendSwitch(switches::kEnableInbandTextTracks);
162 command_line.AppendSwitch(switches::kMuteAudio); 162 command_line.AppendSwitch(switches::kMuteAudio);
163 163
164 #if defined(USE_AURA) || defined(OS_ANDROID) 164 #if defined(USE_AURA) || defined(OS_ANDROID)
165 // TODO: crbug.com/311404 Make layout tests work w/ delegated renderer. 165 // TODO: crbug.com/311404 Make layout tests work w/ delegated renderer.
166 command_line.AppendSwitch(switches::kDisableDelegatedRenderer); 166 command_line.AppendSwitch(switches::kDisableDelegatedRenderer);
167 command_line.AppendSwitch(cc::switches::kCompositeToMailbox);
167 #endif 168 #endif
168 169
169 command_line.AppendSwitch(switches::kEnableFileCookies); 170 command_line.AppendSwitch(switches::kEnableFileCookies);
170 171
171 // Unless/until WebM files are added to the media layout tests, we need to 172 // Unless/until WebM files are added to the media layout tests, we need to
172 // avoid removing MP4/H264/AAC so that layout tests can run on Android. 173 // avoid removing MP4/H264/AAC so that layout tests can run on Android.
173 #if !defined(OS_ANDROID) 174 #if !defined(OS_ANDROID)
174 net::RemoveProprietaryMediaTypesAndCodecsForTests(); 175 net::RemoveProprietaryMediaTypesAndCodecsForTests();
175 #endif 176 #endif
176 177
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 browser_client_.reset(new ShellContentBrowserClient); 286 browser_client_.reset(new ShellContentBrowserClient);
286 return browser_client_.get(); 287 return browser_client_.get();
287 } 288 }
288 289
289 ContentRendererClient* ShellMainDelegate::CreateContentRendererClient() { 290 ContentRendererClient* ShellMainDelegate::CreateContentRendererClient() {
290 renderer_client_.reset(new ShellContentRendererClient); 291 renderer_client_.reset(new ShellContentRendererClient);
291 return renderer_client_.get(); 292 return renderer_client_.get();
292 } 293 }
293 294
294 } // namespace content 295 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_widget.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698