OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 void DidInitializeServiceWorkerContextOnWorkerThread( | 175 void DidInitializeServiceWorkerContextOnWorkerThread( |
176 v8::Local<v8::Context> context, | 176 v8::Local<v8::Context> context, |
177 int64_t service_worker_version_id, | 177 int64_t service_worker_version_id, |
178 const GURL& url) override; | 178 const GURL& url) override; |
179 void WillDestroyServiceWorkerContextOnWorkerThread( | 179 void WillDestroyServiceWorkerContextOnWorkerThread( |
180 v8::Local<v8::Context> context, | 180 v8::Local<v8::Context> context, |
181 int64_t service_worker_version_id, | 181 int64_t service_worker_version_id, |
182 const GURL& url) override; | 182 const GURL& url) override; |
183 bool ShouldEnforceWebRTCRoutingPreferences() override; | 183 bool ShouldEnforceWebRTCRoutingPreferences() override; |
184 GURL OverrideFlashEmbedWithHTML(const GURL& url) override; | 184 GURL OverrideFlashEmbedWithHTML(const GURL& url) override; |
| 185 void GetTaskSchedulerInitializationParams( |
| 186 std::vector<base::SchedulerWorkerPoolParams>* params_vector, |
| 187 base::TaskScheduler::WorkerPoolIndexForTraitsCallback* |
| 188 index_to_traits_callback) override; |
185 | 189 |
186 #if BUILDFLAG(ENABLE_SPELLCHECK) | 190 #if BUILDFLAG(ENABLE_SPELLCHECK) |
187 // Sets a new |spellcheck|. Used for testing only. | 191 // Sets a new |spellcheck|. Used for testing only. |
188 // Takes ownership of |spellcheck|. | 192 // Takes ownership of |spellcheck|. |
189 void SetSpellcheck(SpellCheck* spellcheck); | 193 void SetSpellcheck(SpellCheck* spellcheck); |
190 #endif | 194 #endif |
191 | 195 |
192 #if BUILDFLAG(ENABLE_PLUGINS) | 196 #if BUILDFLAG(ENABLE_PLUGINS) |
193 static blink::WebPlugin* CreatePlugin( | 197 static blink::WebPlugin* CreatePlugin( |
194 content::RenderFrame* render_frame, | 198 content::RenderFrame* render_frame, |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 #endif | 255 #endif |
252 | 256 |
253 #if defined(OS_CHROMEOS) | 257 #if defined(OS_CHROMEOS) |
254 std::unique_ptr<LeakDetectorRemoteClient> leak_detector_remote_client_; | 258 std::unique_ptr<LeakDetectorRemoteClient> leak_detector_remote_client_; |
255 #endif | 259 #endif |
256 | 260 |
257 DISALLOW_COPY_AND_ASSIGN(ChromeContentRendererClient); | 261 DISALLOW_COPY_AND_ASSIGN(ChromeContentRendererClient); |
258 }; | 262 }; |
259 | 263 |
260 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 264 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |