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 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 WebKit::WebFrame* frame, | 51 WebKit::WebFrame* frame, |
52 const WebKit::WebPluginParams& params, | 52 const WebKit::WebPluginParams& params, |
53 WebKit::WebPlugin** plugin) OVERRIDE; | 53 WebKit::WebPlugin** plugin) OVERRIDE; |
54 virtual bool HasErrorPage(int http_status_code, | 54 virtual bool HasErrorPage(int http_status_code, |
55 std::string* error_domain) OVERRIDE; | 55 std::string* error_domain) OVERRIDE; |
56 virtual void GetNavigationErrorStrings( | 56 virtual void GetNavigationErrorStrings( |
57 const WebKit::WebURLRequest& failed_request, | 57 const WebKit::WebURLRequest& failed_request, |
58 const WebKit::WebURLError& error, | 58 const WebKit::WebURLError& error, |
59 std::string* error_html, | 59 std::string* error_html, |
60 string16* error_description) OVERRIDE; | 60 string16* error_description) OVERRIDE; |
| 61 virtual bool OverrideCreateWebMediaPlayer( |
| 62 content::RenderView* render_view, |
| 63 WebKit::WebMediaPlayerClient* client, |
| 64 base::WeakPtr<webkit_media::WebMediaPlayerDelegate> delegate, |
| 65 media::FilterCollection* collection, |
| 66 media::MessageLoopFactory* message_loop_factory, |
| 67 webkit_media::MediaStreamClient* media_stream_client, |
| 68 media::MediaLog* media_log, |
| 69 webkit_media::WebMediaPlayerImpl** player) OVERRIDE; |
61 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; | 70 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; |
62 virtual bool AllowPopup(const GURL& creator) OVERRIDE; | 71 virtual bool AllowPopup(const GURL& creator) OVERRIDE; |
63 virtual bool ShouldFork(WebKit::WebFrame* frame, | 72 virtual bool ShouldFork(WebKit::WebFrame* frame, |
64 const GURL& url, | 73 const GURL& url, |
65 bool is_content_initiated, | 74 bool is_content_initiated, |
66 bool is_initial_navigation, | 75 bool is_initial_navigation, |
67 bool* send_referrer) OVERRIDE; | 76 bool* send_referrer) OVERRIDE; |
68 virtual bool WillSendRequest(WebKit::WebFrame* frame, | 77 virtual bool WillSendRequest(WebKit::WebFrame* frame, |
69 const GURL& url, | 78 const GURL& url, |
70 GURL* new_url) OVERRIDE; | 79 GURL* new_url) OVERRIDE; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 // The SpellCheckProvider is a RenderViewObserver, and handles its own | 152 // The SpellCheckProvider is a RenderViewObserver, and handles its own |
144 // destruction. | 153 // destruction. |
145 SpellCheckProvider* spellcheck_provider_; | 154 SpellCheckProvider* spellcheck_provider_; |
146 scoped_ptr<VisitedLinkSlave> visited_link_slave_; | 155 scoped_ptr<VisitedLinkSlave> visited_link_slave_; |
147 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; | 156 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; |
148 }; | 157 }; |
149 | 158 |
150 } // namespace chrome | 159 } // namespace chrome |
151 | 160 |
152 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 161 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |