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

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: . Created 6 years, 3 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 1166 matching lines...) Expand 10 before | Expand all | Expand 10 after
1177 switches::kMemoryMetrics, 1177 switches::kMemoryMetrics,
1178 switches::kNoReferrers, 1178 switches::kNoReferrers,
1179 switches::kNoSandbox, 1179 switches::kNoSandbox,
1180 switches::kNumRasterThreads, 1180 switches::kNumRasterThreads,
1181 switches::kPpapiInProcess, 1181 switches::kPpapiInProcess,
1182 switches::kProfilerTiming, 1182 switches::kProfilerTiming,
1183 switches::kReduceSecurityForTesting, 1183 switches::kReduceSecurityForTesting,
1184 switches::kRegisterPepperPlugins, 1184 switches::kRegisterPepperPlugins,
1185 switches::kRendererAssertTest, 1185 switches::kRendererAssertTest,
1186 switches::kRendererStartupDialog, 1186 switches::kRendererStartupDialog,
1187 switches::kSendV8IdleNotificationAfterCommit,
1187 switches::kShowPaintRects, 1188 switches::kShowPaintRects,
1188 switches::kSitePerProcess, 1189 switches::kSitePerProcess,
1189 switches::kStatsCollectionController, 1190 switches::kStatsCollectionController,
1190 switches::kTestType, 1191 switches::kTestType,
1191 switches::kTouchEvents, 1192 switches::kTouchEvents,
1192 switches::kTraceToConsole, 1193 switches::kTraceToConsole,
1193 switches::kUseDiscardableMemory, 1194 switches::kUseDiscardableMemory,
1194 // This flag needs to be propagated to the renderer process for 1195 // This flag needs to be propagated to the renderer process for
1195 // --in-process-webgl. 1196 // --in-process-webgl.
1196 switches::kUseGL, 1197 switches::kUseGL,
(...skipping 1152 matching lines...) Expand 10 before | Expand all | Expand 10 after
2349 } 2350 }
2350 2351
2351 void RenderProcessHostImpl::OnDeletedGpuMemoryBuffer( 2352 void RenderProcessHostImpl::OnDeletedGpuMemoryBuffer(
2352 gfx::GpuMemoryBufferType type, 2353 gfx::GpuMemoryBufferType type,
2353 const gfx::GpuMemoryBufferId& id) { 2354 const gfx::GpuMemoryBufferId& id) {
2354 DCHECK_CURRENTLY_ON(BrowserThread::UI); 2355 DCHECK_CURRENTLY_ON(BrowserThread::UI);
2355 GpuMemoryBufferImpl::DeletedByChildProcess(type, id, GetHandle()); 2356 GpuMemoryBufferImpl::DeletedByChildProcess(type, id, GetHandle());
2356 } 2357 }
2357 2358
2358 } // namespace content 2359 } // 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