| 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 <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 virtual WebKit::WebPlugin* CreatePluginReplacement( | 80 virtual WebKit::WebPlugin* CreatePluginReplacement( |
| 81 content::RenderView* render_view, | 81 content::RenderView* render_view, |
| 82 const base::FilePath& plugin_path) OVERRIDE; | 82 const base::FilePath& plugin_path) OVERRIDE; |
| 83 virtual bool HasErrorPage(int http_status_code, | 83 virtual bool HasErrorPage(int http_status_code, |
| 84 std::string* error_domain) OVERRIDE; | 84 std::string* error_domain) OVERRIDE; |
| 85 virtual bool ShouldSuppressErrorPage(const GURL& url) OVERRIDE; | 85 virtual bool ShouldSuppressErrorPage(const GURL& url) OVERRIDE; |
| 86 virtual void GetNavigationErrorStrings( | 86 virtual void GetNavigationErrorStrings( |
| 87 WebKit::WebFrame* frame, | 87 WebKit::WebFrame* frame, |
| 88 const WebKit::WebURLRequest& failed_request, | 88 const WebKit::WebURLRequest& failed_request, |
| 89 const WebKit::WebURLError& error, | 89 const WebKit::WebURLError& error, |
| 90 const std::string& accept_languages, |
| 90 std::string* error_html, | 91 std::string* error_html, |
| 91 string16* error_description) OVERRIDE; | 92 string16* error_description) OVERRIDE; |
| 92 virtual void DeferMediaLoad(content::RenderView* render_view, | 93 virtual void DeferMediaLoad(content::RenderView* render_view, |
| 93 const base::Closure& closure) OVERRIDE; | 94 const base::Closure& closure) OVERRIDE; |
| 94 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; | 95 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; |
| 95 virtual bool AllowPopup() OVERRIDE; | 96 virtual bool AllowPopup() OVERRIDE; |
| 96 virtual bool ShouldFork(WebKit::WebFrame* frame, | 97 virtual bool ShouldFork(WebKit::WebFrame* frame, |
| 97 const GURL& url, | 98 const GURL& url, |
| 98 const std::string& http_method, | 99 const std::string& http_method, |
| 99 bool is_initial_navigation, | 100 bool is_initial_navigation, |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 scoped_ptr<SearchBouncer> search_bouncer_; | 217 scoped_ptr<SearchBouncer> search_bouncer_; |
| 217 | 218 |
| 218 #if defined(ENABLE_PLUGINS) | 219 #if defined(ENABLE_PLUGINS) |
| 219 std::set<std::string> allowed_file_handle_origins_; | 220 std::set<std::string> allowed_file_handle_origins_; |
| 220 #endif | 221 #endif |
| 221 }; | 222 }; |
| 222 | 223 |
| 223 } // namespace chrome | 224 } // namespace chrome |
| 224 | 225 |
| 225 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 226 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |