| 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::OverrideCreateWebMediaPlayer( |
| 52 RenderView* render_view, |
| 53 WebKit::WebMediaPlayerClient* client, |
| 54 base::WeakPtr<webkit_media::WebMediaPlayerDelegate> delegate, |
| 55 media::FilterCollection* collection, |
| 56 media::MessageLoopFactory* message_loop_factory, |
| 57 webkit_media::MediaStreamClient* media_stream_client, |
| 58 media::MediaLog* media_log, |
| 59 webkit_media::WebMediaPlayerImpl** player) { |
| 60 return false; |
| 61 } |
| 62 |
| 51 bool ShellContentRendererClient::RunIdleHandlerWhenWidgetsHidden() { | 63 bool ShellContentRendererClient::RunIdleHandlerWhenWidgetsHidden() { |
| 52 return true; | 64 return true; |
| 53 } | 65 } |
| 54 | 66 |
| 55 bool ShellContentRendererClient::AllowPopup(const GURL& creator) { | 67 bool ShellContentRendererClient::AllowPopup(const GURL& creator) { |
| 56 return false; | 68 return false; |
| 57 } | 69 } |
| 58 | 70 |
| 59 bool ShellContentRendererClient::ShouldFork(WebKit::WebFrame* frame, | 71 bool ShellContentRendererClient::ShouldFork(WebKit::WebFrame* frame, |
| 60 const GURL& url, | 72 const GURL& url, |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 const GURL& first_party_for_cookies, | 127 const GURL& first_party_for_cookies, |
| 116 const std::string& value) { | 128 const std::string& value) { |
| 117 return false; | 129 return false; |
| 118 } | 130 } |
| 119 | 131 |
| 120 void ShellContentRendererClient::RegisterPPAPIInterfaceFactories( | 132 void ShellContentRendererClient::RegisterPPAPIInterfaceFactories( |
| 121 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) { | 133 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) { |
| 122 } | 134 } |
| 123 | 135 |
| 124 } // namespace content | 136 } // namespace content |
| OLD | NEW |