| 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 CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ |
| 6 #define CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ | 6 #define CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "content/public/renderer/content_renderer_client.h" | 10 #include "content/public/renderer/content_renderer_client.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 WebKit::WebFrame* frame, | 24 WebKit::WebFrame* frame, |
| 25 const WebKit::WebPluginParams& params, | 25 const WebKit::WebPluginParams& params, |
| 26 WebKit::WebPlugin** plugin) OVERRIDE; | 26 WebKit::WebPlugin** plugin) OVERRIDE; |
| 27 virtual bool HasErrorPage(int http_status_code, | 27 virtual bool HasErrorPage(int http_status_code, |
| 28 std::string* error_domain) OVERRIDE; | 28 std::string* error_domain) OVERRIDE; |
| 29 virtual void GetNavigationErrorStrings( | 29 virtual void GetNavigationErrorStrings( |
| 30 const WebKit::WebURLRequest& failed_request, | 30 const WebKit::WebURLRequest& failed_request, |
| 31 const WebKit::WebURLError& error, | 31 const WebKit::WebURLError& error, |
| 32 std::string* error_html, | 32 std::string* error_html, |
| 33 string16* error_description) OVERRIDE; | 33 string16* error_description) OVERRIDE; |
| 34 virtual bool ShouldOverrideCreateWebMediaPlayer(RenderView* view); |
| 35 virtual void OverrideCreateWebMediaPlayer( |
| 36 RenderView* render_view, |
| 37 WebKit::WebMediaPlayerClient* client, |
| 38 base::WeakPtr<webkit_glue::WebMediaPlayerDelegate> delegate, |
| 39 media::FilterCollection* collection, |
| 40 media::MessageLoopFactory* message_loop_factory, |
| 41 webkit_glue::MediaStreamClient* media_stream_client, |
| 42 media::MediaLog* media_log, |
| 43 webkit_glue::WebMediaPlayerImpl** player); |
| 34 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; | 44 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; |
| 35 virtual bool AllowPopup(const GURL& creator) OVERRIDE; | 45 virtual bool AllowPopup(const GURL& creator) OVERRIDE; |
| 36 virtual bool ShouldFork(WebKit::WebFrame* frame, | 46 virtual bool ShouldFork(WebKit::WebFrame* frame, |
| 37 const GURL& url, | 47 const GURL& url, |
| 38 bool is_content_initiated, | 48 bool is_content_initiated, |
| 39 bool is_initial_navigation, | 49 bool is_initial_navigation, |
| 40 bool* send_referrer) OVERRIDE; | 50 bool* send_referrer) OVERRIDE; |
| 41 virtual bool WillSendRequest(WebKit::WebFrame* frame, | 51 virtual bool WillSendRequest(WebKit::WebFrame* frame, |
| 42 const GURL& url, | 52 const GURL& url, |
| 43 GURL* new_url) OVERRIDE; | 53 GURL* new_url) OVERRIDE; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 64 const GURL& first_party_for_cookies, | 74 const GURL& first_party_for_cookies, |
| 65 const std::string& value) OVERRIDE; | 75 const std::string& value) OVERRIDE; |
| 66 virtual bool IsProtocolSupportedForMedia(const GURL& url) OVERRIDE; | 76 virtual bool IsProtocolSupportedForMedia(const GURL& url) OVERRIDE; |
| 67 virtual void RegisterPPAPIInterfaceFactories( | 77 virtual void RegisterPPAPIInterfaceFactories( |
| 68 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; | 78 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; |
| 69 }; | 79 }; |
| 70 | 80 |
| 71 } // namespace content | 81 } // namespace content |
| 72 | 82 |
| 73 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ | 83 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |