| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 bool HasErrorPage(int http_status_code, std::string* error_domain) override; | 99 bool HasErrorPage(int http_status_code, std::string* error_domain) override; |
| 100 bool ShouldSuppressErrorPage(content::RenderFrame* render_frame, | 100 bool ShouldSuppressErrorPage(content::RenderFrame* render_frame, |
| 101 const GURL& url) override; | 101 const GURL& url) override; |
| 102 void GetNavigationErrorStrings(content::RenderView* render_view, | 102 void GetNavigationErrorStrings(content::RenderView* render_view, |
| 103 blink::WebFrame* frame, | 103 blink::WebFrame* frame, |
| 104 const blink::WebURLRequest& failed_request, | 104 const blink::WebURLRequest& failed_request, |
| 105 const blink::WebURLError& error, | 105 const blink::WebURLError& error, |
| 106 std::string* error_html, | 106 std::string* error_html, |
| 107 base::string16* error_description) override; | 107 base::string16* error_description) override; |
| 108 void DeferMediaLoad(content::RenderFrame* render_frame, | 108 void DeferMediaLoad(content::RenderFrame* render_frame, |
| 109 bool has_played_media_before, |
| 109 const base::Closure& closure) override; | 110 const base::Closure& closure) override; |
| 110 bool RunIdleHandlerWhenWidgetsHidden() override; | 111 bool RunIdleHandlerWhenWidgetsHidden() override; |
| 111 bool AllowPopup() override; | 112 bool AllowPopup() override; |
| 112 bool ShouldFork(blink::WebLocalFrame* frame, | 113 bool ShouldFork(blink::WebLocalFrame* frame, |
| 113 const GURL& url, | 114 const GURL& url, |
| 114 const std::string& http_method, | 115 const std::string& http_method, |
| 115 bool is_initial_navigation, | 116 bool is_initial_navigation, |
| 116 bool is_server_redirect, | 117 bool is_server_redirect, |
| 117 bool* send_referrer) override; | 118 bool* send_referrer) override; |
| 118 bool WillSendRequest(blink::WebFrame* frame, | 119 bool WillSendRequest(blink::WebFrame* frame, |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 #if defined(ENABLE_PRINT_PREVIEW) | 249 #if defined(ENABLE_PRINT_PREVIEW) |
| 249 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; | 250 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; |
| 250 #endif | 251 #endif |
| 251 #if defined(ENABLE_PLUGINS) | 252 #if defined(ENABLE_PLUGINS) |
| 252 std::set<std::string> allowed_camera_device_origins_; | 253 std::set<std::string> allowed_camera_device_origins_; |
| 253 std::set<std::string> allowed_compositor_origins_; | 254 std::set<std::string> allowed_compositor_origins_; |
| 254 #endif | 255 #endif |
| 255 }; | 256 }; |
| 256 | 257 |
| 257 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 258 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |