cygprofile: increase timeouts to allow showing web contents
[chromium-blink-merge.git] / ui / events / test / device_data_manager_test_api.h
blob3c1278c94c9a853f5ec98de06c755bfed4a29b62
1 // Copyright 2015 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.
5 #ifndef UI_EVENTS_TEST_DEVICE_DATA_MANAGER_TEST_API_H_
6 #define UI_EVENTS_TEST_DEVICE_DATA_MANAGER_TEST_API_H_
8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "ui/events/devices/events_devices_export.h"
12 namespace ui {
14 class DeviceDataManager;
16 namespace test {
18 // Test API class to access internals of the DeviceDataManager class.
19 class DeviceDataManagerTestAPI {
20 public:
21 // Constructs a test api that provides access to the global DeviceDataManager
22 // instance that is accessible by DeviceDataManager::GetInstance().
23 DeviceDataManagerTestAPI();
24 ~DeviceDataManagerTestAPI();
26 // Wrapper functions to DeviceDataManager.
27 void NotifyObserversTouchscreenDeviceConfigurationChanged();
28 void NotifyObserversKeyboardDeviceConfigurationChanged();
29 void NotifyObserversMouseDeviceConfigurationChanged();
30 void NotifyObserversTouchpadDeviceConfigurationChanged();
31 void NotifyObserversDeviceListsComplete();
32 void OnDeviceListsComplete();
34 private:
35 DISALLOW_COPY_AND_ASSIGN(DeviceDataManagerTestAPI);
38 } // namespace test
39 } // namespace ui
41 #endif // UI_EVENTS_TEST_DEVICE_DATA_MANAGER_TEST_API_H_