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

Side by Side Diff: ash/accelerators/key_hold_detector.h

Issue 1540753002: Switch to standard integer types in ash/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: arraysize Created 5 years 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
« no previous file with comments | « ash/accelerators/focus_manager_factory.h ('k') | ash/accelerators/magnifier_key_scroller.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_ACCELERATOR_KEY_HOLD_DETECTOR_H_ 5 #ifndef ASH_ACCELERATOR_KEY_HOLD_DETECTOR_H_
6 #define ASH_ACCELERATOR_KEY_HOLD_DETECTOR_H_ 6 #define ASH_ACCELERATOR_KEY_HOLD_DETECTOR_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
10 #include "ui/events/event_handler.h" 11 #include "ui/events/event_handler.h"
11 12
12 namespace ui { 13 namespace ui {
13 class KeyEvent; 14 class KeyEvent;
14 } 15 }
15 16
16 namespace ash { 17 namespace ash {
17 18
18 // This class is used to implement action when a user press and hold the key. 19 // This class is used to implement action when a user press and hold the key.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 66
66 State state_; 67 State state_;
67 scoped_ptr<Delegate> delegate_; 68 scoped_ptr<Delegate> delegate_;
68 69
69 DISALLOW_COPY_AND_ASSIGN(KeyHoldDetector); 70 DISALLOW_COPY_AND_ASSIGN(KeyHoldDetector);
70 }; 71 };
71 72
72 } // namespace ash 73 } // namespace ash
73 74
74 #endif // ASH_ACCELERATOR_KEY_HOLD_DETECTOR_H_ 75 #endif // ASH_ACCELERATOR_KEY_HOLD_DETECTOR_H_
OLDNEW
« no previous file with comments | « ash/accelerators/focus_manager_factory.h ('k') | ash/accelerators/magnifier_key_scroller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698