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