OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2012 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. | |
4 | |
5 #ifndef UI_BASE_SCALE_H_ | |
6 #define UI_BASE_SCALE_H_ | |
7 #pragma once | |
8 | |
9 #include "ui/base/ui_export.h" | |
10 | |
11 namespace ui { | |
12 | |
13 enum DisplayScale { | |
14 DS_ASH, | |
sky
2012/04/18 21:50:32
These names are completely non-obvious. Please add
| |
15 DS_DESKTOP_100, | |
16 DS_DESKTOP_200, | |
17 DS_METRO_100, | |
18 DS_METRO_140, | |
19 DS_METRO_180, | |
20 }; | |
21 | |
22 // Returns the display scale in use. | |
23 UI_EXPORT const DisplayScale GetDisplayScale(); | |
24 | |
25 } // namespace ui | |
26 | |
27 #endif // UI_BASE_SCALE_H_ | |
OLD | NEW |