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

Side by Side Diff: ui/base/default_theme_provider.h

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month 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/base/cursor/cursor.h ('k') | ui/base/dragdrop/drag_utils.h » ('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) 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_BASE_DEFAULT_THEME_PROVIDER_H_ 5 #ifndef UI_BASE_DEFAULT_THEME_PROVIDER_H_
6 #define UI_BASE_DEFAULT_THEME_PROVIDER_H_ 6 #define UI_BASE_DEFAULT_THEME_PROVIDER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "ui/base/theme_provider.h" 13 #include "ui/base/theme_provider.h"
14 #include "ui/base/ui_base_export.h" 14 #include "ui/base/ui_base_export.h"
15 15
16 namespace ui { 16 namespace ui {
17 class ResourceBundle;
18 }
19
20 namespace ui {
21 17
22 class UI_BASE_EXPORT DefaultThemeProvider : public ThemeProvider { 18 class UI_BASE_EXPORT DefaultThemeProvider : public ThemeProvider {
23 public: 19 public:
24 DefaultThemeProvider(); 20 DefaultThemeProvider();
25 ~DefaultThemeProvider() override; 21 ~DefaultThemeProvider() override;
26 22
27 // Overridden from ui::ThemeProvider: 23 // Overridden from ui::ThemeProvider:
28 gfx::ImageSkia* GetImageSkiaNamed(int id) const override; 24 gfx::ImageSkia* GetImageSkiaNamed(int id) const override;
29 SkColor GetColor(int id) const override; 25 SkColor GetColor(int id) const override;
30 color_utils::HSL GetTint(int id) const override; 26 color_utils::HSL GetTint(int id) const override;
(...skipping 15 matching lines...) Expand all
46 bool ShouldIncreaseContrast() const override; 42 bool ShouldIncreaseContrast() const override;
47 #endif 43 #endif
48 44
49 private: 45 private:
50 DISALLOW_COPY_AND_ASSIGN(DefaultThemeProvider); 46 DISALLOW_COPY_AND_ASSIGN(DefaultThemeProvider);
51 }; 47 };
52 48
53 } // namespace ui 49 } // namespace ui
54 50
55 #endif // UI_BASE_DEFAULT_THEME_PROVIDER_H_ 51 #endif // UI_BASE_DEFAULT_THEME_PROVIDER_H_
OLDNEW
« no previous file with comments | « ui/base/cursor/cursor.h ('k') | ui/base/dragdrop/drag_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698