Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chromecast / public / graphics_properties_shlib.h
blob693a7c1c52d2d57e34ede8bb8dde019852bf0480
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROMECAST_PUBLIC_GRAPHICS_PROPERTIES_SHLIB_H_
6 #define CHROMECAST_PUBLIC_GRAPHICS_PROPERTIES_SHLIB_H_
8 #include <string>
9 #include <vector>
11 #include "chromecast_export.h"
13 namespace chromecast {
15 class CHROMECAST_EXPORT GraphicsPropertiesShlib {
16 public:
17 // Optional resolutions that cast_shell queries for. 720p (1280x720) is
18 // assumed to be supported.
19 enum Resolution {
20 k1080p, // 1920x1080
21 kUHDTV // 3840x2160
24 // Returns whether or not the given display resolution is supported.
25 // Called in the browser process; command line args are provided.
26 static bool IsSupported(Resolution resolution,
27 const std::vector<std::string>& argv);
30 } // namespace chromecast
32 #endif // CHROMECAST_PUBLIC_GRAPHICS_PROPERTIES_SHLIB_H_