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_GFX_SYS_COLOR_CHANGE_LISTENER_H_ | 5 #ifndef UI_GFX_SYS_COLOR_CHANGE_LISTENER_H_ |
6 #define UI_GFX_SYS_COLOR_SCHEME_LISTENER_H_ | 6 #define UI_GFX_SYS_COLOR_CHANGE_LISTENER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "third_party/skia/include/core/SkColor.h" | 10 #include "third_party/skia/include/core/SkColor.h" |
11 #include "ui/base/ui_export.h" | 11 #include "ui/base/ui_export.h" |
12 | 12 |
13 namespace gfx { | 13 namespace gfx { |
14 | 14 |
15 // Returns true only if Chrome should use an inverted color scheme - which is | 15 // Returns true only if Chrome should use an inverted color scheme - which is |
16 // only true if the system has high-contrast mode enabled and and is using a | 16 // only true if the system has high-contrast mode enabled and and is using a |
(...skipping 18 matching lines...) Expand all Loading... |
35 ~ScopedSysColorChangeListener(); | 35 ~ScopedSysColorChangeListener(); |
36 | 36 |
37 private: | 37 private: |
38 SysColorChangeListener* listener_; | 38 SysColorChangeListener* listener_; |
39 | 39 |
40 DISALLOW_COPY_AND_ASSIGN(ScopedSysColorChangeListener); | 40 DISALLOW_COPY_AND_ASSIGN(ScopedSysColorChangeListener); |
41 }; | 41 }; |
42 | 42 |
43 } // namespace gfx; | 43 } // namespace gfx; |
44 | 44 |
45 #endif // UI_GFX_SYS_COLOR_CHANGE_LISTENER_ | 45 #endif // UI_GFX_SYS_COLOR_CHANGE_LISTENER_H_ |
OLD | NEW |