Re-enable index-basics-workers test to see if still times
[chromium-blink-merge.git] / content / public / renderer / content_renderer_client.cc
blobfe80e4d45124a514318eb5c0546baa249032f4bb
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
3 // found in the LICENSE file.
5 #include "content/public/renderer/content_renderer_client.h"
7 namespace content {
9 SkBitmap* ContentRendererClient::GetSadPluginBitmap() {
10 return NULL;
13 SkBitmap* ContentRendererClient::GetSadWebViewBitmap() {
14 return NULL;
17 std::string ContentRendererClient::GetDefaultEncoding() {
18 return std::string();
21 bool ContentRendererClient::OverrideCreatePlugin(
22 RenderView* render_view,
23 WebKit::WebFrame* frame,
24 const WebKit::WebPluginParams& params,
25 WebKit::WebPlugin** plugin) {
26 return false;
29 WebKit::WebPlugin* ContentRendererClient::CreatePluginReplacement(
30 RenderView* render_view,
31 const base::FilePath& plugin_path) {
32 return NULL;
35 bool ContentRendererClient::HasErrorPage(int http_status_code,
36 std::string* error_domain) {
37 return false;
40 webkit_media::WebMediaPlayerImpl*
41 ContentRendererClient::OverrideCreateWebMediaPlayer(
42 RenderView* render_view,
43 WebKit::WebFrame* frame,
44 WebKit::WebMediaPlayerClient* client,
45 base::WeakPtr<webkit_media::WebMediaPlayerDelegate> delegate,
46 const webkit_media::WebMediaPlayerParams& params) {
47 return NULL;
50 WebKit::WebMediaStreamCenter*
51 ContentRendererClient::OverrideCreateWebMediaStreamCenter(
52 WebKit::WebMediaStreamCenterClient* client) {
53 return NULL;
56 WebKit::WebRTCPeerConnectionHandler*
57 ContentRendererClient::OverrideCreateWebRTCPeerConnectionHandler(
58 WebKit::WebRTCPeerConnectionHandlerClient* client) {
59 return NULL;
62 WebKit::WebClipboard* ContentRendererClient::OverrideWebClipboard() {
63 return NULL;
66 WebKit::WebMimeRegistry* ContentRendererClient::OverrideWebMimeRegistry() {
67 return NULL;
70 WebKit::WebHyphenator* ContentRendererClient::OverrideWebHyphenator() {
71 return NULL;
74 WebKit::WebThemeEngine* ContentRendererClient::OverrideThemeEngine() {
75 return NULL;
78 WebKit::WebSpeechSynthesizer* ContentRendererClient::OverrideSpeechSynthesizer(
79 WebKit::WebSpeechSynthesizerClient* client) {
80 return NULL;
83 bool ContentRendererClient::RunIdleHandlerWhenWidgetsHidden() {
84 return true;
87 bool ContentRendererClient::AllowPopup() {
88 return false;
91 bool ContentRendererClient::HandleNavigation(
92 WebKit::WebFrame* frame,
93 const WebKit::WebURLRequest& request,
94 WebKit::WebNavigationType type,
95 WebKit::WebNavigationPolicy default_policy,
96 bool is_redirect) {
97 return false;
100 bool ContentRendererClient::ShouldFork(WebKit::WebFrame* frame,
101 const GURL& url,
102 const std::string& http_method,
103 bool is_initial_navigation,
104 bool* send_referrer) {
105 return false;
108 bool ContentRendererClient::WillSendRequest(
109 WebKit::WebFrame* frame,
110 PageTransition transition_type,
111 const GURL& url,
112 const GURL& first_party_for_cookies,
113 GURL* new_url) {
114 return false;
117 bool ContentRendererClient::ShouldPumpEventsDuringCookieMessage() {
118 return false;
121 unsigned long long ContentRendererClient::VisitedLinkHash(
122 const char* canonical_url, size_t length) {
123 return 0LL;
126 bool ContentRendererClient::IsLinkVisited(unsigned long long link_hash) {
127 return false;
130 bool ContentRendererClient::ShouldOverridePageVisibilityState(
131 const RenderView* render_view,
132 WebKit::WebPageVisibilityState* override_state) const {
133 return false;
136 bool ContentRendererClient::HandleGetCookieRequest(
137 RenderView* sender,
138 const GURL& url,
139 const GURL& first_party_for_cookies,
140 std::string* cookies) {
141 return false;
144 bool ContentRendererClient::HandleSetCookieRequest(
145 RenderView* sender,
146 const GURL& url,
147 const GURL& first_party_for_cookies,
148 const std::string& value) {
149 return false;
152 bool ContentRendererClient::AllowBrowserPlugin(
153 WebKit::WebPluginContainer* container) const {
154 return false;
157 MessageLoop* ContentRendererClient::OverrideCompositorMessageLoop() const {
158 return NULL;
161 bool ContentRendererClient::ShouldCreateCompositorInputHandler() const {
162 return true;
165 } // namespace content