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