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

Side by Side Diff: chromecast/browser/cast_browser_main_parts.cc

Issue 1025933002: Convert force video overlay to preference (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 5 years, 9 months 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
OLDNEW
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/browser/cast_browser_main_parts.h" 5 #include "chromecast/browser/cast_browser_main_parts.h"
6 6
7 #include <signal.h> 7 #include <signal.h>
8 #include <sys/prctl.h> 8 #include <sys/prctl.h>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 // For now, disable unprefixed EME because the video behavior not be 100 // For now, disable unprefixed EME because the video behavior not be
101 // consistent with other clients. 101 // consistent with other clients.
102 { switches::kDisableEncryptedMedia, ""}, 102 { switches::kDisableEncryptedMedia, ""},
103 #if defined(OS_ANDROID) 103 #if defined(OS_ANDROID)
104 // Disables Chromecast-specific WiFi-related features on ATV for now. 104 // Disables Chromecast-specific WiFi-related features on ATV for now.
105 { switches::kNoWifi, "" }, 105 { switches::kNoWifi, "" },
106 { switches::kMediaDrmEnableNonCompositing, ""}, 106 { switches::kMediaDrmEnableNonCompositing, ""},
107 { switches::kEnableOverlayFullscreenVideo, ""}, 107 { switches::kEnableOverlayFullscreenVideo, ""},
108 { switches::kDisableInfobarForProtectedMediaIdentifier, ""}, 108 { switches::kDisableInfobarForProtectedMediaIdentifier, ""},
109 { switches::kDisableGestureRequirementForMediaPlayback, ""}, 109 { switches::kDisableGestureRequirementForMediaPlayback, ""},
110 { switches::kForceUseOverlayEmbeddedVideo, ""},
111 #endif 110 #endif
112 // Always enable HTMLMediaElement logs. 111 // Always enable HTMLMediaElement logs.
113 { switches::kBlinkPlatformLogChannels, "Media"}, 112 { switches::kBlinkPlatformLogChannels, "Media"},
114 #if defined(DISABLE_DISPLAY) 113 #if defined(DISABLE_DISPLAY)
115 { switches::kDisableGpu, "" }, 114 { switches::kDisableGpu, "" },
116 #endif 115 #endif
117 #if defined(OS_LINUX) 116 #if defined(OS_LINUX)
118 #if defined(ARCH_CPU_X86_FAMILY) 117 #if defined(ARCH_CPU_X86_FAMILY)
119 // This is needed for now to enable the egltest Ozone platform to work with 118 // This is needed for now to enable the egltest Ozone platform to work with
120 // current Linux/NVidia OpenGL drivers. 119 // current Linux/NVidia OpenGL drivers.
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 NOTREACHED(); 277 NOTREACHED();
279 #else 278 #else
280 cast_browser_process_->cast_service()->Finalize(); 279 cast_browser_process_->cast_service()->Finalize();
281 cast_browser_process_->metrics_service_client()->Finalize(); 280 cast_browser_process_->metrics_service_client()->Finalize();
282 cast_browser_process_.reset(); 281 cast_browser_process_.reset();
283 #endif 282 #endif
284 } 283 }
285 284
286 } // namespace shell 285 } // namespace shell
287 } // namespace chromecast 286 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/browser/android/cast_window_android.cc ('k') | chromecast/browser/cast_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698