| Index: chrome/browser/chromeos/cros/synaptics_library.h
|
| diff --git a/chrome/browser/chromeos/cros/synaptics_library.h b/chrome/browser/chromeos/cros/synaptics_library.h
|
| index fc5a80e7710b79eba8c653a8d41c069cc4e4c726..17a302fe6d5ecc958b95c084cd7940efb17951d0 100644
|
| --- a/chrome/browser/chromeos/cros/synaptics_library.h
|
| +++ b/chrome/browser/chromeos/cros/synaptics_library.h
|
| @@ -25,32 +25,12 @@ class SynapticsLibrary {
|
| // Sets a range parameter. The actual call will be run on the FILE thread.
|
| // Value should be between 1 and 10 inclusive.
|
| virtual void SetRangeParameter(SynapticsParameter param, int value) = 0;
|
| -};
|
| -
|
| -
|
| -// This class handles the interaction with the ChromeOS synaptics library APIs.
|
| -// Users can get an instance of this library class like this:
|
| -// SynapticsLibrary::Get()
|
| -// For a list of SynapticsPrameters, see chromeos_synaptics.h
|
| -// in third_party/cros or /usr/include/cros
|
| -class SynapticsLibraryImpl : public SynapticsLibrary {
|
| - public:
|
| - SynapticsLibraryImpl() {}
|
| - virtual ~SynapticsLibraryImpl() {}
|
| -
|
| - // SynapticsLibrary overrides.
|
| - virtual void SetBoolParameter(SynapticsParameter param, bool value);
|
| - virtual void SetRangeParameter(SynapticsParameter param, int value);
|
|
|
| - private:
|
| -
|
| - // This helper methods calls into the libcros library to set the parameter.
|
| - // This call is run on the FILE thread.
|
| - void SetParameter(SynapticsParameter param, int value);
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(SynapticsLibraryImpl);
|
| + // Get library implementation.
|
| + static SynapticsLibrary* GetImpl(bool stub);
|
| };
|
|
|
| +
|
| } // namespace chromeos
|
|
|
| #endif // CHROME_BROWSER_CHROMEOS_CROS_SYNAPTICS_LIBRARY_H_
|
|
|