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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 const blink::WebString& value1, | 116 const blink::WebString& value1, |
117 const blink::WebString& value2) override; | 117 const blink::WebString& value2) override; |
118 void suddenTerminationChanged(bool enabled) override {} | 118 void suddenTerminationChanged(bool enabled) override {} |
119 blink::WebThread* compositorThread() const override; | 119 blink::WebThread* compositorThread() const override; |
120 blink::WebGestureCurve* createFlingAnimationCurve( | 120 blink::WebGestureCurve* createFlingAnimationCurve( |
121 blink::WebGestureDevice device_source, | 121 blink::WebGestureDevice device_source, |
122 const blink::WebFloatPoint& velocity, | 122 const blink::WebFloatPoint& velocity, |
123 const blink::WebSize& cumulative_scroll) override; | 123 const blink::WebSize& cumulative_scroll) override; |
124 void didStartWorkerThread() override; | 124 void didStartWorkerThread() override; |
125 void willStopWorkerThread() override; | 125 void willStopWorkerThread() override; |
| 126 bool allowScriptExtensionForServiceWorker( |
| 127 const blink::WebURL& script_url) override; |
126 blink::WebCrypto* crypto() override; | 128 blink::WebCrypto* crypto() override; |
127 blink::WebGeofencingProvider* geofencingProvider() override; | 129 blink::WebGeofencingProvider* geofencingProvider() override; |
128 blink::WebNotificationManager* notificationManager() override; | 130 blink::WebNotificationManager* notificationManager() override; |
129 blink::WebPushProvider* pushProvider() override; | 131 blink::WebPushProvider* pushProvider() override; |
130 blink::WebPermissionClient* permissionClient() override; | 132 blink::WebPermissionClient* permissionClient() override; |
131 blink::WebSyncProvider* backgroundSyncProvider() override; | 133 blink::WebSyncProvider* backgroundSyncProvider() override; |
132 | 134 |
133 blink::WebString domCodeStringFromEnum(int dom_code) override; | 135 blink::WebString domCodeStringFromEnum(int dom_code) override; |
134 int domEnumFromCodeString(const blink::WebString& codeString) override; | 136 int domEnumFromCodeString(const blink::WebString& codeString) override; |
135 blink::WebString domKeyStringFromEnum(int dom_key) override; | 137 blink::WebString domKeyStringFromEnum(int dom_key) override; |
(...skipping 26 matching lines...) Expand all Loading... |
162 scoped_refptr<PushDispatcher> push_dispatcher_; | 164 scoped_refptr<PushDispatcher> push_dispatcher_; |
163 std::unique_ptr<PermissionDispatcher> permission_client_; | 165 std::unique_ptr<PermissionDispatcher> permission_client_; |
164 std::unique_ptr<BackgroundSyncProvider> main_thread_sync_provider_; | 166 std::unique_ptr<BackgroundSyncProvider> main_thread_sync_provider_; |
165 | 167 |
166 scheduler::WebThreadBase* compositor_thread_; | 168 scheduler::WebThreadBase* compositor_thread_; |
167 }; | 169 }; |
168 | 170 |
169 } // namespace content | 171 } // namespace content |
170 | 172 |
171 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 173 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |