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_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_ |
6 #define CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_ | 6 #define CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 17 matching lines...) Expand all Loading... |
28 const WebKit::WebPluginParams& params, | 28 const WebKit::WebPluginParams& params, |
29 WebKit::WebPlugin** plugin) OVERRIDE; | 29 WebKit::WebPlugin** plugin) OVERRIDE; |
30 virtual bool HasErrorPage(int http_status_code, | 30 virtual bool HasErrorPage(int http_status_code, |
31 std::string* error_domain) OVERRIDE; | 31 std::string* error_domain) OVERRIDE; |
32 virtual void GetNavigationErrorStrings( | 32 virtual void GetNavigationErrorStrings( |
33 const WebKit::WebURLRequest& failed_request, | 33 const WebKit::WebURLRequest& failed_request, |
34 const WebKit::WebURLError& error, | 34 const WebKit::WebURLError& error, |
35 std::string* error_html, | 35 std::string* error_html, |
36 string16* error_description) OVERRIDE; | 36 string16* error_description) OVERRIDE; |
37 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; | 37 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; |
| 38 virtual bool RunIdleHandlerWhenUserIdle() OVERRIDE; |
38 virtual bool AllowPopup(const GURL& creator) OVERRIDE; | 39 virtual bool AllowPopup(const GURL& creator) OVERRIDE; |
39 virtual bool ShouldFork(WebKit::WebFrame* frame, | 40 virtual bool ShouldFork(WebKit::WebFrame* frame, |
40 const GURL& url, | 41 const GURL& url, |
41 bool is_content_initiated, | 42 bool is_content_initiated, |
42 bool is_initial_navigation, | 43 bool is_initial_navigation, |
43 bool* send_referrer) OVERRIDE; | 44 bool* send_referrer) OVERRIDE; |
44 virtual bool WillSendRequest(WebKit::WebFrame* frame, | 45 virtual bool WillSendRequest(WebKit::WebFrame* frame, |
45 const GURL& url, | 46 const GURL& url, |
46 GURL* new_url) OVERRIDE; | 47 GURL* new_url) OVERRIDE; |
47 virtual bool ShouldPumpEventsDuringCookieMessage() OVERRIDE; | 48 virtual bool ShouldPumpEventsDuringCookieMessage() OVERRIDE; |
(...skipping 20 matching lines...) Expand all Loading... |
68 const std::string& value) OVERRIDE; | 69 const std::string& value) OVERRIDE; |
69 virtual bool IsProtocolSupportedForMedia(const GURL& url) OVERRIDE; | 70 virtual bool IsProtocolSupportedForMedia(const GURL& url) OVERRIDE; |
70 virtual void RegisterPPAPIInterfaceFactories( | 71 virtual void RegisterPPAPIInterfaceFactories( |
71 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; | 72 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; |
72 | 73 |
73 }; | 74 }; |
74 | 75 |
75 } // namespace content | 76 } // namespace content |
76 | 77 |
77 #endif // CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_ | 78 #endif // CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |