OLD | NEW |
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 #include "chrome/browser/chromeos/cros/touchpad_library.h" | 5 #include "chrome/browser/chromeos/cros/touchpad_library.h" |
6 | 6 |
7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
8 #include "chrome/browser/browser_thread.h" | |
9 #include "chrome/browser/chromeos/cros/cros_library.h" | 8 #include "chrome/browser/chromeos/cros/cros_library.h" |
| 9 #include "content/browser/browser_thread.h" |
10 | 10 |
11 namespace chromeos { | 11 namespace chromeos { |
12 | 12 |
13 class TouchpadLibraryImpl : public TouchpadLibrary { | 13 class TouchpadLibraryImpl : public TouchpadLibrary { |
14 public: | 14 public: |
15 TouchpadLibraryImpl() {} | 15 TouchpadLibraryImpl() {} |
16 virtual ~TouchpadLibraryImpl() {} | 16 virtual ~TouchpadLibraryImpl() {} |
17 | 17 |
18 void SetSensitivity(int value) { | 18 void SetSensitivity(int value) { |
19 if (CrosLibrary::Get()->EnsureLoaded()) { | 19 if (CrosLibrary::Get()->EnsureLoaded()) { |
(...skipping 27 matching lines...) Expand all Loading... |
47 | 47 |
48 // static | 48 // static |
49 TouchpadLibrary* TouchpadLibrary::GetImpl(bool stub) { | 49 TouchpadLibrary* TouchpadLibrary::GetImpl(bool stub) { |
50 if (stub) | 50 if (stub) |
51 return new TouchpadLibraryStubImpl(); | 51 return new TouchpadLibraryStubImpl(); |
52 else | 52 else |
53 return new TouchpadLibraryImpl(); | 53 return new TouchpadLibraryImpl(); |
54 } | 54 } |
55 | 55 |
56 } // namespace chromeos | 56 } // namespace chromeos |
OLD | NEW |