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
3 // found in the LICENSE file.
5 #ifndef ASH_DISPLAY_DISPLAY_UTIL_H_
6 #define ASH_DISPLAY_DISPLAY_UTIL_H_
10 #include "ash/ash_export.h"
17 // Creates the display mode list for internal display
18 // based on |native_mode|.
19 ASH_EXPORT
std::vector
<DisplayMode
> CreateInternalDisplayModeList(
20 const DisplayMode
& native_mode
);
22 // Returns next valid UI scale.
23 float GetNextUIScale(const DisplayInfo
& info
, bool up
);
25 // Tests if the |info| has display mode that matches |ui_scale|.
26 bool HasDisplayModeForUIScale(const DisplayInfo
& info
, float ui_scale
);
30 #endif // ASH_DISPLAY_DISPLAY_UTIL_H_