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

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

Issue 2682803003: Gtk3: Add themable location bar border color (Closed)
Patch Set: Set upstream branch Created 3 years, 10 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 // The color of the line separating the bottom of the toolbar from the 83 // The color of the line separating the bottom of the toolbar from the
84 // contents. 84 // contents.
85 COLOR_TOOLBAR_BOTTOM_SEPARATOR, 85 COLOR_TOOLBAR_BOTTOM_SEPARATOR,
86 86
87 // The color of a normal toolbar button's icon. 87 // The color of a normal toolbar button's icon.
88 COLOR_TOOLBAR_BUTTON_ICON, 88 COLOR_TOOLBAR_BUTTON_ICON,
89 // The color of a disabled toolbar button's icon. 89 // The color of a disabled toolbar button's icon.
90 COLOR_TOOLBAR_BUTTON_ICON_INACTIVE, 90 COLOR_TOOLBAR_BUTTON_ICON_INACTIVE,
91 91
92 // The color of the border drawn around the location bar.
93 COLOR_TOOLBAR_ENTRY_BORDER,
Evan Stade 2017/02/08 16:31:12 this name seems gtk-inspired rather than chrome in
Tom (Use chromium acct) 2017/02/08 21:20:25 you are correct :) I renamed it to COLOR_LOCATION_
94
92 // The color of the line separating the top of the toolbar from the region 95 // The color of the line separating the top of the toolbar from the region
93 // above. For a tabbed browser window, this is the line along the bottom 96 // above. For a tabbed browser window, this is the line along the bottom
94 // edge of the tabstrip, the stroke around the tabs, and the new tab button 97 // edge of the tabstrip, the stroke around the tabs, and the new tab button
95 // stroke/shadow color. 98 // stroke/shadow color.
96 COLOR_TOOLBAR_TOP_SEPARATOR, 99 COLOR_TOOLBAR_TOP_SEPARATOR,
97 COLOR_TOOLBAR_TOP_SEPARATOR_INACTIVE, 100 COLOR_TOOLBAR_TOP_SEPARATOR_INACTIVE,
98 101
99 // Colors of vertical separators, such as on the bookmark bar or on the DL 102 // Colors of vertical separators, such as on the bookmark bar or on the DL
100 // shelf. 103 // shelf.
101 COLOR_TOOLBAR_VERTICAL_SEPARATOR, 104 COLOR_TOOLBAR_VERTICAL_SEPARATOR,
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 177
175 // Returns the default color for the given color |id| COLOR_* enum value. 178 // Returns the default color for the given color |id| COLOR_* enum value.
176 // Returns gfx::kPlaceholderColor if |id| is invalid. 179 // Returns gfx::kPlaceholderColor if |id| is invalid.
177 static SkColor GetDefaultColor(int id, bool otr); 180 static SkColor GetDefaultColor(int id, bool otr);
178 181
179 private: 182 private:
180 DISALLOW_IMPLICIT_CONSTRUCTORS(ThemeProperties); 183 DISALLOW_IMPLICIT_CONSTRUCTORS(ThemeProperties);
181 }; 184 };
182 185
183 #endif // CHROME_BROWSER_THEMES_THEME_PROPERTIES_H_ 186 #endif // CHROME_BROWSER_THEMES_THEME_PROPERTIES_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/themes/theme_service.cc » ('j') | chrome/browser/themes/theme_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698