| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CHILD_BLINK_PLATFORM_IMPL_H_ | 5 #ifndef CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
| 6 #define CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 6 #define CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/containers/scoped_ptr_hash_map.h" | 9 #include "base/containers/scoped_ptr_hash_map.h" |
| 10 #include "base/threading/thread_local_storage.h" | 10 #include "base/threading/thread_local_storage.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #include "content/child/webthemeengine_impl_mac.h" | 26 #include "content/child/webthemeengine_impl_mac.h" |
| 27 #elif defined(OS_ANDROID) | 27 #elif defined(OS_ANDROID) |
| 28 #include "content/child/webthemeengine_impl_android.h" | 28 #include "content/child/webthemeengine_impl_android.h" |
| 29 #endif | 29 #endif |
| 30 | 30 |
| 31 namespace base { | 31 namespace base { |
| 32 class MessageLoop; | 32 class MessageLoop; |
| 33 } | 33 } |
| 34 | 34 |
| 35 namespace content { | 35 namespace content { |
| 36 class BackgroundSyncProvider; |
| 36 class FlingCurveConfiguration; | 37 class FlingCurveConfiguration; |
| 37 class NotificationDispatcher; | 38 class NotificationDispatcher; |
| 38 class PermissionDispatcher; | 39 class PermissionDispatcher; |
| 39 class PushDispatcher; | 40 class PushDispatcher; |
| 40 class ThreadSafeSender; | 41 class ThreadSafeSender; |
| 41 class WebBluetoothImpl; | 42 class WebBluetoothImpl; |
| 42 class WebCryptoImpl; | 43 class WebCryptoImpl; |
| 43 class WebGeofencingProviderImpl; | 44 class WebGeofencingProviderImpl; |
| 44 class WebMemoryDumpProviderAdapter; | 45 class WebMemoryDumpProviderAdapter; |
| 45 | 46 |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 const blink::WebSize& cumulative_scroll); | 161 const blink::WebSize& cumulative_scroll); |
| 161 virtual void didStartWorkerRunLoop(); | 162 virtual void didStartWorkerRunLoop(); |
| 162 virtual void didStopWorkerRunLoop(); | 163 virtual void didStopWorkerRunLoop(); |
| 163 virtual blink::WebCrypto* crypto(); | 164 virtual blink::WebCrypto* crypto(); |
| 164 virtual blink::WebGeofencingProvider* geofencingProvider(); | 165 virtual blink::WebGeofencingProvider* geofencingProvider(); |
| 165 virtual blink::WebBluetooth* bluetooth(); | 166 virtual blink::WebBluetooth* bluetooth(); |
| 166 virtual blink::WebNotificationManager* notificationManager(); | 167 virtual blink::WebNotificationManager* notificationManager(); |
| 167 virtual blink::WebPushProvider* pushProvider(); | 168 virtual blink::WebPushProvider* pushProvider(); |
| 168 virtual blink::WebNavigatorConnectProvider* navigatorConnectProvider(); | 169 virtual blink::WebNavigatorConnectProvider* navigatorConnectProvider(); |
| 169 virtual blink::WebPermissionClient* permissionClient(); | 170 virtual blink::WebPermissionClient* permissionClient(); |
| 171 virtual blink::WebSyncProvider* backgroundSyncProvider(); |
| 170 | 172 |
| 171 void SuspendSharedTimer(); | 173 void SuspendSharedTimer(); |
| 172 void ResumeSharedTimer(); | 174 void ResumeSharedTimer(); |
| 173 virtual void OnStartSharedTimer(base::TimeDelta delay) {} | 175 virtual void OnStartSharedTimer(base::TimeDelta delay) {} |
| 174 | 176 |
| 175 WebBluetoothImpl* BluetoothImplForTesting() { return bluetooth_.get(); } | 177 WebBluetoothImpl* BluetoothImplForTesting() { return bluetooth_.get(); } |
| 176 | 178 |
| 177 virtual blink::WebString domCodeStringFromEnum(int dom_code); | 179 virtual blink::WebString domCodeStringFromEnum(int dom_code); |
| 178 virtual int domEnumFromCodeString(const blink::WebString& codeString); | 180 virtual int domEnumFromCodeString(const blink::WebString& codeString); |
| 179 | 181 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 203 scoped_ptr<WebGeofencingProviderImpl> geofencing_provider_; | 205 scoped_ptr<WebGeofencingProviderImpl> geofencing_provider_; |
| 204 scoped_ptr<WebBluetoothImpl> bluetooth_; | 206 scoped_ptr<WebBluetoothImpl> bluetooth_; |
| 205 base::ScopedPtrHashMap<blink::WebMemoryDumpProvider*, | 207 base::ScopedPtrHashMap<blink::WebMemoryDumpProvider*, |
| 206 scoped_ptr<WebMemoryDumpProviderAdapter>> | 208 scoped_ptr<WebMemoryDumpProviderAdapter>> |
| 207 memory_dump_providers_; | 209 memory_dump_providers_; |
| 208 | 210 |
| 209 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 211 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
| 210 scoped_refptr<NotificationDispatcher> notification_dispatcher_; | 212 scoped_refptr<NotificationDispatcher> notification_dispatcher_; |
| 211 scoped_refptr<PushDispatcher> push_dispatcher_; | 213 scoped_refptr<PushDispatcher> push_dispatcher_; |
| 212 scoped_ptr<PermissionDispatcher> permission_client_; | 214 scoped_ptr<PermissionDispatcher> permission_client_; |
| 215 scoped_ptr<BackgroundSyncProvider> sync_provider_; |
| 213 }; | 216 }; |
| 214 | 217 |
| 215 } // namespace content | 218 } // namespace content |
| 216 | 219 |
| 217 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 220 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
| OLD | NEW |