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

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

Issue 781723002: Pass navigator.connect calls through to the browser process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
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/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
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 blink::WebNavigatorConnectProvider* navigatorConnectProvider();
161 162
162 void SuspendSharedTimer(); 163 void SuspendSharedTimer();
163 void ResumeSharedTimer(); 164 void ResumeSharedTimer();
164 virtual void OnStartSharedTimer(base::TimeDelta delay) {} 165 virtual void OnStartSharedTimer(base::TimeDelta delay) {}
165 166
166 WebBluetoothImpl* BluetoothImplForTesting() { return bluetooth_.get(); } 167 WebBluetoothImpl* BluetoothImplForTesting() { return bluetooth_.get(); }
167 168
168 private: 169 private:
169 static void DestroyCurrentThread(void*); 170 static void DestroyCurrentThread(void*);
170 171
(...skipping 20 matching lines...) Expand all
191 scoped_ptr<WebBluetoothImpl> bluetooth_; 192 scoped_ptr<WebBluetoothImpl> bluetooth_;
192 193
193 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 194 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
194 scoped_refptr<NotificationDispatcher> notification_dispatcher_; 195 scoped_refptr<NotificationDispatcher> notification_dispatcher_;
195 scoped_refptr<PushDispatcher> push_dispatcher_; 196 scoped_refptr<PushDispatcher> push_dispatcher_;
196 }; 197 };
197 198
198 } // namespace content 199 } // namespace content
199 200
200 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 201 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698