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

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

Issue 795933009: [AiS] for desktop, two lines and font sytles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Increase vertical spacing in suggestions Created 5 years, 9 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) 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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 kColorId_ResultsTableSelectedText, 307 kColorId_ResultsTableSelectedText,
308 kColorId_ResultsTableNormalDimmedText, 308 kColorId_ResultsTableNormalDimmedText,
309 kColorId_ResultsTableHoveredDimmedText, 309 kColorId_ResultsTableHoveredDimmedText,
310 kColorId_ResultsTableSelectedDimmedText, 310 kColorId_ResultsTableSelectedDimmedText,
311 kColorId_ResultsTableNormalUrl, 311 kColorId_ResultsTableNormalUrl,
312 kColorId_ResultsTableHoveredUrl, 312 kColorId_ResultsTableHoveredUrl,
313 kColorId_ResultsTableSelectedUrl, 313 kColorId_ResultsTableSelectedUrl,
314 kColorId_ResultsTableNormalDivider, 314 kColorId_ResultsTableNormalDivider,
315 kColorId_ResultsTableHoveredDivider, 315 kColorId_ResultsTableHoveredDivider,
316 kColorId_ResultsTableSelectedDivider, 316 kColorId_ResultsTableSelectedDivider,
317 // Answers within the chrome omnibox.
Justin Donnelly 2015/03/13 21:08:33 nit: s/chrome omnibox/Chrome Omnibox/ More import
dschuyler 2015/03/13 21:48:23 The 'done' part here is the nit. I'm still workin
318 kColorId_AnswerNormalText,
319 kColorId_AnswerNormalTextHovered,
320 kColorId_AnswerNormalTextSelected,
321 kColorId_AnswerInfoText,
322 kColorId_AnswerInfoTextHovered,
323 kColorId_AnswerInfoTextSelected,
324 kColorId_AnswerLinkText,
325 kColorId_AnswerLinkTextHovered,
326 kColorId_AnswerLinkTextSelected,
327 kColorId_AnswerPositiveText,
328 kColorId_AnswerPositiveTextHovered,
329 kColorId_AnswerPositiveTextSelected,
330 kColorId_AnswerNegativeText,
331 kColorId_AnswerNegativeTextHovered,
332 kColorId_AnswerNegativeTextSelected,
317 // TODO(benrg): move other hardcoded colors here. 333 // TODO(benrg): move other hardcoded colors here.
318 334
319 kColorId_NumColors, 335 kColorId_NumColors,
320 }; 336 };
321 337
322 // Return a color from the system theme. 338 // Return a color from the system theme.
323 virtual SkColor GetSystemColor(ColorId color_id) const = 0; 339 virtual SkColor GetSystemColor(ColorId color_id) const = 0;
324 340
325 // Returns a shared instance of the native theme. 341 // Returns a shared instance of the native theme.
326 // The returned object should not be deleted by the caller. This function 342 // The returned object should not be deleted by the caller. This function
(...skipping 20 matching lines...) Expand all
347 private: 363 private:
348 // Observers to notify when the native theme changes. 364 // Observers to notify when the native theme changes.
349 ObserverList<NativeThemeObserver> native_theme_observers_; 365 ObserverList<NativeThemeObserver> native_theme_observers_;
350 366
351 DISALLOW_COPY_AND_ASSIGN(NativeTheme); 367 DISALLOW_COPY_AND_ASSIGN(NativeTheme);
352 }; 368 };
353 369
354 } // namespace ui 370 } // namespace ui
355 371
356 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_ 372 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_
OLDNEW
« ui/native_theme/fallback_theme.cc ('K') | « ui/native_theme/fallback_theme.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698