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

Side by Side Diff: chrome/browser/ui/webui/options2/chromeos/pointer_handler2.h

Issue 9854025: Automatically remap Command key on an Apple keyboard to Control [part 2 of 2 - Chrome part] (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 9 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 | « chrome/browser/ui/views/ash/key_rewriter_unittest.cc ('k') | chrome/chrome_browser.gypi » ('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 CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_POINTER_HANDLER2_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_POINTER_HANDLER2_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_POINTER_HANDLER2_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_POINTER_HANDLER2_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 12 matching lines...) Expand all
23 PointerHandler(); 23 PointerHandler();
24 virtual ~PointerHandler(); 24 virtual ~PointerHandler();
25 25
26 // OptionsPageUIHandler implementation. 26 // OptionsPageUIHandler implementation.
27 virtual void GetLocalizedValues(DictionaryValue* localized_strings) OVERRIDE; 27 virtual void GetLocalizedValues(DictionaryValue* localized_strings) OVERRIDE;
28 virtual void InitializeHandler() OVERRIDE; 28 virtual void InitializeHandler() OVERRIDE;
29 virtual void InitializePage() OVERRIDE; 29 virtual void InitializePage() OVERRIDE;
30 30
31 // DeviceHierarchyObserver implementation. 31 // DeviceHierarchyObserver implementation.
32 virtual void DeviceHierarchyChanged() OVERRIDE; 32 virtual void DeviceHierarchyChanged() OVERRIDE;
33 virtual void DeviceAdded(int device_id) OVERRIDE {}
34 virtual void KeyPressedOrReleased(int device_id) OVERRIDE {}
33 35
34 private: 36 private:
35 // Check for input devices. 37 // Check for input devices.
36 void CheckTouchpadExists(); 38 void CheckTouchpadExists();
37 void CheckMouseExists(); 39 void CheckMouseExists();
38 40
39 // Callback for input device checks. 41 // Callback for input device checks.
40 void TouchpadExists(bool* exists); 42 void TouchpadExists(bool* exists);
41 void MouseExists(bool* exists); 43 void MouseExists(bool* exists);
42 44
43 DISALLOW_COPY_AND_ASSIGN(PointerHandler); 45 DISALLOW_COPY_AND_ASSIGN(PointerHandler);
44 }; 46 };
45 47
46 } // namespace options2 48 } // namespace options2
47 } // namespace chromeos 49 } // namespace chromeos
48 50
49 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_POINTER_HANDLER2_H_ 51 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_POINTER_HANDLER2_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/ash/key_rewriter_unittest.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698