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

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: idle_time_for_gc -> idle_time_in_ms 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 1167 matching lines...) Expand 10 before | Expand all | Expand 10 after
1178 switches::kMemoryMetrics, 1178 switches::kMemoryMetrics,
1179 switches::kNoReferrers, 1179 switches::kNoReferrers,
1180 switches::kNoSandbox, 1180 switches::kNoSandbox,
1181 switches::kNumRasterThreads, 1181 switches::kNumRasterThreads,
1182 switches::kPpapiInProcess, 1182 switches::kPpapiInProcess,
1183 switches::kProfilerTiming, 1183 switches::kProfilerTiming,
1184 switches::kReduceSecurityForTesting, 1184 switches::kReduceSecurityForTesting,
1185 switches::kRegisterPepperPlugins, 1185 switches::kRegisterPepperPlugins,
1186 switches::kRendererAssertTest, 1186 switches::kRendererAssertTest,
1187 switches::kRendererStartupDialog, 1187 switches::kRendererStartupDialog,
1188 switches::kSendV8IdleNotificationAfterCommit,
1188 switches::kShowPaintRects, 1189 switches::kShowPaintRects,
1189 switches::kSitePerProcess, 1190 switches::kSitePerProcess,
1190 switches::kStatsCollectionController, 1191 switches::kStatsCollectionController,
1191 switches::kTestType, 1192 switches::kTestType,
1192 switches::kTouchEvents, 1193 switches::kTouchEvents,
1193 switches::kTraceToConsole, 1194 switches::kTraceToConsole,
1194 switches::kUseDiscardableMemory, 1195 switches::kUseDiscardableMemory,
1195 // This flag needs to be propagated to the renderer process for 1196 // This flag needs to be propagated to the renderer process for
1196 // --in-process-webgl. 1197 // --in-process-webgl.
1197 switches::kUseGL, 1198 switches::kUseGL,
(...skipping 1152 matching lines...) Expand 10 before | Expand all | Expand 10 after
2350 } 2351 }
2351 2352
2352 void RenderProcessHostImpl::OnDeletedGpuMemoryBuffer( 2353 void RenderProcessHostImpl::OnDeletedGpuMemoryBuffer(
2353 gfx::GpuMemoryBufferType type, 2354 gfx::GpuMemoryBufferType type,
2354 const gfx::GpuMemoryBufferId& id) { 2355 const gfx::GpuMemoryBufferId& id) {
2355 DCHECK_CURRENTLY_ON(BrowserThread::UI); 2356 DCHECK_CURRENTLY_ON(BrowserThread::UI);
2356 GpuMemoryBufferImpl::DeletedByChildProcess(type, id, GetHandle()); 2357 GpuMemoryBufferImpl::DeletedByChildProcess(type, id, GetHandle());
2357 } 2358 }
2358 2359
2359 } // namespace content 2360 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/public/common/content_switches.h » ('j') | content/renderer/gpu/render_widget_compositor.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698