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

Side by Side Diff: content/renderer/renderer_blink_platform_impl.cc

Issue 2843503002: scheduler: Move WebFrameScheduler and WebScheduler into Blink (Closed)
Patch Set: Build fix Created 3 years, 8 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
« no previous file with comments | « no previous file | media/blink/run_all_unittests.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "content/renderer/renderer_blink_platform_impl.h" 5 #include "content/renderer/renderer_blink_platform_impl.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 #include "third_party/WebKit/public/platform/FilePathConversion.h" 88 #include "third_party/WebKit/public/platform/FilePathConversion.h"
89 #include "third_party/WebKit/public/platform/URLConversion.h" 89 #include "third_party/WebKit/public/platform/URLConversion.h"
90 #include "third_party/WebKit/public/platform/WebAudioLatencyHint.h" 90 #include "third_party/WebKit/public/platform/WebAudioLatencyHint.h"
91 #include "third_party/WebKit/public/platform/WebBlobRegistry.h" 91 #include "third_party/WebKit/public/platform/WebBlobRegistry.h"
92 #include "third_party/WebKit/public/platform/WebDeviceLightListener.h" 92 #include "third_party/WebKit/public/platform/WebDeviceLightListener.h"
93 #include "third_party/WebKit/public/platform/WebFileInfo.h" 93 #include "third_party/WebKit/public/platform/WebFileInfo.h"
94 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h" 94 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h"
95 #include "third_party/WebKit/public/platform/WebMediaStreamCenterClient.h" 95 #include "third_party/WebKit/public/platform/WebMediaStreamCenterClient.h"
96 #include "third_party/WebKit/public/platform/WebPluginListBuilder.h" 96 #include "third_party/WebKit/public/platform/WebPluginListBuilder.h"
97 #include "third_party/WebKit/public/platform/WebSecurityOrigin.h" 97 #include "third_party/WebKit/public/platform/WebSecurityOrigin.h"
98 #include "third_party/WebKit/public/platform/WebThread.h"
98 #include "third_party/WebKit/public/platform/WebURL.h" 99 #include "third_party/WebKit/public/platform/WebURL.h"
99 #include "third_party/WebKit/public/platform/WebVector.h" 100 #include "third_party/WebKit/public/platform/WebVector.h"
100 #include "third_party/WebKit/public/platform/modules/device_orientation/WebDevic eMotionListener.h" 101 #include "third_party/WebKit/public/platform/modules/device_orientation/WebDevic eMotionListener.h"
101 #include "third_party/WebKit/public/platform/modules/device_orientation/WebDevic eOrientationListener.h" 102 #include "third_party/WebKit/public/platform/modules/device_orientation/WebDevic eOrientationListener.h"
102 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul er.h" 103 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul er.h"
103 #include "third_party/WebKit/public/web/WebLocalFrame.h" 104 #include "third_party/WebKit/public/web/WebLocalFrame.h"
104 #include "url/gurl.h" 105 #include "url/gurl.h"
105 106
106 #if defined(OS_MACOSX) 107 #if defined(OS_MACOSX)
107 #include "content/common/mac/font_descriptor.h" 108 #include "content/common/mac/font_descriptor.h"
(...skipping 1182 matching lines...) Expand 10 before | Expand all | Expand 10 after
1290 //------------------------------------------------------------------------------ 1291 //------------------------------------------------------------------------------
1291 void RendererBlinkPlatformImpl::RequestPurgeMemory() { 1292 void RendererBlinkPlatformImpl::RequestPurgeMemory() {
1292 // TODO(tasak|bashi): We should use ChildMemoryCoordinator here, but 1293 // TODO(tasak|bashi): We should use ChildMemoryCoordinator here, but
1293 // ChildMemoryCoordinator isn't always available as it's only initialized 1294 // ChildMemoryCoordinator isn't always available as it's only initialized
1294 // when kMemoryCoordinatorV0 is enabled. 1295 // when kMemoryCoordinatorV0 is enabled.
1295 // Use ChildMemoryCoordinator when memory coordinator is always enabled. 1296 // Use ChildMemoryCoordinator when memory coordinator is always enabled.
1296 base::MemoryCoordinatorClientRegistry::GetInstance()->PurgeMemory(); 1297 base::MemoryCoordinatorClientRegistry::GetInstance()->PurgeMemory();
1297 } 1298 }
1298 1299
1299 } // namespace content 1300 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | media/blink/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698