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

Side by Side Diff: ui/gfx/sys_color_change_listener.h

Issue 10736016: Fix ifdef guard. This was being masked by the "#pragma once". (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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_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
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_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698