| 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 void RecordRapporURL(const std::string& metric, const GURL& url) override; | 171 void RecordRapporURL(const std::string& metric, const GURL& url) override; |
| 172 std::unique_ptr<blink::WebAppBannerClient> CreateAppBannerClient( | 172 std::unique_ptr<blink::WebAppBannerClient> CreateAppBannerClient( |
| 173 content::RenderFrame* render_frame) override; | 173 content::RenderFrame* render_frame) override; |
| 174 void AddImageContextMenuProperties( | 174 void AddImageContextMenuProperties( |
| 175 const blink::WebURLResponse& response, | 175 const blink::WebURLResponse& response, |
| 176 std::map<std::string, std::string>* properties) override; | 176 std::map<std::string, std::string>* properties) override; |
| 177 void RunScriptsAtDocumentStart(content::RenderFrame* render_frame) override; | 177 void RunScriptsAtDocumentStart(content::RenderFrame* render_frame) override; |
| 178 void RunScriptsAtDocumentEnd(content::RenderFrame* render_frame) override; | 178 void RunScriptsAtDocumentEnd(content::RenderFrame* render_frame) override; |
| 179 void DidInitializeServiceWorkerContextOnWorkerThread( | 179 void DidInitializeServiceWorkerContextOnWorkerThread( |
| 180 v8::Local<v8::Context> context, | 180 v8::Local<v8::Context> context, |
| 181 int embedded_worker_id, | 181 int64_t service_worker_version_id, |
| 182 const GURL& url) override; | 182 const GURL& url) override; |
| 183 void WillDestroyServiceWorkerContextOnWorkerThread( | 183 void WillDestroyServiceWorkerContextOnWorkerThread( |
| 184 v8::Local<v8::Context> context, | 184 v8::Local<v8::Context> context, |
| 185 int embedded_worker_id, | 185 int64_t service_worker_version_id, |
| 186 const GURL& url) override; | 186 const GURL& url) override; |
| 187 bool ShouldEnforceWebRTCRoutingPreferences() override; | 187 bool ShouldEnforceWebRTCRoutingPreferences() override; |
| 188 GURL OverrideFlashEmbedWithHTML(const GURL& url) override; | 188 GURL OverrideFlashEmbedWithHTML(const GURL& url) override; |
| 189 | 189 |
| 190 #if defined(ENABLE_SPELLCHECK) | 190 #if defined(ENABLE_SPELLCHECK) |
| 191 // Sets a new |spellcheck|. Used for testing only. | 191 // Sets a new |spellcheck|. Used for testing only. |
| 192 // Takes ownership of |spellcheck|. | 192 // Takes ownership of |spellcheck|. |
| 193 void SetSpellcheck(SpellCheck* spellcheck); | 193 void SetSpellcheck(SpellCheck* spellcheck); |
| 194 #endif | 194 #endif |
| 195 | 195 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 #endif | 255 #endif |
| 256 | 256 |
| 257 #if defined(OS_CHROMEOS) | 257 #if defined(OS_CHROMEOS) |
| 258 std::unique_ptr<LeakDetectorRemoteClient> leak_detector_remote_client_; | 258 std::unique_ptr<LeakDetectorRemoteClient> leak_detector_remote_client_; |
| 259 #endif | 259 #endif |
| 260 | 260 |
| 261 DISALLOW_COPY_AND_ASSIGN(ChromeContentRendererClient); | 261 DISALLOW_COPY_AND_ASSIGN(ChromeContentRendererClient); |
| 262 }; | 262 }; |
| 263 | 263 |
| 264 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 264 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |