OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_CHROMEOS_NATIVE_THEME_CHROMEOS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_NATIVE_THEME_CHROMEOS_H_ |
6 #define CHROME_BROWSER_CHROMEOS_NATIVE_THEME_CHROMEOS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_NATIVE_THEME_CHROMEOS_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "gfx/native_theme_linux.h" | 10 #include "ui/gfx/native_theme_linux.h" |
11 | 11 |
12 class SkBitmap; | 12 class SkBitmap; |
13 | 13 |
14 class NativeThemeChromeos : public gfx::NativeThemeLinux { | 14 class NativeThemeChromeos : public gfx::NativeThemeLinux { |
15 private: | 15 private: |
16 friend class NativeThemeLinux; | 16 friend class NativeThemeLinux; |
17 NativeThemeChromeos(); | 17 NativeThemeChromeos(); |
18 virtual ~NativeThemeChromeos(); | 18 virtual ~NativeThemeChromeos(); |
19 | 19 |
20 // Scrollbar painting overrides | 20 // Scrollbar painting overrides |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 84 |
85 // Cached images. The ResourceBundle caches all retrieved bitmaps and keeps | 85 // Cached images. The ResourceBundle caches all retrieved bitmaps and keeps |
86 // ownership of the pointers. | 86 // ownership of the pointers. |
87 typedef std::map<int, SkBitmap*> SkImageMap; | 87 typedef std::map<int, SkBitmap*> SkImageMap; |
88 SkImageMap horizontal_bitmaps_; | 88 SkImageMap horizontal_bitmaps_; |
89 | 89 |
90 DISALLOW_COPY_AND_ASSIGN(NativeThemeChromeos); | 90 DISALLOW_COPY_AND_ASSIGN(NativeThemeChromeos); |
91 }; | 91 }; |
92 | 92 |
93 #endif // CHROME_BROWSER_CHROMEOS_NATIVE_THEME_CHROMEOS_H_ | 93 #endif // CHROME_BROWSER_CHROMEOS_NATIVE_THEME_CHROMEOS_H_ |
OLD | NEW |