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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 1177383005: cc: Add command line for frame production throttle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: follow 2nd Brian`s review Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 1210 matching lines...) Expand 10 before | Expand all | Expand 10 after
1221 switches::kDisablePreferCompositingToLCDText, 1221 switches::kDisablePreferCompositingToLCDText,
1222 switches::kDisableDatabases, 1222 switches::kDisableDatabases,
1223 switches::kDisableDelayAgnosticAec, 1223 switches::kDisableDelayAgnosticAec,
1224 switches::kDisableDirectNPAPIRequests, 1224 switches::kDisableDirectNPAPIRequests,
1225 switches::kDisableDisplayList2dCanvas, 1225 switches::kDisableDisplayList2dCanvas,
1226 switches::kDisableDistanceFieldText, 1226 switches::kDisableDistanceFieldText,
1227 switches::kDisableEncryptedMedia, 1227 switches::kDisableEncryptedMedia,
1228 switches::kDisableFileSystem, 1228 switches::kDisableFileSystem,
1229 switches::kDisableGpuCompositing, 1229 switches::kDisableGpuCompositing,
1230 switches::kDisableGpuVsync, 1230 switches::kDisableGpuVsync,
1231 switches::kDisableDisplayVsync,
brianderson 2015/06/26 01:46:01 nit: To be consistent with the rest of the code us
1231 switches::kDisableLowResTiling, 1232 switches::kDisableLowResTiling,
1232 switches::kDisableHistogramCustomizer, 1233 switches::kDisableHistogramCustomizer,
1233 switches::kDisableIconNtp, 1234 switches::kDisableIconNtp,
1234 switches::kDisableLCDText, 1235 switches::kDisableLCDText,
1235 switches::kDisableLocalStorage, 1236 switches::kDisableLocalStorage,
1236 switches::kDisableLogging, 1237 switches::kDisableLogging,
1237 switches::kDisableMediaSource, 1238 switches::kDisableMediaSource,
1238 switches::kDisableMojoChannel, 1239 switches::kDisableMojoChannel,
1239 switches::kDisableNewVideoRenderer, 1240 switches::kDisableNewVideoRenderer,
1240 switches::kDisableNotifications, 1241 switches::kDisableNotifications,
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
1350 cc::switches::kShowFPSCounter, 1351 cc::switches::kShowFPSCounter,
1351 cc::switches::kShowLayerAnimationBounds, 1352 cc::switches::kShowLayerAnimationBounds,
1352 cc::switches::kShowPropertyChangedRects, 1353 cc::switches::kShowPropertyChangedRects,
1353 cc::switches::kShowReplicaScreenSpaceRects, 1354 cc::switches::kShowReplicaScreenSpaceRects,
1354 cc::switches::kShowScreenSpaceRects, 1355 cc::switches::kShowScreenSpaceRects,
1355 cc::switches::kShowSurfaceDamageRects, 1356 cc::switches::kShowSurfaceDamageRects,
1356 cc::switches::kSlowDownRasterScaleFactor, 1357 cc::switches::kSlowDownRasterScaleFactor,
1357 cc::switches::kStrictLayerPropertyChangeChecking, 1358 cc::switches::kStrictLayerPropertyChangeChecking,
1358 cc::switches::kTopControlsHideThreshold, 1359 cc::switches::kTopControlsHideThreshold,
1359 cc::switches::kTopControlsShowThreshold, 1360 cc::switches::kTopControlsShowThreshold,
1361 cc::switches::kDisableBeginFrameInterval,
1360 1362
1361 scheduler::switches::kDisableBlinkScheduler, 1363 scheduler::switches::kDisableBlinkScheduler,
1362 1364
1363 #if defined(ENABLE_PLUGINS) 1365 #if defined(ENABLE_PLUGINS)
1364 switches::kEnablePepperTesting, 1366 switches::kEnablePepperTesting,
1365 #endif 1367 #endif
1366 #if defined(ENABLE_WEBRTC) 1368 #if defined(ENABLE_WEBRTC)
1367 switches::kDisableWebRtcHWDecoding, 1369 switches::kDisableWebRtcHWDecoding,
1368 switches::kDisableWebRtcHWEncoding, 1370 switches::kDisableWebRtcHWEncoding,
1369 switches::kEnableWebRtcDtls12, 1371 switches::kEnableWebRtcDtls12,
(...skipping 1122 matching lines...) Expand 10 before | Expand all | Expand 10 after
2492 void RenderProcessHostImpl::GetAudioOutputControllers( 2494 void RenderProcessHostImpl::GetAudioOutputControllers(
2493 const GetAudioOutputControllersCallback& callback) const { 2495 const GetAudioOutputControllersCallback& callback) const {
2494 audio_renderer_host()->GetOutputControllers(callback); 2496 audio_renderer_host()->GetOutputControllers(callback);
2495 } 2497 }
2496 2498
2497 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { 2499 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() {
2498 return bluetooth_dispatcher_host_.get(); 2500 return bluetooth_dispatcher_host_.get();
2499 } 2501 }
2500 2502
2501 } // namespace content 2503 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698