| 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 #include "content/shell/shell_content_renderer_client.h" | 5 #include "content/shell/shell_content_renderer_client.h" |
| 6 | 6 |
| 7 #include "v8/include/v8.h" | 7 #include "v8/include/v8.h" |
| 8 | 8 |
| 9 namespace content { | 9 namespace content { |
| 10 | 10 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 return false; | 41 return false; |
| 42 } | 42 } |
| 43 | 43 |
| 44 void ShellContentRendererClient::GetNavigationErrorStrings( | 44 void ShellContentRendererClient::GetNavigationErrorStrings( |
| 45 const WebKit::WebURLRequest& failed_request, | 45 const WebKit::WebURLRequest& failed_request, |
| 46 const WebKit::WebURLError& error, | 46 const WebKit::WebURLError& error, |
| 47 std::string* error_html, | 47 std::string* error_html, |
| 48 string16* error_description) { | 48 string16* error_description) { |
| 49 } | 49 } |
| 50 | 50 |
| 51 bool ShellContentRendererClient::ShouldOverrideCreateWebMediaPlayer( |
| 52 RenderView* view) { |
| 53 return false; |
| 54 } |
| 55 |
| 56 void ShellContentRendererClient::OverrideCreateWebMediaPlayer( |
| 57 RenderView* render_view, |
| 58 WebKit::WebMediaPlayerClient* client, |
| 59 base::WeakPtr<webkit_glue::WebMediaPlayerDelegate> delegate, |
| 60 media::FilterCollection* collection, |
| 61 media::MessageLoopFactory* message_loop_factory, |
| 62 webkit_glue::MediaStreamClient* media_stream_client, |
| 63 media::MediaLog* media_log, |
| 64 webkit_glue::WebMediaPlayerImpl** player) { |
| 65 } |
| 66 |
| 51 bool ShellContentRendererClient::RunIdleHandlerWhenWidgetsHidden() { | 67 bool ShellContentRendererClient::RunIdleHandlerWhenWidgetsHidden() { |
| 52 return true; | 68 return true; |
| 53 } | 69 } |
| 54 | 70 |
| 55 bool ShellContentRendererClient::AllowPopup(const GURL& creator) { | 71 bool ShellContentRendererClient::AllowPopup(const GURL& creator) { |
| 56 return false; | 72 return false; |
| 57 } | 73 } |
| 58 | 74 |
| 59 bool ShellContentRendererClient::ShouldFork(WebKit::WebFrame* frame, | 75 bool ShellContentRendererClient::ShouldFork(WebKit::WebFrame* frame, |
| 60 const GURL& url, | 76 const GURL& url, |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 | 135 |
| 120 bool ShellContentRendererClient::IsProtocolSupportedForMedia(const GURL& url) { | 136 bool ShellContentRendererClient::IsProtocolSupportedForMedia(const GURL& url) { |
| 121 return false; | 137 return false; |
| 122 } | 138 } |
| 123 | 139 |
| 124 void ShellContentRendererClient::RegisterPPAPIInterfaceFactories( | 140 void ShellContentRendererClient::RegisterPPAPIInterfaceFactories( |
| 125 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) { | 141 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) { |
| 126 } | 142 } |
| 127 | 143 |
| 128 } // namespace content | 144 } // namespace content |
| OLD | NEW |