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