Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: content/renderer/mock_content_renderer_client.cc

Issue 10274020: Revert 134620 - Show a replacement plug-in for loading errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/renderer/mock_content_renderer_client.h" 5 #include "content/renderer/mock_content_renderer_client.h"
6 6
7 #include <string> 7 #include <string>
8 #include "v8/include/v8.h" 8 #include "v8/include/v8.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 19 matching lines...) Expand all
30 } 30 }
31 31
32 bool MockContentRendererClient::OverrideCreatePlugin( 32 bool MockContentRendererClient::OverrideCreatePlugin(
33 RenderView* render_view, 33 RenderView* render_view,
34 WebKit::WebFrame* frame, 34 WebKit::WebFrame* frame,
35 const WebKit::WebPluginParams& params, 35 const WebKit::WebPluginParams& params,
36 WebKit::WebPlugin** plugin) { 36 WebKit::WebPlugin** plugin) {
37 return false; 37 return false;
38 } 38 }
39 39
40 WebKit::WebPlugin* MockContentRendererClient::CreatePluginReplacement(
41 RenderView* render_view,
42 const FilePath& plugin_path) {
43 return NULL;
44 }
45
46 bool MockContentRendererClient::HasErrorPage(int http_status_code, 40 bool MockContentRendererClient::HasErrorPage(int http_status_code,
47 std::string* error_domain) { 41 std::string* error_domain) {
48 return false; 42 return false;
49 } 43 }
50 44
51 webkit_media::WebMediaPlayerImpl* 45 webkit_media::WebMediaPlayerImpl*
52 MockContentRendererClient::OverrideCreateWebMediaPlayer( 46 MockContentRendererClient::OverrideCreateWebMediaPlayer(
53 RenderView* render_view, 47 RenderView* render_view,
54 WebKit::WebFrame* frame, 48 WebKit::WebFrame* frame,
55 WebKit::WebMediaPlayerClient* client, 49 WebKit::WebMediaPlayerClient* client,
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 const GURL& first_party_for_cookies, 130 const GURL& first_party_for_cookies,
137 const std::string& value) { 131 const std::string& value) {
138 return false; 132 return false;
139 } 133 }
140 134
141 void MockContentRendererClient::RegisterPPAPIInterfaceFactories( 135 void MockContentRendererClient::RegisterPPAPIInterfaceFactories(
142 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) { 136 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) {
143 } 137 }
144 138
145 } // namespace content 139 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/mock_content_renderer_client.h ('k') | content/renderer/pepper/pepper_plugin_delegate_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698