OLD | NEW |
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/public/renderer/content_renderer_client.h" | 5 #include "content/public/renderer/content_renderer_client.h" |
6 | 6 |
7 namespace content { | 7 namespace content { |
8 | 8 |
9 SkBitmap* ContentRendererClient::GetSadPluginBitmap() { | 9 SkBitmap* ContentRendererClient::GetSadPluginBitmap() { |
10 return NULL; | 10 return NULL; |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 bool ContentRendererClient::IsExternalPepperPlugin( | 148 bool ContentRendererClient::IsExternalPepperPlugin( |
149 const std::string& module_name) { | 149 const std::string& module_name) { |
150 return false; | 150 return false; |
151 } | 151 } |
152 | 152 |
153 bool ContentRendererClient::AllowPepperMediaStreamAPI(const GURL& url) { | 153 bool ContentRendererClient::AllowPepperMediaStreamAPI(const GURL& url) { |
154 return false; | 154 return false; |
155 } | 155 } |
156 | 156 |
157 void ContentRendererClient::AddKeySystems( | 157 void ContentRendererClient::AddKeySystems( |
158 std::vector<KeySystemInfo>* key_systems) { | 158 std::vector<media::KeySystemInfo>* key_systems) { |
159 } | 159 } |
160 | 160 |
161 bool ContentRendererClient::ShouldReportDetailedMessageForSource( | 161 bool ContentRendererClient::ShouldReportDetailedMessageForSource( |
162 const base::string16& source) const { | 162 const base::string16& source) const { |
163 return false; | 163 return false; |
164 } | 164 } |
165 | 165 |
166 bool ContentRendererClient::ShouldEnableSiteIsolationPolicy() const { | 166 bool ContentRendererClient::ShouldEnableSiteIsolationPolicy() const { |
167 return true; | 167 return true; |
168 } | 168 } |
(...skipping 21 matching lines...) Expand all Loading... |
190 RenderFrame* render_frame, | 190 RenderFrame* render_frame, |
191 const std::string& mime_type) { | 191 const std::string& mime_type) { |
192 return NULL; | 192 return NULL; |
193 } | 193 } |
194 | 194 |
195 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { | 195 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { |
196 return std::string(); | 196 return std::string(); |
197 } | 197 } |
198 | 198 |
199 } // namespace content | 199 } // namespace content |
OLD | NEW |