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

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

Issue 1033103002: Plugin Power Saver: Overhaul plugin-power-saver flags. Show in UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 (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 // 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 1344 matching lines...) Expand 10 before | Expand all | Expand 10 after
1355 cc::switches::kShowPropertyChangedRects, 1355 cc::switches::kShowPropertyChangedRects,
1356 cc::switches::kShowReplicaScreenSpaceRects, 1356 cc::switches::kShowReplicaScreenSpaceRects,
1357 cc::switches::kShowScreenSpaceRects, 1357 cc::switches::kShowScreenSpaceRects,
1358 cc::switches::kShowSurfaceDamageRects, 1358 cc::switches::kShowSurfaceDamageRects,
1359 cc::switches::kSlowDownRasterScaleFactor, 1359 cc::switches::kSlowDownRasterScaleFactor,
1360 cc::switches::kStrictLayerPropertyChangeChecking, 1360 cc::switches::kStrictLayerPropertyChangeChecking,
1361 cc::switches::kTopControlsHideThreshold, 1361 cc::switches::kTopControlsHideThreshold,
1362 cc::switches::kTopControlsShowThreshold, 1362 cc::switches::kTopControlsShowThreshold,
1363 #if defined(ENABLE_PLUGINS) 1363 #if defined(ENABLE_PLUGINS)
1364 switches::kEnablePepperTesting, 1364 switches::kEnablePepperTesting,
1365 switches::kEnablePluginPowerSaver,
1366 #endif 1365 #endif
1367 #if defined(ENABLE_WEBRTC) 1366 #if defined(ENABLE_WEBRTC)
1368 switches::kDisableWebRtcHWDecoding, 1367 switches::kDisableWebRtcHWDecoding,
1369 switches::kDisableWebRtcHWEncoding, 1368 switches::kDisableWebRtcHWEncoding,
1370 switches::kEnableWebRtcHWH264Encoding, 1369 switches::kEnableWebRtcHWH264Encoding,
1371 switches::kEnableWebRtcStunOrigin, 1370 switches::kEnableWebRtcStunOrigin,
1372 switches::kWebRtcMaxCaptureFramerate, 1371 switches::kWebRtcMaxCaptureFramerate,
1373 #endif 1372 #endif
1374 switches::kEnableLowEndDeviceMode, 1373 switches::kEnableLowEndDeviceMode,
1375 switches::kDisableLowEndDeviceMode, 1374 switches::kDisableLowEndDeviceMode,
(...skipping 1115 matching lines...) Expand 10 before | Expand all | Expand 10 after
2491 if (worker_ref_count_ == 0) 2490 if (worker_ref_count_ == 0)
2492 Cleanup(); 2491 Cleanup();
2493 } 2492 }
2494 2493
2495 void RenderProcessHostImpl::GetAudioOutputControllers( 2494 void RenderProcessHostImpl::GetAudioOutputControllers(
2496 const GetAudioOutputControllersCallback& callback) const { 2495 const GetAudioOutputControllersCallback& callback) const {
2497 audio_renderer_host()->GetOutputControllers(callback); 2496 audio_renderer_host()->GetOutputControllers(callback);
2498 } 2497 }
2499 2498
2500 } // namespace content 2499 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698