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