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