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

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

Issue 429393003: Send idle notifications to V8 after commit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move flag from cc:switches to content switches. Created 6 years, 4 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 1171 matching lines...) Expand 10 before | Expand all | Expand 10 after
1182 switches::kMemoryMetrics, 1182 switches::kMemoryMetrics,
1183 switches::kNoReferrers, 1183 switches::kNoReferrers,
1184 switches::kNoSandbox, 1184 switches::kNoSandbox,
1185 switches::kNumRasterThreads, 1185 switches::kNumRasterThreads,
1186 switches::kPpapiInProcess, 1186 switches::kPpapiInProcess,
1187 switches::kProfilerTiming, 1187 switches::kProfilerTiming,
1188 switches::kReduceSecurityForTesting, 1188 switches::kReduceSecurityForTesting,
1189 switches::kRegisterPepperPlugins, 1189 switches::kRegisterPepperPlugins,
1190 switches::kRendererAssertTest, 1190 switches::kRendererAssertTest,
1191 switches::kRendererStartupDialog, 1191 switches::kRendererStartupDialog,
1192 switches::kSendV8IdleNotificationAfterCommit,
1192 switches::kShowPaintRects, 1193 switches::kShowPaintRects,
1193 switches::kSitePerProcess, 1194 switches::kSitePerProcess,
1194 switches::kStatsCollectionController, 1195 switches::kStatsCollectionController,
1195 switches::kTestType, 1196 switches::kTestType,
1196 switches::kTouchEvents, 1197 switches::kTouchEvents,
1197 switches::kTraceToConsole, 1198 switches::kTraceToConsole,
1198 switches::kUseDiscardableMemory, 1199 switches::kUseDiscardableMemory,
1199 // This flag needs to be propagated to the renderer process for 1200 // This flag needs to be propagated to the renderer process for
1200 // --in-process-webgl. 1201 // --in-process-webgl.
1201 switches::kUseGL, 1202 switches::kUseGL,
(...skipping 1151 matching lines...) Expand 10 before | Expand all | Expand 10 after
2353 } 2354 }
2354 2355
2355 void RenderProcessHostImpl::OnDeletedGpuMemoryBuffer( 2356 void RenderProcessHostImpl::OnDeletedGpuMemoryBuffer(
2356 gfx::GpuMemoryBufferType type, 2357 gfx::GpuMemoryBufferType type,
2357 const gfx::GpuMemoryBufferId& id) { 2358 const gfx::GpuMemoryBufferId& id) {
2358 DCHECK_CURRENTLY_ON(BrowserThread::UI); 2359 DCHECK_CURRENTLY_ON(BrowserThread::UI);
2359 GpuMemoryBufferImpl::DeletedByChildProcess(type, id, GetHandle()); 2360 GpuMemoryBufferImpl::DeletedByChildProcess(type, id, GetHandle());
2360 } 2361 }
2361 2362
2362 } // namespace content 2363 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/public/common/content_switches.h » ('j') | content/renderer/gpu/render_widget_compositor.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698