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

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

Issue 668303004: WIP DO NOT COMMIT chromium side of navigator.connect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 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
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_
OLDNEW
« no previous file with comments | « content/browser/shared_worker/shared_worker_host.cc ('k') | content/child/blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698