| 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 const std::string& mime_type, | 142 const std::string& mime_type, |
| 143 const GURL& original_url) override; | 143 const GURL& original_url) override; |
| 144 void RecordRappor(const std::string& metric, | 144 void RecordRappor(const std::string& metric, |
| 145 const std::string& sample) override; | 145 const std::string& sample) override; |
| 146 void RecordRapporURL(const std::string& metric, const GURL& url) override; | 146 void RecordRapporURL(const std::string& metric, const GURL& url) override; |
| 147 scoped_ptr<blink::WebAppBannerClient> CreateAppBannerClient( | 147 scoped_ptr<blink::WebAppBannerClient> CreateAppBannerClient( |
| 148 content::RenderFrame* render_frame) override; | 148 content::RenderFrame* render_frame) override; |
| 149 void AddImageContextMenuProperties( | 149 void AddImageContextMenuProperties( |
| 150 const blink::WebURLResponse& response, | 150 const blink::WebURLResponse& response, |
| 151 std::map<std::string, std::string>* properties) override; | 151 std::map<std::string, std::string>* properties) override; |
| 152 void AfterDidCreateDocumentElement( |
| 153 const base::WeakPtr<content::RenderFrame>& render_frame) override; |
| 154 void AfterDidFinishDocumentLoad( |
| 155 const base::WeakPtr<content::RenderFrame>& render_frame) override; |
| 152 void DidInitializeServiceWorkerContextOnWorkerThread( | 156 void DidInitializeServiceWorkerContextOnWorkerThread( |
| 153 v8::Local<v8::Context> context, | 157 v8::Local<v8::Context> context, |
| 154 const GURL& url) override; | 158 const GURL& url) override; |
| 155 void WillDestroyServiceWorkerContextOnWorkerThread( | 159 void WillDestroyServiceWorkerContextOnWorkerThread( |
| 156 v8::Local<v8::Context> context, | 160 v8::Local<v8::Context> context, |
| 157 const GURL& url) override; | 161 const GURL& url) override; |
| 158 bool ShouldEnforceWebRTCRoutingPreferences() override; | 162 bool ShouldEnforceWebRTCRoutingPreferences() override; |
| 159 | 163 |
| 160 #if defined(ENABLE_SPELLCHECK) | 164 #if defined(ENABLE_SPELLCHECK) |
| 161 // Sets a new |spellcheck|. Used for testing only. | 165 // Sets a new |spellcheck|. Used for testing only. |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 #if defined(ENABLE_PRINT_PREVIEW) | 222 #if defined(ENABLE_PRINT_PREVIEW) |
| 219 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; | 223 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; |
| 220 #endif | 224 #endif |
| 221 #if defined(ENABLE_PLUGINS) | 225 #if defined(ENABLE_PLUGINS) |
| 222 std::set<std::string> allowed_camera_device_origins_; | 226 std::set<std::string> allowed_camera_device_origins_; |
| 223 std::set<std::string> allowed_compositor_origins_; | 227 std::set<std::string> allowed_compositor_origins_; |
| 224 #endif | 228 #endif |
| 225 }; | 229 }; |
| 226 | 230 |
| 227 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 231 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |