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

Side by Side Diff: chrome/browser/ui/webui/options/chromeos/pointer_handler.h

Issue 629463003: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[w-z]* (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 (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 CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_POINTER_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_POINTER_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_POINTER_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_POINTER_HANDLER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/prefs/pref_member.h" 10 #include "base/prefs/pref_member.h"
11 #include "chrome/browser/chromeos/system/pointer_device_observer.h" 11 #include "chrome/browser/chromeos/system/pointer_device_observer.h"
12 #include "chrome/browser/ui/webui/options/options_ui.h" 12 #include "chrome/browser/ui/webui/options/options_ui.h"
13 13
14 namespace chromeos { 14 namespace chromeos {
15 namespace options { 15 namespace options {
16 16
17 // Pointer settings overlay page UI handler. 17 // Pointer settings overlay page UI handler.
18 class PointerHandler 18 class PointerHandler
19 : public ::options::OptionsPageUIHandler, 19 : public ::options::OptionsPageUIHandler,
20 public chromeos::system::PointerDeviceObserver::Observer { 20 public chromeos::system::PointerDeviceObserver::Observer {
21 public: 21 public:
22 PointerHandler(); 22 PointerHandler();
23 virtual ~PointerHandler(); 23 virtual ~PointerHandler();
24 24
25 // OptionsPageUIHandler implementation. 25 // OptionsPageUIHandler implementation.
26 virtual void GetLocalizedValues( 26 virtual void GetLocalizedValues(
27 base::DictionaryValue* localized_strings) OVERRIDE; 27 base::DictionaryValue* localized_strings) override;
28 28
29 private: 29 private:
30 // PointerDeviceObserver implementation. 30 // PointerDeviceObserver implementation.
31 virtual void TouchpadExists(bool exists) OVERRIDE; 31 virtual void TouchpadExists(bool exists) override;
32 virtual void MouseExists(bool exists) OVERRIDE; 32 virtual void MouseExists(bool exists) override;
33 33
34 // Set the title dynamically based on whether a touchpad and/or mouse is 34 // Set the title dynamically based on whether a touchpad and/or mouse is
35 // detected. 35 // detected.
36 void UpdateTitle(); 36 void UpdateTitle();
37 37
38 bool has_touchpad_; 38 bool has_touchpad_;
39 bool has_mouse_; 39 bool has_mouse_;
40 40
41 DISALLOW_COPY_AND_ASSIGN(PointerHandler); 41 DISALLOW_COPY_AND_ASSIGN(PointerHandler);
42 }; 42 };
43 43
44 } // namespace options 44 } // namespace options
45 } // namespace chromeos 45 } // namespace chromeos
46 46
47 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_POINTER_HANDLER_H_ 47 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_POINTER_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/keyboard_handler.h ('k') | chrome/browser/ui/webui/options/chromeos/proxy_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698