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 "build/build_config.h" | |
10 #include "ui/base/ui_export.h" | |
11 | |
12 namespace ui { | |
13 | |
14 enum DisplayScale { | |
15 DS_ASH, | |
16 DS_DESKTOP_100, | |
17 #if defined(OS_WIN) | |
18 DS_DESKTOP_200, | |
19 DS_METRO_100, | |
20 DS_METRO_140, | |
21 DS_METRO_180, | |
22 #endif // defined(OS_WIN) | |
23 }; | |
24 | |
25 // Returns the display scale in use for themes. | |
sail
2012/04/18 16:44:14
can you expand this comment a bit more? What's the
Jói
2012/04/18 17:06:31
I've added a TODO on the second function that expa
| |
26 UI_EXPORT const DisplayScale GetThemeScale(); | |
27 | |
28 // Returns the display scale in use for UI. | |
29 UI_EXPORT const DisplayScale GetUIScale(); | |
30 | |
31 } // namespace ui | |
32 | |
33 #endif // UI_BASE_SCALE_H_ | |
OLD | NEW |