OLD | NEW |
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 24 matching lines...) Expand all Loading... |
35 class WebGraphicsContext3DProvider; | 35 class WebGraphicsContext3DProvider; |
36 } | 36 } |
37 | 37 |
38 namespace content { | 38 namespace content { |
39 class BatteryStatusDispatcher; | 39 class BatteryStatusDispatcher; |
40 class DeviceLightEventPump; | 40 class DeviceLightEventPump; |
41 class DeviceMotionEventPump; | 41 class DeviceMotionEventPump; |
42 class DeviceOrientationEventPump; | 42 class DeviceOrientationEventPump; |
43 class PlatformEventObserverBase; | 43 class PlatformEventObserverBase; |
44 class QuotaMessageFilter; | 44 class QuotaMessageFilter; |
45 class RendererClipboardClient; | 45 class RendererClipboardDelegate; |
46 class RenderView; | 46 class RenderView; |
47 class ThreadSafeSender; | 47 class ThreadSafeSender; |
48 class WebClipboardImpl; | 48 class WebClipboardImpl; |
49 class WebDatabaseObserverImpl; | 49 class WebDatabaseObserverImpl; |
50 class WebFileSystemImpl; | 50 class WebFileSystemImpl; |
51 | 51 |
52 class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl { | 52 class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl { |
53 public: | 53 public: |
54 RendererBlinkPlatformImpl(); | 54 RendererBlinkPlatformImpl(); |
55 virtual ~RendererBlinkPlatformImpl(); | 55 virtual ~RendererBlinkPlatformImpl(); |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 | 186 |
187 // Factory that takes a type and return PlatformEventObserverBase that matches | 187 // Factory that takes a type and return PlatformEventObserverBase that matches |
188 // it. | 188 // it. |
189 static PlatformEventObserverBase* CreatePlatformEventObserverFromType( | 189 static PlatformEventObserverBase* CreatePlatformEventObserverFromType( |
190 blink::WebPlatformEventType type); | 190 blink::WebPlatformEventType type); |
191 | 191 |
192 // Use the data previously set via SetMockDevice...DataForTesting() and send | 192 // Use the data previously set via SetMockDevice...DataForTesting() and send |
193 // them to the registered listener. | 193 // them to the registered listener. |
194 void SendFakeDeviceEventDataForTesting(blink::WebPlatformEventType type); | 194 void SendFakeDeviceEventDataForTesting(blink::WebPlatformEventType type); |
195 | 195 |
196 scoped_ptr<RendererClipboardClient> clipboard_client_; | 196 scoped_ptr<RendererClipboardDelegate> clipboard_delegate_; |
197 scoped_ptr<WebClipboardImpl> clipboard_; | 197 scoped_ptr<WebClipboardImpl> clipboard_; |
198 | 198 |
199 class FileUtilities; | 199 class FileUtilities; |
200 scoped_ptr<FileUtilities> file_utilities_; | 200 scoped_ptr<FileUtilities> file_utilities_; |
201 | 201 |
202 class MimeRegistry; | 202 class MimeRegistry; |
203 scoped_ptr<MimeRegistry> mime_registry_; | 203 scoped_ptr<MimeRegistry> mime_registry_; |
204 | 204 |
205 class SandboxSupport; | 205 class SandboxSupport; |
206 scoped_ptr<SandboxSupport> sandbox_support_; | 206 scoped_ptr<SandboxSupport> sandbox_support_; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 scoped_ptr<BatteryStatusDispatcher> battery_status_dispatcher_; | 238 scoped_ptr<BatteryStatusDispatcher> battery_status_dispatcher_; |
239 | 239 |
240 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; | 240 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; |
241 | 241 |
242 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); | 242 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); |
243 }; | 243 }; |
244 | 244 |
245 } // namespace content | 245 } // namespace content |
246 | 246 |
247 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 247 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |