| 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 void WillDestroyServiceWorkerContextOnWorkerThread( | 189 void WillDestroyServiceWorkerContextOnWorkerThread( |
| 190 v8::Local<v8::Context> context, | 190 v8::Local<v8::Context> context, |
| 191 int64_t service_worker_version_id, | 191 int64_t service_worker_version_id, |
| 192 const GURL& url) override; | 192 const GURL& url) override; |
| 193 bool ShouldEnforceWebRTCRoutingPreferences() override; | 193 bool ShouldEnforceWebRTCRoutingPreferences() override; |
| 194 GURL OverrideFlashEmbedWithHTML(const GURL& url) override; | 194 GURL OverrideFlashEmbedWithHTML(const GURL& url) override; |
| 195 std::unique_ptr<base::TaskScheduler::InitParams> GetTaskSchedulerInitParams() | 195 std::unique_ptr<base::TaskScheduler::InitParams> GetTaskSchedulerInitParams() |
| 196 override; | 196 override; |
| 197 blink::WebFrame* FindFrame(blink::WebLocalFrame* relative_to_frame, |
| 198 const std::string& name) override; |
| 197 | 199 |
| 198 #if BUILDFLAG(ENABLE_SPELLCHECK) | 200 #if BUILDFLAG(ENABLE_SPELLCHECK) |
| 199 // Sets a new |spellcheck|. Used for testing only. | 201 // Sets a new |spellcheck|. Used for testing only. |
| 200 // Takes ownership of |spellcheck|. | 202 // Takes ownership of |spellcheck|. |
| 201 void SetSpellcheck(SpellCheck* spellcheck); | 203 void SetSpellcheck(SpellCheck* spellcheck); |
| 202 #endif | 204 #endif |
| 203 | 205 |
| 204 #if BUILDFLAG(ENABLE_PLUGINS) | 206 #if BUILDFLAG(ENABLE_PLUGINS) |
| 205 static blink::WebPlugin* CreatePlugin( | 207 static blink::WebPlugin* CreatePlugin( |
| 206 content::RenderFrame* render_frame, | 208 content::RenderFrame* render_frame, |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 // Observes module load and unload events and notifies the ModuleDatabase in | 275 // Observes module load and unload events and notifies the ModuleDatabase in |
| 274 // the browser process. | 276 // the browser process. |
| 275 std::unique_ptr<ModuleWatcher> module_watcher_; | 277 std::unique_ptr<ModuleWatcher> module_watcher_; |
| 276 mojom::ModuleEventSinkPtr module_event_sink_; | 278 mojom::ModuleEventSinkPtr module_event_sink_; |
| 277 #endif | 279 #endif |
| 278 | 280 |
| 279 DISALLOW_COPY_AND_ASSIGN(ChromeContentRendererClient); | 281 DISALLOW_COPY_AND_ASSIGN(ChromeContentRendererClient); |
| 280 }; | 282 }; |
| 281 | 283 |
| 282 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 284 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |