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

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 1343 matching lines...) Expand 10 before | Expand all | Expand 10 after
1354 cc::switches::kShowPropertyChangedRects, 1354 cc::switches::kShowPropertyChangedRects,
1355 cc::switches::kShowReplicaScreenSpaceRects, 1355 cc::switches::kShowReplicaScreenSpaceRects,
1356 cc::switches::kShowScreenSpaceRects, 1356 cc::switches::kShowScreenSpaceRects,
1357 cc::switches::kShowSurfaceDamageRects, 1357 cc::switches::kShowSurfaceDamageRects,
1358 cc::switches::kSlowDownRasterScaleFactor, 1358 cc::switches::kSlowDownRasterScaleFactor,
1359 cc::switches::kStrictLayerPropertyChangeChecking, 1359 cc::switches::kStrictLayerPropertyChangeChecking,
1360 cc::switches::kTopControlsHideThreshold, 1360 cc::switches::kTopControlsHideThreshold,
1361 cc::switches::kTopControlsShowThreshold, 1361 cc::switches::kTopControlsShowThreshold,
1362 #if defined(ENABLE_PLUGINS) 1362 #if defined(ENABLE_PLUGINS)
1363 switches::kEnablePepperTesting, 1363 switches::kEnablePepperTesting,
1364 switches::kEnablePluginPowerSaver,
1365 #endif 1364 #endif
1366 #if defined(ENABLE_WEBRTC) 1365 #if defined(ENABLE_WEBRTC)
1367 switches::kDisableWebRtcHWDecoding, 1366 switches::kDisableWebRtcHWDecoding,
1368 switches::kDisableWebRtcHWEncoding, 1367 switches::kDisableWebRtcHWEncoding,
1369 switches::kEnableWebRtcHWH264Encoding, 1368 switches::kEnableWebRtcHWH264Encoding,
1370 switches::kEnableWebRtcStunOrigin, 1369 switches::kEnableWebRtcStunOrigin,
1371 switches::kWebRtcMaxCaptureFramerate, 1370 switches::kWebRtcMaxCaptureFramerate,
1372 #endif 1371 #endif
1373 switches::kEnableLowEndDeviceMode, 1372 switches::kEnableLowEndDeviceMode,
1374 switches::kDisableLowEndDeviceMode, 1373 switches::kDisableLowEndDeviceMode,
(...skipping 1115 matching lines...) Expand 10 before | Expand all | Expand 10 after
2490 if (worker_ref_count_ == 0) 2489 if (worker_ref_count_ == 0)
2491 Cleanup(); 2490 Cleanup();
2492 } 2491 }
2493 2492
2494 void RenderProcessHostImpl::GetAudioOutputControllers( 2493 void RenderProcessHostImpl::GetAudioOutputControllers(
2495 const GetAudioOutputControllersCallback& callback) const { 2494 const GetAudioOutputControllersCallback& callback) const {
2496 audio_renderer_host()->GetOutputControllers(callback); 2495 audio_renderer_host()->GetOutputControllers(callback);
2497 } 2496 }
2498 2497
2499 } // namespace content 2498 } // namespace content
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698