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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 blink::WebGestureDevice device_source, | 160 blink::WebGestureDevice device_source, |
161 const blink::WebFloatPoint& velocity, | 161 const blink::WebFloatPoint& velocity, |
162 const blink::WebSize& cumulative_scroll); | 162 const blink::WebSize& cumulative_scroll); |
163 virtual void didStartWorkerRunLoop(); | 163 virtual void didStartWorkerRunLoop(); |
164 virtual void didStopWorkerRunLoop(); | 164 virtual void didStopWorkerRunLoop(); |
165 virtual blink::WebCrypto* crypto(); | 165 virtual blink::WebCrypto* crypto(); |
166 virtual blink::WebGeofencingProvider* geofencingProvider(); | 166 virtual blink::WebGeofencingProvider* geofencingProvider(); |
167 virtual blink::WebBluetooth* bluetooth(); | 167 virtual blink::WebBluetooth* bluetooth(); |
168 virtual blink::WebNotificationManager* notificationManager(); | 168 virtual blink::WebNotificationManager* notificationManager(); |
169 virtual blink::WebPushProvider* pushProvider(); | 169 virtual blink::WebPushProvider* pushProvider(); |
170 virtual blink::WebNavigatorConnectProvider* navigatorConnectProvider(); | 170 virtual blink::WebServicePortProvider* createServicePortProvider( |
| 171 blink::WebServicePortProviderClient*); |
171 virtual blink::WebPermissionClient* permissionClient(); | 172 virtual blink::WebPermissionClient* permissionClient(); |
172 virtual blink::WebSyncProvider* backgroundSyncProvider(); | 173 virtual blink::WebSyncProvider* backgroundSyncProvider(); |
173 | 174 |
174 virtual blink::WebString domCodeStringFromEnum(int dom_code); | 175 virtual blink::WebString domCodeStringFromEnum(int dom_code); |
175 virtual int domEnumFromCodeString(const blink::WebString& codeString); | 176 virtual int domEnumFromCodeString(const blink::WebString& codeString); |
176 | 177 |
177 private: | 178 private: |
178 void InternalInit(); | 179 void InternalInit(); |
179 void UpdateWebThreadTLS(blink::WebThread* thread); | 180 void UpdateWebThreadTLS(blink::WebThread* thread); |
180 | 181 |
(...skipping 15 matching lines...) Expand all Loading... |
196 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 197 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
197 scoped_refptr<NotificationDispatcher> notification_dispatcher_; | 198 scoped_refptr<NotificationDispatcher> notification_dispatcher_; |
198 scoped_refptr<PushDispatcher> push_dispatcher_; | 199 scoped_refptr<PushDispatcher> push_dispatcher_; |
199 scoped_ptr<PermissionDispatcher> permission_client_; | 200 scoped_ptr<PermissionDispatcher> permission_client_; |
200 scoped_ptr<BackgroundSyncProvider> sync_provider_; | 201 scoped_ptr<BackgroundSyncProvider> sync_provider_; |
201 }; | 202 }; |
202 | 203 |
203 } // namespace content | 204 } // namespace content |
204 | 205 |
205 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 206 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |