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 content::RenderView* render_view, | 78 content::RenderView* render_view, |
79 const base::FilePath& plugin_path) OVERRIDE; | 79 const base::FilePath& plugin_path) OVERRIDE; |
80 virtual bool HasErrorPage(int http_status_code, | 80 virtual bool HasErrorPage(int http_status_code, |
81 std::string* error_domain) OVERRIDE; | 81 std::string* error_domain) OVERRIDE; |
82 virtual void GetNavigationErrorStrings( | 82 virtual void GetNavigationErrorStrings( |
83 WebKit::WebFrame* frame, | 83 WebKit::WebFrame* frame, |
84 const WebKit::WebURLRequest& failed_request, | 84 const WebKit::WebURLRequest& failed_request, |
85 const WebKit::WebURLError& error, | 85 const WebKit::WebURLError& error, |
86 std::string* error_html, | 86 std::string* error_html, |
87 string16* error_description) OVERRIDE; | 87 string16* error_description) OVERRIDE; |
88 virtual webkit_media::WebMediaPlayerImpl* OverrideCreateWebMediaPlayer( | 88 virtual content::WebMediaPlayerImpl* OverrideCreateWebMediaPlayer( |
89 content::RenderView* render_view, | 89 content::RenderView* render_view, |
90 WebKit::WebFrame* frame, | 90 WebKit::WebFrame* frame, |
91 WebKit::WebMediaPlayerClient* client, | 91 WebKit::WebMediaPlayerClient* client, |
92 base::WeakPtr<webkit_media::WebMediaPlayerDelegate> delegate, | 92 base::WeakPtr<content::WebMediaPlayerDelegate> delegate, |
93 const webkit_media::WebMediaPlayerParams& params) OVERRIDE; | 93 const content::WebMediaPlayerParams& params) OVERRIDE; |
94 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; | 94 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; |
95 virtual bool AllowPopup() OVERRIDE; | 95 virtual bool AllowPopup() OVERRIDE; |
96 virtual bool ShouldFork(WebKit::WebFrame* frame, | 96 virtual bool ShouldFork(WebKit::WebFrame* frame, |
97 const GURL& url, | 97 const GURL& url, |
98 const std::string& http_method, | 98 const std::string& http_method, |
99 bool is_initial_navigation, | 99 bool is_initial_navigation, |
100 bool is_server_redirect, | 100 bool is_server_redirect, |
101 bool* send_referrer) OVERRIDE; | 101 bool* send_referrer) OVERRIDE; |
102 virtual bool WillSendRequest(WebKit::WebFrame* frame, | 102 virtual bool WillSendRequest(WebKit::WebFrame* frame, |
103 content::PageTransition transition_type, | 103 content::PageTransition transition_type, |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 #endif | 202 #endif |
203 | 203 |
204 #if defined(ENABLE_PLUGINS) | 204 #if defined(ENABLE_PLUGINS) |
205 std::set<std::string> allowed_file_handle_origins_; | 205 std::set<std::string> allowed_file_handle_origins_; |
206 #endif | 206 #endif |
207 }; | 207 }; |
208 | 208 |
209 } // namespace chrome | 209 } // namespace chrome |
210 | 210 |
211 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 211 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |