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

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: Remove #ifdef from header. 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 "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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698