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

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

Issue 196473007: Add --disable-low-res-tiling. Disable low res tiling to save power. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Resolve merge conflicts 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
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 1012 matching lines...) Expand 10 before | Expand all | Expand 10 after
1023 switches::kDisableDatabases, 1023 switches::kDisableDatabases,
1024 switches::kDisableDelegatedRenderer, 1024 switches::kDisableDelegatedRenderer,
1025 switches::kDisableDesktopNotifications, 1025 switches::kDisableDesktopNotifications,
1026 switches::kDisableDirectNPAPIRequests, 1026 switches::kDisableDirectNPAPIRequests,
1027 switches::kDisableFileSystem, 1027 switches::kDisableFileSystem,
1028 switches::kDisableFiltersOverIPC, 1028 switches::kDisableFiltersOverIPC,
1029 switches::kDisableGpu, 1029 switches::kDisableGpu,
1030 switches::kDisableGpuCompositing, 1030 switches::kDisableGpuCompositing,
1031 switches::kDisableGpuRasterization, 1031 switches::kDisableGpuRasterization,
1032 switches::kDisableGpuVsync, 1032 switches::kDisableGpuVsync,
1033 switches::kDisableLowResTiling,
1033 switches::kDisableHistogramCustomizer, 1034 switches::kDisableHistogramCustomizer,
1034 switches::kDisableImplSidePainting, 1035 switches::kDisableImplSidePainting,
1035 switches::kDisableLCDText, 1036 switches::kDisableLCDText,
1036 switches::kDisableLayerSquashing, 1037 switches::kDisableLayerSquashing,
1037 switches::kDisableLocalStorage, 1038 switches::kDisableLocalStorage,
1038 switches::kDisableLogging, 1039 switches::kDisableLogging,
1039 switches::kDisableMapImage, 1040 switches::kDisableMapImage,
1040 switches::kDisableOverlayScrollbar, 1041 switches::kDisableOverlayScrollbar,
1041 switches::kDisablePinch, 1042 switches::kDisablePinch,
1042 switches::kDisablePrefixedEncryptedMedia, 1043 switches::kDisablePrefixedEncryptedMedia,
(...skipping 25 matching lines...) Expand all
1068 switches::kEnableExperimentalCanvasFeatures, 1069 switches::kEnableExperimentalCanvasFeatures,
1069 switches::kEnableExperimentalWebPlatformFeatures, 1070 switches::kEnableExperimentalWebPlatformFeatures,
1070 switches::kEnableExperimentalWebSocket, 1071 switches::kEnableExperimentalWebSocket,
1071 switches::kEnableFastTextAutosizing, 1072 switches::kEnableFastTextAutosizing,
1072 switches::kEnableGPUClientLogging, 1073 switches::kEnableGPUClientLogging,
1073 switches::kEnableGpuClientTracing, 1074 switches::kEnableGpuClientTracing,
1074 switches::kEnableGpuRasterization, 1075 switches::kEnableGpuRasterization,
1075 switches::kEnableGPUServiceLogging, 1076 switches::kEnableGPUServiceLogging,
1076 switches::kEnableHighDpiCompositingForFixedPosition, 1077 switches::kEnableHighDpiCompositingForFixedPosition,
1077 switches::kEnableHTMLImports, 1078 switches::kEnableHTMLImports,
1079 switches::kEnableLowResTiling,
1078 switches::kEnableImplSidePainting, 1080 switches::kEnableImplSidePainting,
1079 switches::kEnableInbandTextTracks, 1081 switches::kEnableInbandTextTracks,
1080 switches::kEnableLCDText, 1082 switches::kEnableLCDText,
1081 switches::kEnableLayerSquashing, 1083 switches::kEnableLayerSquashing,
1082 switches::kEnableLogging, 1084 switches::kEnableLogging,
1083 switches::kEnableMP3StreamParser, 1085 switches::kEnableMP3StreamParser,
1084 switches::kEnableMapImage, 1086 switches::kEnableMapImage,
1085 switches::kEnableMemoryBenchmarking, 1087 switches::kEnableMemoryBenchmarking,
1086 switches::kEnableOverlayFullscreenVideo, 1088 switches::kEnableOverlayFullscreenVideo,
1087 switches::kEnableOverlayScrollbar, 1089 switches::kEnableOverlayScrollbar,
(...skipping 1044 matching lines...) Expand 10 before | Expand all | Expand 10 after
2132 2134
2133 void RenderProcessHostImpl::DecrementWorkerRefCount() { 2135 void RenderProcessHostImpl::DecrementWorkerRefCount() {
2134 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 2136 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
2135 DCHECK_GT(worker_ref_count_, 0); 2137 DCHECK_GT(worker_ref_count_, 0);
2136 --worker_ref_count_; 2138 --worker_ref_count_;
2137 if (worker_ref_count_ == 0) 2139 if (worker_ref_count_ == 0)
2138 Cleanup(); 2140 Cleanup();
2139 } 2141 }
2140 2142
2141 } // namespace content 2143 } // namespace content
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/chrome_restart_request.cc ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698