summaryrefslogtreecommitdiffstats
path: root/ui/events/test/device_data_manager_test_api_impl.cc
blob: 2ed21af86164eecf778b9734fa3ad12ad1015192 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/events/test/device_data_manager_test_api.h"

#include "ui/events/devices/device_data_manager.h"

namespace ui {
namespace test {

DeviceDataManagerTestAPI::DeviceDataManagerTestAPI() {
}

DeviceDataManagerTestAPI::~DeviceDataManagerTestAPI() {
}

void DeviceDataManagerTestAPI::
    NotifyObserversTouchscreenDeviceConfigurationChanged() {
  DeviceDataManager::GetInstance()
      ->NotifyObserversTouchscreenDeviceConfigurationChanged();
}

void DeviceDataManagerTestAPI::
    NotifyObserversKeyboardDeviceConfigurationChanged() {
  DeviceDataManager::GetInstance()
      ->NotifyObserversKeyboardDeviceConfigurationChanged();
}

void DeviceDataManagerTestAPI::
    NotifyObserversMouseDeviceConfigurationChanged() {
  DeviceDataManager::GetInstance()
      ->NotifyObserversMouseDeviceConfigurationChanged();
}

void DeviceDataManagerTestAPI::
    NotifyObserversTouchpadDeviceConfigurationChanged() {
  DeviceDataManager::GetInstance()
      ->NotifyObserversTouchpadDeviceConfigurationChanged();
}

void DeviceDataManagerTestAPI::NotifyObserversDeviceListsComplete() {
  DeviceDataManager::GetInstance()->NotifyObserversDeviceListsComplete();
}

void DeviceDataManagerTestAPI::OnDeviceListsComplete() {
  DeviceDataManager::GetInstance()->OnDeviceListsComplete();
}

}  // namespace test
}  // namespace ui