| 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 void DidInitializeServiceWorkerContextOnWorkerThread( | 181 void DidInitializeServiceWorkerContextOnWorkerThread( |
| 182 v8::Local<v8::Context> context, | 182 v8::Local<v8::Context> context, |
| 183 int64_t service_worker_version_id, | 183 int64_t service_worker_version_id, |
| 184 const GURL& url) override; | 184 const GURL& url) override; |
| 185 void WillDestroyServiceWorkerContextOnWorkerThread( | 185 void WillDestroyServiceWorkerContextOnWorkerThread( |
| 186 v8::Local<v8::Context> context, | 186 v8::Local<v8::Context> context, |
| 187 int64_t service_worker_version_id, | 187 int64_t service_worker_version_id, |
| 188 const GURL& url) override; | 188 const GURL& url) override; |
| 189 bool ShouldEnforceWebRTCRoutingPreferences() override; | 189 bool ShouldEnforceWebRTCRoutingPreferences() override; |
| 190 GURL OverrideFlashEmbedWithHTML(const GURL& url) override; | 190 GURL OverrideFlashEmbedWithHTML(const GURL& url) override; |
| 191 void GetTaskSchedulerInitializationParams( | 191 std::unique_ptr<base::TaskScheduler::InitParams> GetTaskSchedulerInitParams() |
| 192 std::vector<base::SchedulerWorkerPoolParams>* params_vector, | 192 override; |
| 193 base::TaskScheduler::WorkerPoolIndexForTraitsCallback* | |
| 194 index_to_traits_callback) override; | |
| 195 | 193 |
| 196 #if BUILDFLAG(ENABLE_SPELLCHECK) | 194 #if BUILDFLAG(ENABLE_SPELLCHECK) |
| 197 // Sets a new |spellcheck|. Used for testing only. | 195 // Sets a new |spellcheck|. Used for testing only. |
| 198 // Takes ownership of |spellcheck|. | 196 // Takes ownership of |spellcheck|. |
| 199 void SetSpellcheck(SpellCheck* spellcheck); | 197 void SetSpellcheck(SpellCheck* spellcheck); |
| 200 #endif | 198 #endif |
| 201 | 199 |
| 202 #if BUILDFLAG(ENABLE_PLUGINS) | 200 #if BUILDFLAG(ENABLE_PLUGINS) |
| 203 static blink::WebPlugin* CreatePlugin( | 201 static blink::WebPlugin* CreatePlugin( |
| 204 content::RenderFrame* render_frame, | 202 content::RenderFrame* render_frame, |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 // Observes module load and unload events and notifies the ModuleDatabase in | 266 // Observes module load and unload events and notifies the ModuleDatabase in |
| 269 // the browser process. | 267 // the browser process. |
| 270 std::unique_ptr<ModuleWatcher> module_watcher_; | 268 std::unique_ptr<ModuleWatcher> module_watcher_; |
| 271 mojom::ModuleEventSinkPtr module_event_sink_; | 269 mojom::ModuleEventSinkPtr module_event_sink_; |
| 272 #endif | 270 #endif |
| 273 | 271 |
| 274 DISALLOW_COPY_AND_ASSIGN(ChromeContentRendererClient); | 272 DISALLOW_COPY_AND_ASSIGN(ChromeContentRendererClient); |
| 275 }; | 273 }; |
| 276 | 274 |
| 277 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 275 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |