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

Side by Side Diff: chrome/browser/chromeos/system/device_change_handler.h

Issue 623293003: replace OVERRIDE and FINAL with override and final in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format on echo_dialog_view.h 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CHROME_BROWSER_CHROMEOS_SYSTEM_DEVICE_CHANGE_HANDLER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_DEVICE_CHANGE_HANDLER_H_
6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_DEVICE_CHANGE_HANDLER_H_ 6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_DEVICE_CHANGE_HANDLER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/chromeos/system/pointer_device_observer.h" 9 #include "chrome/browser/chromeos/system/pointer_device_observer.h"
10 10
11 namespace chromeos { 11 namespace chromeos {
12 namespace system { 12 namespace system {
13 13
14 // Observes changes in device hierarchy. When a new touchpad/mouse is attached, 14 // Observes changes in device hierarchy. When a new touchpad/mouse is attached,
15 // applies the last used touchpad/mouse settings to the system. 15 // applies the last used touchpad/mouse settings to the system.
16 class DeviceChangeHandler : public PointerDeviceObserver::Observer { 16 class DeviceChangeHandler : public PointerDeviceObserver::Observer {
17 public: 17 public:
18 DeviceChangeHandler(); 18 DeviceChangeHandler();
19 virtual ~DeviceChangeHandler(); 19 virtual ~DeviceChangeHandler();
20 20
21 private: 21 private:
22 // PointerDeviceObserver::Observer implementation. 22 // PointerDeviceObserver::Observer implementation.
23 virtual void TouchpadExists(bool exists) OVERRIDE; 23 virtual void TouchpadExists(bool exists) override;
24 virtual void MouseExists(bool exists) OVERRIDE; 24 virtual void MouseExists(bool exists) override;
25 25
26 scoped_ptr<PointerDeviceObserver> pointer_device_observer_; 26 scoped_ptr<PointerDeviceObserver> pointer_device_observer_;
27 }; 27 };
28 28
29 } // namespace system 29 } // namespace system
30 } // namespace chromeos 30 } // namespace chromeos
31 31
32 32
33 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_DEVICE_CHANGE_HANDLER_H_ 33 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_DEVICE_CHANGE_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698