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

Side by Side Diff: chrome/browser/chromeos/cros/touchpad_library.h

Issue 5854003: Remove CrOS hack from ppapi.gyp that made the include directories work. This... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_CROS_TOUCHPAD_LIBRARY_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_TOUCHPAD_LIBRARY_H_
6 #define CHROME_BROWSER_CHROMEOS_CROS_TOUCHPAD_LIBRARY_H_ 6 #define CHROME_BROWSER_CHROMEOS_CROS_TOUCHPAD_LIBRARY_H_
7 #pragma once 7 #pragma once
8 8
9 #include "cros/chromeos_touchpad.h" 9 #include "third_party/cros/chromeos_touchpad.h"
10 10
11 namespace chromeos { 11 namespace chromeos {
12 12
13 // This interface defines interaction with the ChromeOS synaptics library APIs. 13 // This interface defines interaction with the ChromeOS synaptics library APIs.
14 // Users can get an instance of this library class like this: 14 // Users can get an instance of this library class like this:
15 // chromeos::CrosLibrary::Get()->GetTouchpadLibrary() 15 // chromeos::CrosLibrary::Get()->GetTouchpadLibrary()
16 class TouchpadLibrary { 16 class TouchpadLibrary {
17 public: 17 public:
18 virtual ~TouchpadLibrary() {} 18 virtual ~TouchpadLibrary() {}
19 virtual void SetSensitivity(int value) = 0; 19 virtual void SetSensitivity(int value) = 0;
20 virtual void SetTapToClick(bool enabled) = 0; 20 virtual void SetTapToClick(bool enabled) = 0;
21 21
22 // Factory function, creates a new instance and returns ownership. 22 // Factory function, creates a new instance and returns ownership.
23 // For normal usage, access the singleton via CrosLibrary::Get(). 23 // For normal usage, access the singleton via CrosLibrary::Get().
24 static TouchpadLibrary* GetImpl(bool stub); 24 static TouchpadLibrary* GetImpl(bool stub);
25 }; 25 };
26 26
27 27
28 } // namespace chromeos 28 } // namespace chromeos
29 29
30 #endif // CHROME_BROWSER_CHROMEOS_CROS_TOUCHPAD_LIBRARY_H_ 30 #endif // CHROME_BROWSER_CHROMEOS_CROS_TOUCHPAD_LIBRARY_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/system_library.h ('k') | chrome/browser/chromeos/cros/update_library.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698