Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(565)

Side by Side Diff: ui/base/scale.h

Issue 10115029: Set toolbar padding to something appropriate for Metro icons. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW
« no previous file with comments | « ui/base/resource/resource_bundle_win.cc ('k') | ui/base/scale.cc » ('j') | ui/base/scale.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698