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

Side by Side Diff: ui/native_theme/native_theme.h

Issue 1262513002: Use vectorized icon for default extensions icons (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 4 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
« no previous file with comments | « ui/native_theme/common_theme.cc ('k') | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 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 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 UI_NATIVE_THEME_NATIVE_THEME_H_ 5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_H_
6 #define UI_NATIVE_THEME_NATIVE_THEME_H_ 6 #define UI_NATIVE_THEME_NATIVE_THEME_H_
7 7
8 #include "base/observer_list.h" 8 #include "base/observer_list.h"
9 #include "third_party/skia/include/core/SkColor.h" 9 #include "third_party/skia/include/core/SkColor.h"
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 // Positive text refers to good (often rendered in green) text, such as the 317 // Positive text refers to good (often rendered in green) text, such as the
318 // stock value went up. 318 // stock value went up.
319 kColorId_ResultsTablePositiveText, 319 kColorId_ResultsTablePositiveText,
320 kColorId_ResultsTablePositiveHoveredText, 320 kColorId_ResultsTablePositiveHoveredText,
321 kColorId_ResultsTablePositiveSelectedText, 321 kColorId_ResultsTablePositiveSelectedText,
322 // Negative text refers to something alarming (often rendered in red), such 322 // Negative text refers to something alarming (often rendered in red), such
323 // as the stock value went down. 323 // as the stock value went down.
324 kColorId_ResultsTableNegativeText, 324 kColorId_ResultsTableNegativeText,
325 kColorId_ResultsTableNegativeHoveredText, 325 kColorId_ResultsTableNegativeHoveredText,
326 kColorId_ResultsTableNegativeSelectedText, 326 kColorId_ResultsTableNegativeSelectedText,
327 // For MD icons.
328 kColorId_ChromeIconGrey,
327 // Colors for the material spinner (aka throbber). 329 // Colors for the material spinner (aka throbber).
328 kColorId_ThrobberSpinningColor, 330 kColorId_ThrobberSpinningColor,
329 kColorId_ThrobberWaitingColor, 331 kColorId_ThrobberWaitingColor,
330 kColorId_ThrobberLightColor, 332 kColorId_ThrobberLightColor,
331 // TODO(benrg): move other hardcoded colors here. 333 // TODO(benrg): move other hardcoded colors here.
332 334
333 kColorId_NumColors, 335 kColorId_NumColors,
334 }; 336 };
335 337
336 // Return a color from the system theme. 338 // Return a color from the system theme.
(...skipping 24 matching lines...) Expand all
361 private: 363 private:
362 // Observers to notify when the native theme changes. 364 // Observers to notify when the native theme changes.
363 base::ObserverList<NativeThemeObserver> native_theme_observers_; 365 base::ObserverList<NativeThemeObserver> native_theme_observers_;
364 366
365 DISALLOW_COPY_AND_ASSIGN(NativeTheme); 367 DISALLOW_COPY_AND_ASSIGN(NativeTheme);
366 }; 368 };
367 369
368 } // namespace ui 370 } // namespace ui
369 371
370 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_ 372 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_
OLDNEW
« no previous file with comments | « ui/native_theme/common_theme.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698