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_
11 #include "chromecast_export.h"
13 namespace chromecast
{
15 class CHROMECAST_EXPORT GraphicsPropertiesShlib
{
17 // Optional resolutions that cast_shell queries for. 720p (1280x720) is
18 // assumed to be supported.
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_