| 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 void RecordRapporURL(const std::string& metric, const GURL& url) override; | 145 void RecordRapporURL(const std::string& metric, const GURL& url) override; |
| 146 std::unique_ptr<blink::WebAppBannerClient> CreateAppBannerClient( | 146 std::unique_ptr<blink::WebAppBannerClient> CreateAppBannerClient( |
| 147 content::RenderFrame* render_frame) override; | 147 content::RenderFrame* render_frame) override; |
| 148 void AddImageContextMenuProperties( | 148 void AddImageContextMenuProperties( |
| 149 const blink::WebURLResponse& response, | 149 const blink::WebURLResponse& response, |
| 150 std::map<std::string, std::string>* properties) override; | 150 std::map<std::string, std::string>* properties) override; |
| 151 void RunScriptsAtDocumentStart(content::RenderFrame* render_frame) override; | 151 void RunScriptsAtDocumentStart(content::RenderFrame* render_frame) override; |
| 152 void RunScriptsAtDocumentEnd(content::RenderFrame* render_frame) override; | 152 void RunScriptsAtDocumentEnd(content::RenderFrame* render_frame) override; |
| 153 void DidInitializeServiceWorkerContextOnWorkerThread( | 153 void DidInitializeServiceWorkerContextOnWorkerThread( |
| 154 v8::Local<v8::Context> context, | 154 v8::Local<v8::Context> context, |
| 155 int embedded_worker_id, |
| 155 const GURL& url) override; | 156 const GURL& url) override; |
| 156 void WillDestroyServiceWorkerContextOnWorkerThread( | 157 void WillDestroyServiceWorkerContextOnWorkerThread( |
| 157 v8::Local<v8::Context> context, | 158 v8::Local<v8::Context> context, |
| 159 int embedded_worker_id, |
| 158 const GURL& url) override; | 160 const GURL& url) override; |
| 159 bool ShouldEnforceWebRTCRoutingPreferences() override; | 161 bool ShouldEnforceWebRTCRoutingPreferences() override; |
| 160 | 162 |
| 161 #if defined(ENABLE_SPELLCHECK) | 163 #if defined(ENABLE_SPELLCHECK) |
| 162 // Sets a new |spellcheck|. Used for testing only. | 164 // Sets a new |spellcheck|. Used for testing only. |
| 163 // Takes ownership of |spellcheck|. | 165 // Takes ownership of |spellcheck|. |
| 164 void SetSpellcheck(SpellCheck* spellcheck); | 166 void SetSpellcheck(SpellCheck* spellcheck); |
| 165 #endif | 167 #endif |
| 166 | 168 |
| 167 #if defined(ENABLE_PLUGINS) | 169 #if defined(ENABLE_PLUGINS) |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 #if defined(ENABLE_PRINT_PREVIEW) | 219 #if defined(ENABLE_PRINT_PREVIEW) |
| 218 std::unique_ptr<ChromePDFPrintClient> pdf_print_client_; | 220 std::unique_ptr<ChromePDFPrintClient> pdf_print_client_; |
| 219 #endif | 221 #endif |
| 220 #if defined(ENABLE_PLUGINS) | 222 #if defined(ENABLE_PLUGINS) |
| 221 std::set<std::string> allowed_camera_device_origins_; | 223 std::set<std::string> allowed_camera_device_origins_; |
| 222 std::set<std::string> allowed_compositor_origins_; | 224 std::set<std::string> allowed_compositor_origins_; |
| 223 #endif | 225 #endif |
| 224 }; | 226 }; |
| 225 | 227 |
| 226 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 228 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |