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

Side by Side Diff: chromecast/base/chromecast_switches.h

Issue 2155863002: [Chromecast] Default desktop windows to 720p + switch for 1080p (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | chromecast/base/chromecast_switches.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 #ifndef CHROMECAST_BASE_CHROMECAST_SWITCHES_H_ 5 #ifndef CHROMECAST_BASE_CHROMECAST_SWITCHES_H_
6 #define CHROMECAST_BASE_CHROMECAST_SWITCHES_H_ 6 #define CHROMECAST_BASE_CHROMECAST_SWITCHES_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 extern const char kAlsaOutputPeriodSize[]; 43 extern const char kAlsaOutputPeriodSize[];
44 extern const char kAlsaOutputStartThreshold[]; 44 extern const char kAlsaOutputStartThreshold[];
45 extern const char kAlsaOutputAvailMin[]; 45 extern const char kAlsaOutputAvailMin[];
46 extern const char kAlsaCheckCloseTimeout[]; 46 extern const char kAlsaCheckCloseTimeout[];
47 extern const char kAlsaEnableUpsampling[]; 47 extern const char kAlsaEnableUpsampling[];
48 extern const char kAlsaFixedOutputSampleRate[]; 48 extern const char kAlsaFixedOutputSampleRate[];
49 49
50 // Memory pressure switches 50 // Memory pressure switches
51 extern const char kMemPressureSystemReservedKb[]; 51 extern const char kMemPressureSystemReservedKb[];
52 52
53 // GPU switches 53 // GPU process switches
54 extern const char kCastInitialScreenWidth[]; 54 extern const char kCastInitialScreenWidth[];
55 extern const char kCastInitialScreenHeight[]; 55 extern const char kCastInitialScreenHeight[];
56 56
57 // Graphics switches
58 extern const char kDesktopWindow1080p[];
59
57 } // namespace switches 60 } // namespace switches
58 61
59 namespace chromecast { 62 namespace chromecast {
60 63
61 // Gets boolean value from switch |switch_string|. 64 // Gets boolean value from switch |switch_string|.
62 // --|switch_string| -> true 65 // --|switch_string| -> true
63 // --|switch_string|="true" -> true 66 // --|switch_string|="true" -> true
64 // --|switch_string|="false" -> false 67 // --|switch_string|="false" -> false
65 // no switch named |switch_string| -> |default_value| 68 // no switch named |switch_string| -> |default_value|
66 bool GetSwitchValueBoolean(const std::string& switch_string, 69 bool GetSwitchValueBoolean(const std::string& switch_string,
67 const bool default_value); 70 const bool default_value);
68 71
69 } // namespace chromecast 72 } // namespace chromecast
70 73
71 #endif // CHROMECAST_BASE_CHROMECAST_SWITCHES_H_ 74 #endif // CHROMECAST_BASE_CHROMECAST_SWITCHES_H_
OLDNEW
« no previous file with comments | « no previous file | chromecast/base/chromecast_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698