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 <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 const std::string& sample) override; | 147 const std::string& sample) override; |
148 void RecordRapporURL(const std::string& metric, const GURL& url) override; | 148 void RecordRapporURL(const std::string& metric, const GURL& url) override; |
149 scoped_ptr<blink::WebAppBannerClient> CreateAppBannerClient( | 149 scoped_ptr<blink::WebAppBannerClient> CreateAppBannerClient( |
150 content::RenderFrame* render_frame) override; | 150 content::RenderFrame* render_frame) override; |
151 void AddImageContextMenuProperties( | 151 void AddImageContextMenuProperties( |
152 const blink::WebURLResponse& response, | 152 const blink::WebURLResponse& response, |
153 std::map<std::string, std::string>* properties) override; | 153 std::map<std::string, std::string>* properties) override; |
154 void DidInitializeServiceWorkerContextOnWorkerThread( | 154 void DidInitializeServiceWorkerContextOnWorkerThread( |
155 v8::Local<v8::Context> context, | 155 v8::Local<v8::Context> context, |
156 const GURL& url) override; | 156 const GURL& url) override; |
157 void WillDestroyServiceWorkerContextOnWorkerThread(const GURL& url) override; | 157 void WillDestroyServiceWorkerContextOnWorkerThread( |
| 158 v8::Local<v8::Context> context, |
| 159 const GURL& url) override; |
158 #if defined(ENABLE_EXTENSIONS) | 160 #if defined(ENABLE_EXTENSIONS) |
159 // Takes ownership. | 161 // Takes ownership. |
160 void SetExtensionDispatcherForTest( | 162 void SetExtensionDispatcherForTest( |
161 extensions::Dispatcher* extension_dispatcher); | 163 extensions::Dispatcher* extension_dispatcher); |
162 extensions::Dispatcher* GetExtensionDispatcherForTest(); | 164 extensions::Dispatcher* GetExtensionDispatcherForTest(); |
163 #endif | 165 #endif |
164 | 166 |
165 #if defined(ENABLE_SPELLCHECK) | 167 #if defined(ENABLE_SPELLCHECK) |
166 // Sets a new |spellcheck|. Used for testing only. | 168 // Sets a new |spellcheck|. Used for testing only. |
167 // Takes ownership of |spellcheck|. | 169 // Takes ownership of |spellcheck|. |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 #if defined(ENABLE_PRINT_PREVIEW) | 247 #if defined(ENABLE_PRINT_PREVIEW) |
246 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; | 248 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; |
247 #endif | 249 #endif |
248 #if defined(ENABLE_PLUGINS) | 250 #if defined(ENABLE_PLUGINS) |
249 std::set<std::string> allowed_camera_device_origins_; | 251 std::set<std::string> allowed_camera_device_origins_; |
250 std::set<std::string> allowed_compositor_origins_; | 252 std::set<std::string> allowed_compositor_origins_; |
251 #endif | 253 #endif |
252 }; | 254 }; |
253 | 255 |
254 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 256 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |