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

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

Issue 2381283003: Have Chrome draw top window border when using custom titlebar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add include Created 4 years, 2 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
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 COLOR_TOOLBAR_BUTTON_STROKE_INACTIVE, 148 COLOR_TOOLBAR_BUTTON_STROKE_INACTIVE,
149 GRADIENT_FRAME_INCOGNITO, 149 GRADIENT_FRAME_INCOGNITO,
150 GRADIENT_FRAME_INCOGNITO_INACTIVE, 150 GRADIENT_FRAME_INCOGNITO_INACTIVE,
151 GRADIENT_TOOLBAR, 151 GRADIENT_TOOLBAR,
152 GRADIENT_TOOLBAR_INACTIVE, 152 GRADIENT_TOOLBAR_INACTIVE,
153 GRADIENT_TOOLBAR_BUTTON, 153 GRADIENT_TOOLBAR_BUTTON,
154 GRADIENT_TOOLBAR_BUTTON_INACTIVE, 154 GRADIENT_TOOLBAR_BUTTON_INACTIVE,
155 GRADIENT_TOOLBAR_BUTTON_PRESSED, 155 GRADIENT_TOOLBAR_BUTTON_PRESSED,
156 GRADIENT_TOOLBAR_BUTTON_PRESSED_INACTIVE, 156 GRADIENT_TOOLBAR_BUTTON_PRESSED_INACTIVE,
157 #endif // OS_MACOSX 157 #endif // OS_MACOSX
158
159 #if defined(OS_WIN)
160 COLOR_ACCENT_BORDER,
Peter Kasting 2016/10/06 08:02:46 Nit: Briefly describe what this is.
161 #endif // OS_WIN
158 }; 162 };
159 163
160 // Used by the browser theme pack to parse alignments from something like 164 // Used by the browser theme pack to parse alignments from something like
161 // "top left" into a bitmask of Alignment. 165 // "top left" into a bitmask of Alignment.
162 static int StringToAlignment(const std::string& alignment); 166 static int StringToAlignment(const std::string& alignment);
163 167
164 // Used by the browser theme pack to parse alignments from something like 168 // Used by the browser theme pack to parse alignments from something like
165 // "no-repeat" into a Tiling value. 169 // "no-repeat" into a Tiling value.
166 static int StringToTiling(const std::string& tiling); 170 static int StringToTiling(const std::string& tiling);
167 171
(...skipping 11 matching lines...) Expand all
179 183
180 // Returns the default color for the given color |id| COLOR_* enum value. 184 // Returns the default color for the given color |id| COLOR_* enum value.
181 // Returns gfx::kPlaceholderColor if |id| is invalid. 185 // Returns gfx::kPlaceholderColor if |id| is invalid.
182 static SkColor GetDefaultColor(int id, bool otr); 186 static SkColor GetDefaultColor(int id, bool otr);
183 187
184 private: 188 private:
185 DISALLOW_IMPLICIT_CONSTRUCTORS(ThemeProperties); 189 DISALLOW_IMPLICIT_CONSTRUCTORS(ThemeProperties);
186 }; 190 };
187 191
188 #endif // CHROME_BROWSER_THEMES_THEME_PROPERTIES_H_ 192 #endif // CHROME_BROWSER_THEMES_THEME_PROPERTIES_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/themes/theme_service_win.h » ('j') | chrome/browser/themes/theme_service_win.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698