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

Side by Side Diff: ash/high_contrast/high_contrast_controller.h

Issue 10693135: Remove #pragma once from ash (Closed) Base URL: svn://svn.chromium.org/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 | « ash/focus_cycler.h ('k') | ash/ime_control_delegate.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 ASH_HIGH_CONTRAST_HIGH_CONTRAST_CONTROLLER_H_ 5 #ifndef ASH_HIGH_CONTRAST_HIGH_CONTRAST_CONTROLLER_H_
6 #define ASH_HIGH_CONTRAST_HIGH_CONTRAST_CONTROLLER_H_ 6 #define ASH_HIGH_CONTRAST_HIGH_CONTRAST_CONTROLLER_H_
7 #pragma once
8 7
9 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
10 #include "base/basictypes.h" 9 #include "base/basictypes.h"
11 10
12 namespace aura { 11 namespace aura {
13 class RootWindow; 12 class RootWindow;
14 } 13 }
15 14
16 namespace ash { 15 namespace ash {
17 16
18 class ASH_EXPORT HighContrastController { 17 class ASH_EXPORT HighContrastController {
19 public: 18 public:
20 HighContrastController(); 19 HighContrastController();
21 20
22 ~HighContrastController() {} 21 ~HighContrastController() {}
23 22
24 void SetEnabled(bool enabled); 23 void SetEnabled(bool enabled);
25 24
26 private: 25 private:
27 aura::RootWindow* root_window_; 26 aura::RootWindow* root_window_;
28 27
29 bool enabled_; 28 bool enabled_;
30 29
31 DISALLOW_COPY_AND_ASSIGN(HighContrastController); 30 DISALLOW_COPY_AND_ASSIGN(HighContrastController);
32 }; 31 };
33 32
34 } // namespace ash 33 } // namespace ash
35 34
36 #endif // ASH_HIGH_CONTRAST_HIGH_CONTRAST_CONTROLLER_H_ 35 #endif // ASH_HIGH_CONTRAST_HIGH_CONTRAST_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/focus_cycler.h ('k') | ash/ime_control_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698