OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ |
6 #define CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ | 6 #define CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "content/public/renderer/content_renderer_client.h" | 10 #include "content/public/renderer/content_renderer_client.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 RenderView* render_view, | 23 RenderView* render_view, |
24 WebKit::WebFrame* frame, | 24 WebKit::WebFrame* frame, |
25 const WebKit::WebPluginParams& params, | 25 const WebKit::WebPluginParams& params, |
26 WebKit::WebPlugin** plugin) OVERRIDE; | 26 WebKit::WebPlugin** plugin) OVERRIDE; |
27 virtual void ShowErrorPage(RenderView* render_view, | 27 virtual void ShowErrorPage(RenderView* render_view, |
28 WebKit::WebFrame* frame, | 28 WebKit::WebFrame* frame, |
29 int http_status_code) OVERRIDE; | 29 int http_status_code) OVERRIDE; |
30 virtual std::string GetNavigationErrorHtml( | 30 virtual std::string GetNavigationErrorHtml( |
31 const WebKit::WebURLRequest& failed_request, | 31 const WebKit::WebURLRequest& failed_request, |
32 const WebKit::WebURLError& error) OVERRIDE; | 32 const WebKit::WebURLError& error) OVERRIDE; |
| 33 virtual string16 GetNavigationErrorDescription( |
| 34 const WebKit::WebURLRequest& failed_request, |
| 35 const WebKit::WebURLError& error) OVERRIDE; |
33 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; | 36 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; |
34 virtual bool AllowPopup(const GURL& creator) OVERRIDE; | 37 virtual bool AllowPopup(const GURL& creator) OVERRIDE; |
35 virtual bool ShouldFork(WebKit::WebFrame* frame, | 38 virtual bool ShouldFork(WebKit::WebFrame* frame, |
36 const GURL& url, | 39 const GURL& url, |
37 bool is_content_initiated, | 40 bool is_content_initiated, |
38 bool is_initial_navigation, | 41 bool is_initial_navigation, |
39 bool* send_referrer) OVERRIDE; | 42 bool* send_referrer) OVERRIDE; |
40 virtual bool WillSendRequest(WebKit::WebFrame* frame, | 43 virtual bool WillSendRequest(WebKit::WebFrame* frame, |
41 const GURL& url, | 44 const GURL& url, |
42 GURL* new_url) OVERRIDE; | 45 GURL* new_url) OVERRIDE; |
(...skipping 18 matching lines...) Expand all Loading... |
61 virtual bool HandleSetCookieRequest(RenderView* sender, | 64 virtual bool HandleSetCookieRequest(RenderView* sender, |
62 const GURL& url, | 65 const GURL& url, |
63 const GURL& first_party_for_cookies, | 66 const GURL& first_party_for_cookies, |
64 const std::string& value) OVERRIDE; | 67 const std::string& value) OVERRIDE; |
65 virtual bool IsProtocolSupportedForMedia(const GURL& url) OVERRIDE; | 68 virtual bool IsProtocolSupportedForMedia(const GURL& url) OVERRIDE; |
66 }; | 69 }; |
67 | 70 |
68 } // namespace content | 71 } // namespace content |
69 | 72 |
70 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ | 73 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |