OLD | NEW |
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 #include "chrome/browser/chromeos/system/pointer_device_observer.h" | 5 #include "chrome/browser/chromeos/system/pointer_device_observer.h" |
6 | 6 |
7 #include "base/basictypes.h" | |
8 #include "base/bind.h" | 7 #include "base/bind.h" |
9 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
10 #include "chrome/browser/chromeos/system/input_device_settings.h" | 9 #include "chrome/browser/chromeos/system/input_device_settings.h" |
11 #include "content/public/browser/browser_thread.h" | 10 #include "content/public/browser/browser_thread.h" |
12 #include "ui/events/devices/device_data_manager.h" | 11 #include "ui/events/devices/device_data_manager.h" |
13 | 12 |
14 using content::BrowserThread; | 13 using content::BrowserThread; |
15 | 14 |
16 namespace chromeos { | 15 namespace chromeos { |
17 namespace system { | 16 namespace system { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 | 66 |
68 void PointerDeviceObserver::OnMouseExists(bool exists) { | 67 void PointerDeviceObserver::OnMouseExists(bool exists) { |
69 FOR_EACH_OBSERVER(Observer, observers_, MouseExists(exists)); | 68 FOR_EACH_OBSERVER(Observer, observers_, MouseExists(exists)); |
70 } | 69 } |
71 | 70 |
72 PointerDeviceObserver::Observer::~Observer() { | 71 PointerDeviceObserver::Observer::~Observer() { |
73 } | 72 } |
74 | 73 |
75 } // namespace system | 74 } // namespace system |
76 } // namespace chromeos | 75 } // namespace chromeos |
OLD | NEW |