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

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

Issue 714003002: Allow changing top controls height (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 6 years 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 1228 matching lines...) Expand 10 before | Expand all | Expand 10 after
1239 cc::switches::kShowFPSCounter, 1239 cc::switches::kShowFPSCounter,
1240 cc::switches::kShowLayerAnimationBounds, 1240 cc::switches::kShowLayerAnimationBounds,
1241 cc::switches::kShowNonOccludingRects, 1241 cc::switches::kShowNonOccludingRects,
1242 cc::switches::kShowOccludingRects, 1242 cc::switches::kShowOccludingRects,
1243 cc::switches::kShowPropertyChangedRects, 1243 cc::switches::kShowPropertyChangedRects,
1244 cc::switches::kShowReplicaScreenSpaceRects, 1244 cc::switches::kShowReplicaScreenSpaceRects,
1245 cc::switches::kShowScreenSpaceRects, 1245 cc::switches::kShowScreenSpaceRects,
1246 cc::switches::kShowSurfaceDamageRects, 1246 cc::switches::kShowSurfaceDamageRects,
1247 cc::switches::kSlowDownRasterScaleFactor, 1247 cc::switches::kSlowDownRasterScaleFactor,
1248 cc::switches::kStrictLayerPropertyChangeChecking, 1248 cc::switches::kStrictLayerPropertyChangeChecking,
1249 cc::switches::kTopControlsHeight,
1250 cc::switches::kTopControlsHideThreshold, 1249 cc::switches::kTopControlsHideThreshold,
1251 cc::switches::kTopControlsShowThreshold, 1250 cc::switches::kTopControlsShowThreshold,
1252 #if defined(ENABLE_PLUGINS) 1251 #if defined(ENABLE_PLUGINS)
1253 switches::kEnablePepperTesting, 1252 switches::kEnablePepperTesting,
1254 switches::kEnablePluginPowerSaver, 1253 switches::kEnablePluginPowerSaver,
1255 #endif 1254 #endif
1256 #if defined(ENABLE_WEBRTC) 1255 #if defined(ENABLE_WEBRTC)
1257 switches::kDisableWebRtcHWDecoding, 1256 switches::kDisableWebRtcHWDecoding,
1258 switches::kDisableWebRtcHWEncoding, 1257 switches::kDisableWebRtcHWEncoding,
1259 switches::kEnableWebRtcHWVp8Encoding, 1258 switches::kEnableWebRtcHWVp8Encoding,
(...skipping 1020 matching lines...) Expand 10 before | Expand all | Expand 10 after
2280 2279
2281 void RenderProcessHostImpl::DecrementWorkerRefCount() { 2280 void RenderProcessHostImpl::DecrementWorkerRefCount() {
2282 DCHECK_CURRENTLY_ON(BrowserThread::UI); 2281 DCHECK_CURRENTLY_ON(BrowserThread::UI);
2283 DCHECK_GT(worker_ref_count_, 0); 2282 DCHECK_GT(worker_ref_count_, 0);
2284 --worker_ref_count_; 2283 --worker_ref_count_;
2285 if (worker_ref_count_ == 0) 2284 if (worker_ref_count_ == 0)
2286 Cleanup(); 2285 Cleanup();
2287 } 2286 }
2288 2287
2289 } // namespace content 2288 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/compositor_impl_android.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698