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

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

Issue 23614007: Use the normal Google logo for managed users for --enable-instant-extended-api (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed mac compile failure Created 7 years, 3 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
« no previous file with comments | « chrome/browser/search/instant_service.cc ('k') | chrome/browser/themes/theme_properties.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 static const std::set<int>& GetTintableToolbarButtons(); 133 static const std::set<int>& GetTintableToolbarButtons();
134 134
135 // Returns the default tint for the given tint |id| TINT_* enum value. 135 // Returns the default tint for the given tint |id| TINT_* enum value.
136 // Returns an HSL value of {-1, -1, -1} if |id| is invalid. 136 // Returns an HSL value of {-1, -1, -1} if |id| is invalid.
137 static color_utils::HSL GetDefaultTint(int id); 137 static color_utils::HSL GetDefaultTint(int id);
138 138
139 // Returns the default color for the given color |id| COLOR_* enum value. 139 // Returns the default color for the given color |id| COLOR_* enum value.
140 // Returns SK_ColorRED if |id| is invalid. 140 // Returns SK_ColorRED if |id| is invalid.
141 static SkColor GetDefaultColor(int id); 141 static SkColor GetDefaultColor(int id);
142 142
143 // Returns true and sets |result| to the requested default property, if |id| 143 // Returns the default value for the given property |id|. Returns -1 if |id|
144 // is valid. 144 // is invalid.
145 static bool GetDefaultDisplayProperty(int id, int* result); 145 static int GetDefaultDisplayProperty(int id);
146 146
147 private: 147 private:
148 DISALLOW_IMPLICIT_CONSTRUCTORS(ThemeProperties); 148 DISALLOW_IMPLICIT_CONSTRUCTORS(ThemeProperties);
149 }; 149 };
150 150
151 #endif // CHROME_BROWSER_THEMES_THEME_PROPERTIES_H_ 151 #endif // CHROME_BROWSER_THEMES_THEME_PROPERTIES_H_
OLDNEW
« no previous file with comments | « chrome/browser/search/instant_service.cc ('k') | chrome/browser/themes/theme_properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698