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

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

Issue 1286583002: Stop setting --enable-overlay-fullscreen-video on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: forgot namespace Created 5 years, 4 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
« no previous file with comments | « no previous file | content/browser/android/content_startup_flags.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <string> 7 #include <string>
8 #if !defined(OS_ANDROID) 8 #if !defined(OS_ANDROID)
9 #include <signal.h> 9 #include <signal.h>
10 #include <sys/prctl.h> 10 #include <sys/prctl.h>
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 159
160 struct DefaultCommandLineSwitch { 160 struct DefaultCommandLineSwitch {
161 const char* const switch_name; 161 const char* const switch_name;
162 const char* const switch_value; 162 const char* const switch_value;
163 }; 163 };
164 164
165 DefaultCommandLineSwitch g_default_switches[] = { 165 DefaultCommandLineSwitch g_default_switches[] = {
166 #if defined(OS_ANDROID) 166 #if defined(OS_ANDROID)
167 // Disables Chromecast-specific WiFi-related features on ATV for now. 167 // Disables Chromecast-specific WiFi-related features on ATV for now.
168 { switches::kNoWifi, "" }, 168 { switches::kNoWifi, "" },
169 { switches::kEnableOverlayFullscreenVideo, ""},
170 { switches::kDisableGestureRequirementForMediaPlayback, ""}, 169 { switches::kDisableGestureRequirementForMediaPlayback, ""},
171 #endif 170 #endif
172 // Always enable HTMLMediaElement logs. 171 // Always enable HTMLMediaElement logs.
173 { switches::kBlinkPlatformLogChannels, "Media"}, 172 { switches::kBlinkPlatformLogChannels, "Media"},
174 #if defined(DISABLE_DISPLAY) 173 #if defined(DISABLE_DISPLAY)
175 { switches::kDisableGpu, "" }, 174 { switches::kDisableGpu, "" },
176 #endif 175 #endif
177 #if defined(OS_LINUX) 176 #if defined(OS_LINUX)
178 #if defined(ARCH_CPU_X86_FAMILY) 177 #if defined(ARCH_CPU_X86_FAMILY)
179 // This is needed for now to enable the egltest Ozone platform to work with 178 // This is needed for now to enable the egltest Ozone platform to work with
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 #endif 398 #endif
400 399
401 // Finalize CastMediaShlib on media thread to ensure it's not accessed 400 // Finalize CastMediaShlib on media thread to ensure it's not accessed
402 // after Finalize. 401 // after Finalize.
403 media::MediaMessageLoop::GetTaskRunner()->PostTask( 402 media::MediaMessageLoop::GetTaskRunner()->PostTask(
404 FROM_HERE, base::Bind(&media::CastMediaShlib::Finalize)); 403 FROM_HERE, base::Bind(&media::CastMediaShlib::Finalize));
405 } 404 }
406 405
407 } // namespace shell 406 } // namespace shell
408 } // namespace chromecast 407 } // namespace chromecast
OLDNEW
« no previous file with comments | « no previous file | content/browser/android/content_startup_flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698