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

Side by Side Diff: chrome/browser/themes/theme_properties.h

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_THEMES_THEME_PROPERTIES_H_ 5 #ifndef CHROME_BROWSER_THEMES_THEME_PROPERTIES_H_
6 #define CHROME_BROWSER_THEMES_THEME_PROPERTIES_H_ 6 #define CHROME_BROWSER_THEMES_THEME_PROPERTIES_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/macros.h"
12 #include "build/build_config.h"
12 #include "third_party/skia/include/core/SkColor.h" 13 #include "third_party/skia/include/core/SkColor.h"
13 #include "ui/gfx/color_utils.h" 14 #include "ui/gfx/color_utils.h"
14 15
15 // Static only class for querying which properties / images are themeable and 16 // Static only class for querying which properties / images are themeable and
16 // the defaults of these properties. 17 // the defaults of these properties.
17 // All methods are thread safe unless indicated otherwise. 18 // All methods are thread safe unless indicated otherwise.
18 class ThemeProperties { 19 class ThemeProperties {
19 public: 20 public:
20 // --------------------------------------------------------------------------- 21 // ---------------------------------------------------------------------------
21 // The int values of OverwritableByUserThemeProperties, Alignment, and Tiling 22 // The int values of OverwritableByUserThemeProperties, Alignment, and Tiling
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 160
160 // Returns the default color for the given color |id| COLOR_* enum value. 161 // Returns the default color for the given color |id| COLOR_* enum value.
161 // Returns gfx::kPlaceholderColor if |id| is invalid. 162 // Returns gfx::kPlaceholderColor if |id| is invalid.
162 static SkColor GetDefaultColor(int id, bool otr); 163 static SkColor GetDefaultColor(int id, bool otr);
163 164
164 private: 165 private:
165 DISALLOW_IMPLICIT_CONSTRUCTORS(ThemeProperties); 166 DISALLOW_IMPLICIT_CONSTRUCTORS(ThemeProperties);
166 }; 167 };
167 168
168 #endif // CHROME_BROWSER_THEMES_THEME_PROPERTIES_H_ 169 #endif // CHROME_BROWSER_THEMES_THEME_PROPERTIES_H_
OLDNEW
« no previous file with comments | « chrome/browser/themes/custom_theme_supplier.h ('k') | chrome/browser/themes/theme_properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698