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

Side by Side Diff: content/child/blink_platform_impl.h

Issue 937313003: chrome: Remove the use of WebWorkerRunLoop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 10 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
« no previous file with comments | « no previous file | content/child/blink_platform_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/threading/thread_local_storage.h" 9 #include "base/threading/thread_local_storage.h"
10 #include "base/timer/timer.h" 10 #include "base/timer/timer.h"
(...skipping 13 matching lines...) Expand all
24 #elif defined(OS_MACOSX) 24 #elif defined(OS_MACOSX)
25 #include "content/child/webthemeengine_impl_mac.h" 25 #include "content/child/webthemeengine_impl_mac.h"
26 #elif defined(OS_ANDROID) 26 #elif defined(OS_ANDROID)
27 #include "content/child/webthemeengine_impl_android.h" 27 #include "content/child/webthemeengine_impl_android.h"
28 #endif 28 #endif
29 29
30 namespace base { 30 namespace base {
31 class MessageLoop; 31 class MessageLoop;
32 } 32 }
33 33
34 namespace blink {
35 class WebWorkerRunLoop;
36 }
37
34 namespace content { 38 namespace content {
35 class FlingCurveConfiguration; 39 class FlingCurveConfiguration;
36 class NotificationDispatcher; 40 class NotificationDispatcher;
37 class PushDispatcher; 41 class PushDispatcher;
38 class ThreadSafeSender; 42 class ThreadSafeSender;
39 class WebBluetoothImpl; 43 class WebBluetoothImpl;
40 class WebCryptoImpl; 44 class WebCryptoImpl;
41 class WebGeofencingProviderImpl; 45 class WebGeofencingProviderImpl;
42 46
43 class CONTENT_EXPORT BlinkPlatformImpl 47 class CONTENT_EXPORT BlinkPlatformImpl
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 virtual void stopSharedTimer(); 150 virtual void stopSharedTimer();
147 virtual void callOnMainThread(void (*func)(void*), void* context); 151 virtual void callOnMainThread(void (*func)(void*), void* context);
148 virtual blink::WebGestureCurve* createFlingAnimationCurve( 152 virtual blink::WebGestureCurve* createFlingAnimationCurve(
149 blink::WebGestureDevice device_source, 153 blink::WebGestureDevice device_source,
150 const blink::WebFloatPoint& velocity, 154 const blink::WebFloatPoint& velocity,
151 const blink::WebSize& cumulative_scroll); 155 const blink::WebSize& cumulative_scroll);
152 virtual void didStartWorkerRunLoop( 156 virtual void didStartWorkerRunLoop(
153 const blink::WebWorkerRunLoop& runLoop); 157 const blink::WebWorkerRunLoop& runLoop);
154 virtual void didStopWorkerRunLoop( 158 virtual void didStopWorkerRunLoop(
155 const blink::WebWorkerRunLoop& runLoop); 159 const blink::WebWorkerRunLoop& runLoop);
160 virtual void didStartWorkerRunLoop();
161 virtual void didStopWorkerRunLoop();
156 virtual blink::WebCrypto* crypto(); 162 virtual blink::WebCrypto* crypto();
157 virtual blink::WebGeofencingProvider* geofencingProvider(); 163 virtual blink::WebGeofencingProvider* geofencingProvider();
158 virtual blink::WebBluetooth* bluetooth(); 164 virtual blink::WebBluetooth* bluetooth();
159 virtual blink::WebNotificationManager* notificationManager(); 165 virtual blink::WebNotificationManager* notificationManager();
160 virtual blink::WebPushProvider* pushProvider(); 166 virtual blink::WebPushProvider* pushProvider();
161 virtual blink::WebNavigatorConnectProvider* navigatorConnectProvider(); 167 virtual blink::WebNavigatorConnectProvider* navigatorConnectProvider();
162 168
163 void SuspendSharedTimer(); 169 void SuspendSharedTimer();
164 void ResumeSharedTimer(); 170 void ResumeSharedTimer();
165 virtual void OnStartSharedTimer(base::TimeDelta delay) {} 171 virtual void OnStartSharedTimer(base::TimeDelta delay) {}
(...skipping 29 matching lines...) Expand all
195 scoped_ptr<WebBluetoothImpl> bluetooth_; 201 scoped_ptr<WebBluetoothImpl> bluetooth_;
196 202
197 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 203 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
198 scoped_refptr<NotificationDispatcher> notification_dispatcher_; 204 scoped_refptr<NotificationDispatcher> notification_dispatcher_;
199 scoped_refptr<PushDispatcher> push_dispatcher_; 205 scoped_refptr<PushDispatcher> push_dispatcher_;
200 }; 206 };
201 207
202 } // namespace content 208 } // namespace content
203 209
204 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 210 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/child/blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698