OLD | NEW |
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_VIEWS_WIDGET_DEFAULT_THEME_PROVIDER_H_ | 5 #ifndef UI_VIEWS_WIDGET_DEFAULT_THEME_PROVIDER_H_ |
6 #define UI_VIEWS_WIDGET_DEFAULT_THEME_PROVIDER_H_ | 6 #define UI_VIEWS_WIDGET_DEFAULT_THEME_PROVIDER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 public: | 24 public: |
25 DefaultThemeProvider(); | 25 DefaultThemeProvider(); |
26 virtual ~DefaultThemeProvider(); | 26 virtual ~DefaultThemeProvider(); |
27 | 27 |
28 // Overridden from ui::ThemeProvider: | 28 // Overridden from ui::ThemeProvider: |
29 virtual SkBitmap* GetBitmapNamed(int id) const OVERRIDE; | 29 virtual SkBitmap* GetBitmapNamed(int id) const OVERRIDE; |
30 virtual SkColor GetColor(int id) const OVERRIDE; | 30 virtual SkColor GetColor(int id) const OVERRIDE; |
31 virtual bool GetDisplayProperty(int id, int* result) const OVERRIDE; | 31 virtual bool GetDisplayProperty(int id, int* result) const OVERRIDE; |
32 virtual bool ShouldUseNativeFrame() const OVERRIDE; | 32 virtual bool ShouldUseNativeFrame() const OVERRIDE; |
33 virtual bool HasCustomImage(int id) const OVERRIDE; | 33 virtual bool HasCustomImage(int id) const OVERRIDE; |
34 virtual RefCountedMemory* GetRawData(int id) const OVERRIDE; | 34 virtual base::RefCountedMemory* GetRawData(int id) const OVERRIDE; |
35 | 35 |
36 private: | 36 private: |
37 DISALLOW_COPY_AND_ASSIGN(DefaultThemeProvider); | 37 DISALLOW_COPY_AND_ASSIGN(DefaultThemeProvider); |
38 }; | 38 }; |
39 | 39 |
40 } // namespace views | 40 } // namespace views |
41 | 41 |
42 #endif // UI_VIEWS_WIDGET_DEFAULT_THEME_PROVIDER_H_ | 42 #endif // UI_VIEWS_WIDGET_DEFAULT_THEME_PROVIDER_H_ |
OLD | NEW |