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

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

Issue 1058873010: Move blink scheduler implementation into a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 #ifndef CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 6 #define CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/id_map.h" 9 #include "base/id_map.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 19 matching lines...) Expand all
30 } 30 }
31 31
32 namespace blink { 32 namespace blink {
33 class WebBatteryStatus; 33 class WebBatteryStatus;
34 class WebDeviceMotionData; 34 class WebDeviceMotionData;
35 class WebDeviceOrientationData; 35 class WebDeviceOrientationData;
36 class WebGraphicsContext3DProvider; 36 class WebGraphicsContext3DProvider;
37 class WebServiceWorkerCacheStorage; 37 class WebServiceWorkerCacheStorage;
38 } 38 }
39 39
40 namespace scheduler {
41 class RendererScheduler;
42 }
43
40 namespace content { 44 namespace content {
41 class BatteryStatusDispatcher; 45 class BatteryStatusDispatcher;
42 class DeviceLightEventPump; 46 class DeviceLightEventPump;
43 class DeviceMotionEventPump; 47 class DeviceMotionEventPump;
44 class DeviceOrientationEventPump; 48 class DeviceOrientationEventPump;
45 class PlatformEventObserverBase; 49 class PlatformEventObserverBase;
46 class QuotaMessageFilter; 50 class QuotaMessageFilter;
47 class RendererClipboardDelegate; 51 class RendererClipboardDelegate;
48 class RendererScheduler;
49 class RenderView; 52 class RenderView;
50 class ThreadSafeSender; 53 class ThreadSafeSender;
51 class WebClipboardImpl; 54 class WebClipboardImpl;
52 class WebDatabaseObserverImpl; 55 class WebDatabaseObserverImpl;
53 class WebFileSystemImpl; 56 class WebFileSystemImpl;
54 class WebThreadImplForRendererScheduler; 57 class WebThreadImplForRendererScheduler;
55 58
56 class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl { 59 class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl {
57 public: 60 public:
58 explicit RendererBlinkPlatformImpl(RendererScheduler* renderer_scheduler); 61 explicit RendererBlinkPlatformImpl(
62 scheduler::RendererScheduler* renderer_scheduler);
59 virtual ~RendererBlinkPlatformImpl(); 63 virtual ~RendererBlinkPlatformImpl();
60 64
61 void set_plugin_refresh_allowed(bool plugin_refresh_allowed) { 65 void set_plugin_refresh_allowed(bool plugin_refresh_allowed) {
62 plugin_refresh_allowed_ = plugin_refresh_allowed; 66 plugin_refresh_allowed_ = plugin_refresh_allowed;
63 } 67 }
64 // Platform methods: 68 // Platform methods:
65 virtual blink::WebClipboard* clipboard(); 69 virtual blink::WebClipboard* clipboard();
66 virtual blink::WebMimeRegistry* mimeRegistry(); 70 virtual blink::WebMimeRegistry* mimeRegistry();
67 virtual blink::WebFileUtilities* fileUtilities(); 71 virtual blink::WebFileUtilities* fileUtilities();
68 virtual blink::WebSandboxSupport* sandboxSupport(); 72 virtual blink::WebSandboxSupport* sandboxSupport();
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 device::VibrationManagerPtr vibration_manager_; 264 device::VibrationManagerPtr vibration_manager_;
261 265
262 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; 266 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_;
263 267
264 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); 268 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl);
265 }; 269 };
266 270
267 } // namespace content 271 } // namespace content
268 272
269 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 273 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698