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

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

Issue 621133002: replace OVERRIDE and FINAL with override and final in ash/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
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_ACCELERATORS_SPOKEN_FEEDBACK_TOGGLER_H_ 5 #ifndef ASH_ACCELERATORS_SPOKEN_FEEDBACK_TOGGLER_H_
6 #define ASH_ACCELERATORS_SPOKEN_FEEDBACK_TOGGLER_H_ 6 #define ASH_ACCELERATORS_SPOKEN_FEEDBACK_TOGGLER_H_
7 7
8 #include "ash/accelerators/key_hold_detector.h" 8 #include "ash/accelerators/key_hold_detector.h"
9 #include "ash/ash_export.h" 9 #include "ash/ash_export.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 21 matching lines...) Expand all
32 ~ScopedEnablerForTest() { 32 ~ScopedEnablerForTest() {
33 SetEnabled(false); 33 SetEnabled(false);
34 } 34 }
35 35
36 private: 36 private:
37 DISALLOW_COPY_AND_ASSIGN(ScopedEnablerForTest); 37 DISALLOW_COPY_AND_ASSIGN(ScopedEnablerForTest);
38 }; 38 };
39 39
40 private: 40 private:
41 // KeyHoldDetector overrides: 41 // KeyHoldDetector overrides:
42 virtual bool ShouldProcessEvent(const ui::KeyEvent* event) const OVERRIDE; 42 virtual bool ShouldProcessEvent(const ui::KeyEvent* event) const override;
43 virtual bool IsStartEvent(const ui::KeyEvent* event) const OVERRIDE; 43 virtual bool IsStartEvent(const ui::KeyEvent* event) const override;
44 virtual void OnKeyHold(const ui::KeyEvent* event) OVERRIDE; 44 virtual void OnKeyHold(const ui::KeyEvent* event) override;
45 virtual void OnKeyUnhold(const ui::KeyEvent* event) OVERRIDE; 45 virtual void OnKeyUnhold(const ui::KeyEvent* event) override;
46 46
47 SpokenFeedbackToggler(); 47 SpokenFeedbackToggler();
48 virtual ~SpokenFeedbackToggler(); 48 virtual ~SpokenFeedbackToggler();
49 49
50 bool toggled_; 50 bool toggled_;
51 51
52 DISALLOW_COPY_AND_ASSIGN(SpokenFeedbackToggler); 52 DISALLOW_COPY_AND_ASSIGN(SpokenFeedbackToggler);
53 }; 53 };
54 54
55 } // namespace ash 55 } // namespace ash
56 56
57 #endif // ASH_ACCELERATORS_SPOKEN_FEEDBACK_TOGGLER_H_ 57 #endif // ASH_ACCELERATORS_SPOKEN_FEEDBACK_TOGGLER_H_
OLDNEW
« no previous file with comments | « ash/accelerators/nested_accelerator_delegate.h ('k') | ash/accelerometer/accelerometer_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698