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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 std::string* error_html, | 75 std::string* error_html, |
76 string16* error_description) OVERRIDE; | 76 string16* error_description) OVERRIDE; |
77 virtual webkit_media::WebMediaPlayerImpl* OverrideCreateWebMediaPlayer( | 77 virtual webkit_media::WebMediaPlayerImpl* OverrideCreateWebMediaPlayer( |
78 content::RenderView* render_view, | 78 content::RenderView* render_view, |
79 WebKit::WebFrame* frame, | 79 WebKit::WebFrame* frame, |
80 WebKit::WebMediaPlayerClient* client, | 80 WebKit::WebMediaPlayerClient* client, |
81 base::WeakPtr<webkit_media::WebMediaPlayerDelegate> delegate, | 81 base::WeakPtr<webkit_media::WebMediaPlayerDelegate> delegate, |
82 const webkit_media::WebMediaPlayerParams& params) OVERRIDE; | 82 const webkit_media::WebMediaPlayerParams& params) OVERRIDE; |
83 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; | 83 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; |
84 virtual bool AllowPopup() OVERRIDE; | 84 virtual bool AllowPopup() OVERRIDE; |
| 85 virtual bool HandleNavigation(WebKit::WebFrame* frame, |
| 86 const WebKit::WebURLRequest& request, |
| 87 WebKit::WebNavigationType type, |
| 88 WebKit::WebNavigationPolicy default_policy, |
| 89 bool is_redirect) OVERRIDE; |
85 virtual bool ShouldFork(WebKit::WebFrame* frame, | 90 virtual bool ShouldFork(WebKit::WebFrame* frame, |
86 const GURL& url, | 91 const GURL& url, |
87 const std::string& http_method, | 92 const std::string& http_method, |
88 bool is_initial_navigation, | 93 bool is_initial_navigation, |
89 bool* send_referrer) OVERRIDE; | 94 bool* send_referrer) OVERRIDE; |
90 virtual bool WillSendRequest(WebKit::WebFrame* frame, | 95 virtual bool WillSendRequest(WebKit::WebFrame* frame, |
91 content::PageTransition transition_type, | 96 content::PageTransition transition_type, |
92 const GURL& url, | 97 const GURL& url, |
93 const GURL& first_party_for_cookies, | 98 const GURL& first_party_for_cookies, |
94 GURL* new_url) OVERRIDE; | 99 GURL* new_url) OVERRIDE; |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 scoped_ptr<components::VisitedLinkSlave> visited_link_slave_; | 186 scoped_ptr<components::VisitedLinkSlave> visited_link_slave_; |
182 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; | 187 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; |
183 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; | 188 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; |
184 // The whitelist for RequestOSFileHandle specified by commandline. | 189 // The whitelist for RequestOSFileHandle specified by commandline. |
185 std::vector<std::string> request_os_file_handle_allowed_hosts_; | 190 std::vector<std::string> request_os_file_handle_allowed_hosts_; |
186 }; | 191 }; |
187 | 192 |
188 } // namespace chrome | 193 } // namespace chrome |
189 | 194 |
190 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 195 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |