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