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

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

Issue 8095007: Defer loading of audio/video tags while prerendering. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixing test for release build. Created 9 years 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) 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_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 16 matching lines...) Expand all
27 WebKit::WebFrame* frame, 27 WebKit::WebFrame* frame,
28 const WebKit::WebPluginParams& params, 28 const WebKit::WebPluginParams& params,
29 WebKit::WebPlugin** plugin) OVERRIDE; 29 WebKit::WebPlugin** plugin) OVERRIDE;
30 virtual bool HasErrorPage(int http_status_code, 30 virtual bool HasErrorPage(int http_status_code,
31 std::string* error_domain) OVERRIDE; 31 std::string* error_domain) OVERRIDE;
32 virtual void GetNavigationErrorStrings( 32 virtual void GetNavigationErrorStrings(
33 const WebKit::WebURLRequest& failed_request, 33 const WebKit::WebURLRequest& failed_request,
34 const WebKit::WebURLError& error, 34 const WebKit::WebURLError& error,
35 std::string* error_html, 35 std::string* error_html,
36 string16* error_description) OVERRIDE; 36 string16* error_description) OVERRIDE;
37 virtual bool OverrideCreateWebMediaPlayer(
38 RenderView* render_view,
39 WebKit::WebMediaPlayerClient* client,
40 base::WeakPtr<webkit_media::WebMediaPlayerDelegate> delegate,
41 media::FilterCollection* collection,
42 media::MessageLoopFactory* message_loop_factory,
43 webkit_media::MediaStreamClient* media_stream_client,
44 media::MediaLog* media_log,
45 webkit_media::WebMediaPlayerImpl** player) OVERRIDE;
37 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; 46 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE;
38 virtual bool AllowPopup(const GURL& creator) OVERRIDE; 47 virtual bool AllowPopup(const GURL& creator) OVERRIDE;
39 virtual bool ShouldFork(WebKit::WebFrame* frame, 48 virtual bool ShouldFork(WebKit::WebFrame* frame,
40 const GURL& url, 49 const GURL& url,
41 bool is_content_initiated, 50 bool is_content_initiated,
42 bool is_initial_navigation, 51 bool is_initial_navigation,
43 bool* send_referrer) OVERRIDE; 52 bool* send_referrer) OVERRIDE;
44 virtual bool WillSendRequest(WebKit::WebFrame* frame, 53 virtual bool WillSendRequest(WebKit::WebFrame* frame,
45 const GURL& url, 54 const GURL& url,
46 GURL* new_url) OVERRIDE; 55 GURL* new_url) OVERRIDE;
(...skipping 20 matching lines...) Expand all
67 const GURL& first_party_for_cookies, 76 const GURL& first_party_for_cookies,
68 const std::string& value) OVERRIDE; 77 const std::string& value) OVERRIDE;
69 virtual void RegisterPPAPIInterfaceFactories( 78 virtual void RegisterPPAPIInterfaceFactories(
70 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; 79 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE;
71 virtual bool AllowSocketAPI(const GURL& url) OVERRIDE; 80 virtual bool AllowSocketAPI(const GURL& url) OVERRIDE;
72 }; 81 };
73 82
74 } // namespace content 83 } // namespace content
75 84
76 #endif // CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_ 85 #endif // CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/public/renderer/content_renderer_client.h ('k') | content/renderer/mock_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698