| 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 #include "content/public/renderer/media_stream_renderer_factory.h" | 7 #include "content/public/renderer/media_stream_renderer_factory.h" |
| 8 #include "media/base/renderer_factory.h" | 8 #include "media/base/renderer_factory.h" |
| 9 #include "ui/gfx/icc_profile.h" | 9 #include "ui/gfx/icc_profile.h" |
| 10 #include "url/gurl.h" | 10 #include "url/gurl.h" |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 return false; | 99 return false; |
| 100 } | 100 } |
| 101 | 101 |
| 102 #if defined(OS_ANDROID) | 102 #if defined(OS_ANDROID) |
| 103 bool ContentRendererClient::HandleNavigation( | 103 bool ContentRendererClient::HandleNavigation( |
| 104 RenderFrame* render_frame, | 104 RenderFrame* render_frame, |
| 105 bool is_content_initiated, | 105 bool is_content_initiated, |
| 106 bool render_view_was_created_by_renderer, | 106 bool render_view_was_created_by_renderer, |
| 107 blink::WebFrame* frame, | 107 blink::WebFrame* frame, |
| 108 const blink::WebURLRequest& request, | 108 const blink::WebURLRequest& request, |
| 109 blink::WebNavigationType type, | 109 bool is_back_forward, |
| 110 blink::WebNavigationPolicy default_policy, | 110 blink::WebNavigationPolicy default_policy, |
| 111 bool is_redirect) { | 111 bool is_redirect) { |
| 112 return false; | 112 return false; |
| 113 } | 113 } |
| 114 | 114 |
| 115 bool ContentRendererClient::ShouldUseMediaPlayerForURL(const GURL& url) { | 115 bool ContentRendererClient::ShouldUseMediaPlayerForURL(const GURL& url) { |
| 116 return false; | 116 return false; |
| 117 } | 117 } |
| 118 #endif | 118 #endif |
| 119 | 119 |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 | 222 |
| 223 GURL ContentRendererClient::OverrideFlashEmbedWithHTML(const GURL& url) { | 223 GURL ContentRendererClient::OverrideFlashEmbedWithHTML(const GURL& url) { |
| 224 return GURL(); | 224 return GURL(); |
| 225 } | 225 } |
| 226 | 226 |
| 227 bool ContentRendererClient::AllowMediaSuspend() { | 227 bool ContentRendererClient::AllowMediaSuspend() { |
| 228 return true; | 228 return true; |
| 229 } | 229 } |
| 230 | 230 |
| 231 } // namespace content | 231 } // namespace content |
| OLD | NEW |