| 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 const std::string& mime_type, | 139 const std::string& mime_type, |
| 140 const GURL& original_url) override; | 140 const GURL& original_url) override; |
| 141 void RecordRappor(const std::string& metric, | 141 void RecordRappor(const std::string& metric, |
| 142 const std::string& sample) override; | 142 const std::string& sample) override; |
| 143 void RecordRapporURL(const std::string& metric, const GURL& url) override; | 143 void RecordRapporURL(const std::string& metric, const GURL& url) override; |
| 144 scoped_ptr<blink::WebAppBannerClient> CreateAppBannerClient( | 144 scoped_ptr<blink::WebAppBannerClient> CreateAppBannerClient( |
| 145 content::RenderFrame* render_frame) override; | 145 content::RenderFrame* render_frame) override; |
| 146 void AddImageContextMenuProperties( | 146 void AddImageContextMenuProperties( |
| 147 const blink::WebURLResponse& response, | 147 const blink::WebURLResponse& response, |
| 148 std::map<std::string, std::string>* properties) override; | 148 std::map<std::string, std::string>* properties) override; |
| 149 void RunScriptsAtDocumentStart(content::RenderFrame* render_frame) override; |
| 150 void RunScriptsAtDocumentEnd(content::RenderFrame* render_frame) override; |
| 149 void DidInitializeServiceWorkerContextOnWorkerThread( | 151 void DidInitializeServiceWorkerContextOnWorkerThread( |
| 150 v8::Local<v8::Context> context, | 152 v8::Local<v8::Context> context, |
| 151 const GURL& url) override; | 153 const GURL& url) override; |
| 152 void WillDestroyServiceWorkerContextOnWorkerThread( | 154 void WillDestroyServiceWorkerContextOnWorkerThread( |
| 153 v8::Local<v8::Context> context, | 155 v8::Local<v8::Context> context, |
| 154 const GURL& url) override; | 156 const GURL& url) override; |
| 155 bool ShouldEnforceWebRTCRoutingPreferences() override; | 157 bool ShouldEnforceWebRTCRoutingPreferences() override; |
| 156 base::StringPiece GetOriginTrialPublicKey() override; | 158 base::StringPiece GetOriginTrialPublicKey() override; |
| 157 | 159 |
| 158 #if defined(ENABLE_SPELLCHECK) | 160 #if defined(ENABLE_SPELLCHECK) |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 #if defined(ENABLE_PRINT_PREVIEW) | 218 #if defined(ENABLE_PRINT_PREVIEW) |
| 217 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; | 219 scoped_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 |