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

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

Issue 662973003: Add --root-layer-scrolls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 1157 matching lines...) Expand 10 before | Expand all | Expand 10 after
1168 switches::kMaxUntiledLayerHeight, 1168 switches::kMaxUntiledLayerHeight,
1169 switches::kMemoryMetrics, 1169 switches::kMemoryMetrics,
1170 switches::kNoReferrers, 1170 switches::kNoReferrers,
1171 switches::kNoSandbox, 1171 switches::kNoSandbox,
1172 switches::kPpapiInProcess, 1172 switches::kPpapiInProcess,
1173 switches::kProfilerTiming, 1173 switches::kProfilerTiming,
1174 switches::kReduceSecurityForTesting, 1174 switches::kReduceSecurityForTesting,
1175 switches::kRegisterPepperPlugins, 1175 switches::kRegisterPepperPlugins,
1176 switches::kRendererAssertTest, 1176 switches::kRendererAssertTest,
1177 switches::kRendererStartupDialog, 1177 switches::kRendererStartupDialog,
1178 switches::kRootLayerScrolls,
1178 switches::kShowPaintRects, 1179 switches::kShowPaintRects,
1179 switches::kSitePerProcess, 1180 switches::kSitePerProcess,
1180 switches::kStatsCollectionController, 1181 switches::kStatsCollectionController,
1181 switches::kTestType, 1182 switches::kTestType,
1182 switches::kTouchEvents, 1183 switches::kTouchEvents,
1183 switches::kTraceToConsole, 1184 switches::kTraceToConsole,
1184 switches::kUseDiscardableMemory, 1185 switches::kUseDiscardableMemory,
1185 // This flag needs to be propagated to the renderer process for 1186 // This flag needs to be propagated to the renderer process for
1186 // --in-process-webgl. 1187 // --in-process-webgl.
1187 switches::kUseGL, 1188 switches::kUseGL,
(...skipping 1048 matching lines...) Expand 10 before | Expand all | Expand 10 after
2236 2237
2237 void RenderProcessHostImpl::DecrementWorkerRefCount() { 2238 void RenderProcessHostImpl::DecrementWorkerRefCount() {
2238 DCHECK_CURRENTLY_ON(BrowserThread::UI); 2239 DCHECK_CURRENTLY_ON(BrowserThread::UI);
2239 DCHECK_GT(worker_ref_count_, 0); 2240 DCHECK_GT(worker_ref_count_, 0);
2240 --worker_ref_count_; 2241 --worker_ref_count_;
2241 if (worker_ref_count_ == 0) 2242 if (worker_ref_count_ == 0)
2242 Cleanup(); 2243 Cleanup();
2243 } 2244 }
2244 2245
2245 } // namespace content 2246 } // 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