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

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

Issue 617073002: Plugin Power Saver: Add flag to experiment behind. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 1127 matching lines...) Expand 10 before | Expand all | Expand 10 after
1138 switches::kEnableLCDText, 1138 switches::kEnableLCDText,
1139 switches::kEnableLayerSquashing, 1139 switches::kEnableLayerSquashing,
1140 switches::kEnableLogging, 1140 switches::kEnableLogging,
1141 switches::kEnableMemoryBenchmarking, 1141 switches::kEnableMemoryBenchmarking,
1142 switches::kEnableNetworkInformation, 1142 switches::kEnableNetworkInformation,
1143 switches::kEnableOneCopy, 1143 switches::kEnableOneCopy,
1144 switches::kEnableOverlayFullscreenVideo, 1144 switches::kEnableOverlayFullscreenVideo,
1145 switches::kEnableOverlayScrollbar, 1145 switches::kEnableOverlayScrollbar,
1146 switches::kEnableOverscrollNotifications, 1146 switches::kEnableOverscrollNotifications,
1147 switches::kEnablePinch, 1147 switches::kEnablePinch,
1148 switches::kEnablePluginPowerSaver,
1148 switches::kEnablePreciseMemoryInfo, 1149 switches::kEnablePreciseMemoryInfo,
1149 switches::kEnableRendererMojoChannel, 1150 switches::kEnableRendererMojoChannel,
1150 switches::kEnableSeccompFilterSandbox, 1151 switches::kEnableSeccompFilterSandbox,
1151 switches::kEnableSkiaBenchmarking, 1152 switches::kEnableSkiaBenchmarking,
1152 switches::kEnableSmoothScrolling, 1153 switches::kEnableSmoothScrolling,
1153 switches::kEnableStatsTable, 1154 switches::kEnableStatsTable,
1154 switches::kEnableStrictSiteIsolation, 1155 switches::kEnableStrictSiteIsolation,
1155 switches::kEnableThreadedCompositing, 1156 switches::kEnableThreadedCompositing,
1156 switches::kEnableTouchDragDrop, 1157 switches::kEnableTouchDragDrop,
1157 switches::kEnableTouchEditing, 1158 switches::kEnableTouchEditing,
(...skipping 1088 matching lines...) Expand 10 before | Expand all | Expand 10 after
2246 if (worker_ref_count_ == 0) 2247 if (worker_ref_count_ == 0)
2247 Cleanup(); 2248 Cleanup();
2248 } 2249 }
2249 2250
2250 void RenderProcessHostImpl::EnsureMojoActivated() { 2251 void RenderProcessHostImpl::EnsureMojoActivated() {
2251 mojo_activation_required_ = true; 2252 mojo_activation_required_ = true;
2252 MaybeActivateMojo(); 2253 MaybeActivateMojo();
2253 } 2254 }
2254 2255
2255 } // namespace content 2256 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698