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

Side by Side Diff: ash/caps_lock_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/ash_switches.h ('k') | ash/desktop_background/desktop_background_controller.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_CAPS_LOCK_DELEGATE_H_ 5 #ifndef ASH_CAPS_LOCK_DELEGATE_H_
6 #define ASH_CAPS_LOCK_DELEGATE_H_ 6 #define ASH_CAPS_LOCK_DELEGATE_H_
7 #pragma once
8 7
9 namespace ash { 8 namespace ash {
10 9
11 // Delegate for toggling Caps Lock. 10 // Delegate for toggling Caps Lock.
12 class CapsLockDelegate { 11 class CapsLockDelegate {
13 public: 12 public:
14 virtual ~CapsLockDelegate() {} 13 virtual ~CapsLockDelegate() {}
15 14
16 // A derived class should do either of the following: 1) toggle Caps Lock and 15 // A derived class should do either of the following: 1) toggle Caps Lock and
17 // return true, or 2) do nothing and return false (see crosbug.com/110127). 16 // return true, or 2) do nothing and return false (see crosbug.com/110127).
18 virtual bool HandleToggleCapsLock() = 0; 17 virtual bool HandleToggleCapsLock() = 0;
19 }; 18 };
20 } // namespace ash 19 } // namespace ash
21 20
22 #endif // ASH_CAPS_LOCK_DELEGATE_H_ 21 #endif // ASH_CAPS_LOCK_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/ash_switches.h ('k') | ash/desktop_background/desktop_background_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698