OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "chromecast/renderer/cast_content_renderer_client.h" | 5 #include "chromecast/renderer/cast_content_renderer_client.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "chromecast/renderer/media/media_caps_observer_impl.h" | 21 #include "chromecast/renderer/media/media_caps_observer_impl.h" |
22 #include "components/network_hints/renderer/prescient_networking_dispatcher.h" | 22 #include "components/network_hints/renderer/prescient_networking_dispatcher.h" |
23 #include "content/public/common/content_switches.h" | 23 #include "content/public/common/content_switches.h" |
24 #include "content/public/common/service_names.mojom.h" | 24 #include "content/public/common/service_names.mojom.h" |
25 #include "content/public/renderer/render_frame.h" | 25 #include "content/public/renderer/render_frame.h" |
26 #include "content/public/renderer/render_thread.h" | 26 #include "content/public/renderer/render_thread.h" |
27 #include "content/public/renderer/render_view.h" | 27 #include "content/public/renderer/render_view.h" |
28 #include "media/base/media.h" | 28 #include "media/base/media.h" |
29 #include "services/service_manager/public/cpp/connector.h" | 29 #include "services/service_manager/public/cpp/connector.h" |
30 #include "third_party/WebKit/public/platform/WebColor.h" | 30 #include "third_party/WebKit/public/platform/WebColor.h" |
| 31 #include "third_party/WebKit/public/platform/WebRuntimeFeatures.h" |
31 #include "third_party/WebKit/public/web/WebFrameWidget.h" | 32 #include "third_party/WebKit/public/web/WebFrameWidget.h" |
32 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" | |
33 #include "third_party/WebKit/public/web/WebSettings.h" | 33 #include "third_party/WebKit/public/web/WebSettings.h" |
34 #include "third_party/WebKit/public/web/WebView.h" | 34 #include "third_party/WebKit/public/web/WebView.h" |
35 | 35 |
36 #if defined(OS_ANDROID) | 36 #if defined(OS_ANDROID) |
37 #include "media/base/android/media_codec_util.h" | 37 #include "media/base/android/media_codec_util.h" |
38 #endif // OS_ANDROID | 38 #endif // OS_ANDROID |
39 | 39 |
40 namespace chromecast { | 40 namespace chromecast { |
41 namespace shell { | 41 namespace shell { |
42 | 42 |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 } | 200 } |
201 | 201 |
202 void CastContentRendererClient:: | 202 void CastContentRendererClient:: |
203 SetRuntimeFeaturesDefaultsBeforeBlinkInitialization() { | 203 SetRuntimeFeaturesDefaultsBeforeBlinkInitialization() { |
204 // Settings for ATV (Android defaults are not what we want). | 204 // Settings for ATV (Android defaults are not what we want). |
205 blink::WebRuntimeFeatures::EnableMediaControlsOverlayPlayButton(false); | 205 blink::WebRuntimeFeatures::EnableMediaControlsOverlayPlayButton(false); |
206 } | 206 } |
207 | 207 |
208 } // namespace shell | 208 } // namespace shell |
209 } // namespace chromecast | 209 } // namespace chromecast |
OLD | NEW |