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

Side by Side Diff: ash/system/brightness/brightness_control_delegate.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/system/bluetooth/tray_bluetooth.h ('k') | ash/system/brightness/tray_brightness.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_SYSTEM_BRIGHTNESS_BRIGHTNESS_CONTROL_DELEGATE_H_ 5 #ifndef ASH_SYSTEM_BRIGHTNESS_BRIGHTNESS_CONTROL_DELEGATE_H_
6 #define ASH_SYSTEM_BRIGHTNESS_BRIGHTNESS_CONTROL_DELEGATE_H_ 6 #define ASH_SYSTEM_BRIGHTNESS_BRIGHTNESS_CONTROL_DELEGATE_H_
7 #pragma once
8 7
9 #include "base/callback.h" 8 #include "base/callback.h"
10 9
11 namespace ui { 10 namespace ui {
12 class Accelerator; 11 class Accelerator;
13 } // namespace ui 12 } // namespace ui
14 13
15 namespace ash { 14 namespace ash {
16 15
17 // Delegate for controlling the brightness. 16 // Delegate for controlling the brightness.
(...skipping 13 matching lines...) Expand all
31 30
32 // Asynchronously invokes |callback| with the current brightness, in the range 31 // Asynchronously invokes |callback| with the current brightness, in the range
33 // [0.0, 100.0]. 32 // [0.0, 100.0].
34 virtual void GetBrightnessPercent( 33 virtual void GetBrightnessPercent(
35 const base::Callback<void(double)>& callback) = 0; 34 const base::Callback<void(double)>& callback) = 0;
36 }; 35 };
37 36
38 } // namespace ash 37 } // namespace ash
39 38
40 #endif // ASH_SYSTEM_BRIGHTNESS_BRIGHTNESS_CONTROL_DELEGATE_H_ 39 #endif // ASH_SYSTEM_BRIGHTNESS_BRIGHTNESS_CONTROL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/system/bluetooth/tray_bluetooth.h ('k') | ash/system/brightness/tray_brightness.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698