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/debug/trace_event.h" | 9 #include "base/debug/trace_event.h" |
10 #include "base/threading/thread_local_storage.h" | 10 #include "base/threading/thread_local_storage.h" |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 const blink::WebSize& cumulative_scroll); | 151 const blink::WebSize& cumulative_scroll); |
152 virtual void didStartWorkerRunLoop( | 152 virtual void didStartWorkerRunLoop( |
153 const blink::WebWorkerRunLoop& runLoop); | 153 const blink::WebWorkerRunLoop& runLoop); |
154 virtual void didStopWorkerRunLoop( | 154 virtual void didStopWorkerRunLoop( |
155 const blink::WebWorkerRunLoop& runLoop); | 155 const blink::WebWorkerRunLoop& runLoop); |
156 virtual blink::WebCrypto* crypto(); | 156 virtual blink::WebCrypto* crypto(); |
157 virtual blink::WebGeofencingProvider* geofencingProvider(); | 157 virtual blink::WebGeofencingProvider* geofencingProvider(); |
158 virtual blink::WebBluetooth* bluetooth(); | 158 virtual blink::WebBluetooth* bluetooth(); |
159 virtual blink::WebNotificationManager* notificationManager(); | 159 virtual blink::WebNotificationManager* notificationManager(); |
160 virtual blink::WebPushProvider* pushProvider(); | 160 virtual blink::WebPushProvider* pushProvider(); |
| 161 virtual void connectToUrl( |
| 162 const blink::WebURL& targetUrl, |
| 163 blink::WebMessagePortChannel* port, |
| 164 blink::WebCallbacks<void, blink::WebString>* callbacks); |
161 | 165 |
162 void SuspendSharedTimer(); | 166 void SuspendSharedTimer(); |
163 void ResumeSharedTimer(); | 167 void ResumeSharedTimer(); |
164 virtual void OnStartSharedTimer(base::TimeDelta delay) {} | 168 virtual void OnStartSharedTimer(base::TimeDelta delay) {} |
165 | 169 |
166 WebBluetoothImpl* BluetoothImplForTesting() { return bluetooth_.get(); } | 170 WebBluetoothImpl* BluetoothImplForTesting() { return bluetooth_.get(); } |
167 | 171 |
168 private: | 172 private: |
169 static void DestroyCurrentThread(void*); | 173 static void DestroyCurrentThread(void*); |
170 | 174 |
(...skipping 20 matching lines...) Expand all Loading... |
191 scoped_ptr<WebBluetoothImpl> bluetooth_; | 195 scoped_ptr<WebBluetoothImpl> bluetooth_; |
192 | 196 |
193 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 197 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
194 scoped_refptr<NotificationDispatcher> notification_dispatcher_; | 198 scoped_refptr<NotificationDispatcher> notification_dispatcher_; |
195 scoped_refptr<PushDispatcher> push_dispatcher_; | 199 scoped_refptr<PushDispatcher> push_dispatcher_; |
196 }; | 200 }; |
197 | 201 |
198 } // namespace content | 202 } // namespace content |
199 | 203 |
200 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 204 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |