• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_MOCK_TOUCHPAD_LIBRARY_H_
6 #define CHROME_BROWSER_CHROMEOS_CROS_MOCK_TOUCHPAD_LIBRARY_H_
7 #pragma once
8 
9 #include "chrome/browser/chromeos/cros/touchpad_library.h"
10 #include "testing/gmock/include/gmock/gmock.h"
11 
12 namespace chromeos {
13 
14 class MockTouchpadLibrary : public TouchpadLibrary {
15  public:
MockTouchpadLibrary()16   MockTouchpadLibrary() {}
~MockTouchpadLibrary()17   virtual ~MockTouchpadLibrary() {}
18   MOCK_METHOD1(SetSensitivity, void(int));
19   MOCK_METHOD1(SetTapToClick, void(bool));
20 };
21 
22 }  // namespace chromeos
23 
24 #endif  // CHROME_BROWSER_CHROMEOS_CROS_MOCK_TOUCHPAD_LIBRARY_H_
25 
26