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