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