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/browser/cast_browser_main_parts.h" | 5 #include "chromecast/browser/cast_browser_main_parts.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <string.h> | 8 #include <string.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
188 | 188 |
189 DefaultCommandLineSwitch g_default_switches[] = { | 189 DefaultCommandLineSwitch g_default_switches[] = { |
190 #if defined(OS_ANDROID) | 190 #if defined(OS_ANDROID) |
191 // Disables Chromecast-specific WiFi-related features on ATV for now. | 191 // Disables Chromecast-specific WiFi-related features on ATV for now. |
192 { switches::kNoWifi, "" }, | 192 { switches::kNoWifi, "" }, |
193 { switches::kDisableGestureRequirementForMediaPlayback, ""}, | 193 { switches::kDisableGestureRequirementForMediaPlayback, ""}, |
194 #else | 194 #else |
195 // GPU shader disk cache disabling is largely to conserve disk space. | 195 // GPU shader disk cache disabling is largely to conserve disk space. |
196 { switches::kDisableGpuShaderDiskCache, "" }, | 196 { switches::kDisableGpuShaderDiskCache, "" }, |
197 #endif | 197 #endif |
198 { switches::kDisableGestureRequirementForMediaPlayback, ""}, | |
whywhat
2016/02/04 20:39:08
what's up with this change? (the switch should be
Zhiqiang Zhang (Slow)
2016/02/05 16:20:33
Done.
| |
198 // Always enable HTMLMediaElement logs. | 199 // Always enable HTMLMediaElement logs. |
199 { switches::kBlinkPlatformLogChannels, "Media"}, | 200 { switches::kBlinkPlatformLogChannels, "Media"}, |
200 #if defined(DISABLE_DISPLAY) | 201 #if defined(DISABLE_DISPLAY) |
201 { switches::kDisableGpu, "" }, | 202 { switches::kDisableGpu, "" }, |
202 #endif | 203 #endif |
203 #if defined(OS_LINUX) | 204 #if defined(OS_LINUX) |
204 #if defined(ARCH_CPU_X86_FAMILY) | 205 #if defined(ARCH_CPU_X86_FAMILY) |
205 // This is needed for now to enable the egltest Ozone platform to work with | 206 // This is needed for now to enable the egltest Ozone platform to work with |
206 // current Linux/NVidia OpenGL drivers. | 207 // current Linux/NVidia OpenGL drivers. |
207 { switches::kIgnoreGpuBlacklist, ""}, | 208 { switches::kIgnoreGpuBlacklist, ""}, |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
454 #if defined(USE_AURA) | 455 #if defined(USE_AURA) |
455 aura::Env::DeleteInstance(); | 456 aura::Env::DeleteInstance(); |
456 #endif | 457 #endif |
457 | 458 |
458 DeregisterKillOnAlarm(); | 459 DeregisterKillOnAlarm(); |
459 #endif | 460 #endif |
460 } | 461 } |
461 | 462 |
462 } // namespace shell | 463 } // namespace shell |
463 } // namespace chromecast | 464 } // namespace chromecast |
OLD | NEW |