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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 WebKit::WebPlugin** plugin) OVERRIDE; | 78 WebKit::WebPlugin** plugin) OVERRIDE; |
79 virtual WebKit::WebPlugin* CreatePluginReplacement( | 79 virtual WebKit::WebPlugin* CreatePluginReplacement( |
80 content::RenderView* render_view, | 80 content::RenderView* render_view, |
81 const base::FilePath& plugin_path) OVERRIDE; | 81 const base::FilePath& plugin_path) OVERRIDE; |
82 virtual bool HasErrorPage(int http_status_code, | 82 virtual bool HasErrorPage(int http_status_code, |
83 std::string* error_domain) OVERRIDE; | 83 std::string* error_domain) OVERRIDE; |
84 virtual void GetNavigationErrorStrings( | 84 virtual void GetNavigationErrorStrings( |
85 WebKit::WebFrame* frame, | 85 WebKit::WebFrame* frame, |
86 const WebKit::WebURLRequest& failed_request, | 86 const WebKit::WebURLRequest& failed_request, |
87 const WebKit::WebURLError& error, | 87 const WebKit::WebURLError& error, |
| 88 const std::string& accept_languages, |
88 std::string* error_html, | 89 std::string* error_html, |
89 string16* error_description) OVERRIDE; | 90 string16* error_description) OVERRIDE; |
90 virtual void DeferMediaLoad(content::RenderView* render_view, | 91 virtual void DeferMediaLoad(content::RenderView* render_view, |
91 const base::Closure& closure) OVERRIDE; | 92 const base::Closure& closure) OVERRIDE; |
92 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; | 93 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; |
93 virtual bool AllowPopup() OVERRIDE; | 94 virtual bool AllowPopup() OVERRIDE; |
94 virtual bool ShouldFork(WebKit::WebFrame* frame, | 95 virtual bool ShouldFork(WebKit::WebFrame* frame, |
95 const GURL& url, | 96 const GURL& url, |
96 const std::string& http_method, | 97 const std::string& http_method, |
97 bool is_initial_navigation, | 98 bool is_initial_navigation, |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 #endif | 212 #endif |
212 | 213 |
213 #if defined(ENABLE_PLUGINS) | 214 #if defined(ENABLE_PLUGINS) |
214 std::set<std::string> allowed_file_handle_origins_; | 215 std::set<std::string> allowed_file_handle_origins_; |
215 #endif | 216 #endif |
216 }; | 217 }; |
217 | 218 |
218 } // namespace chrome | 219 } // namespace chrome |
219 | 220 |
220 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 221 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |