Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Side by Side Diff: ui/events/test/device_data_manager_test_api.h

Issue 1182303005: Fixed the Touchscreen.TouchEventsEnabled histogram to record the correct values on X11 and Ozone ba… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #ifndef UI_EVENTS_TEST_DEVICE_DATA_MANAGER_TEST_API_H_
6 #define UI_EVENTS_TEST_DEVICE_DATA_MANAGER_TEST_API_H_
7
8 #include "base/macros.h"
9 #include "ui/events/devices/device_data_manager.h"
10 #include "ui/events/devices/events_devices_export.h"
11
12 namespace ui {
13 namespace test {
14
15 // Test API class to access internals of the DeviceDataManager class.
16 class DeviceDataManagerTestAPI {
17 public:
18 explicit DeviceDataManagerTestAPI(DeviceDataManager* device_data_manager);
19 ~DeviceDataManagerTestAPI();
20
21 // Wrapper functions to DeviceDataManager.
22 void NotifyObserversTouchscreenDeviceConfigurationChanged();
23 void NotifyObserversKeyboardDeviceConfigurationChanged();
24 void NotifyObserversMouseDeviceConfigurationChanged();
25 void NotifyObserversTouchpadDeviceConfigurationChanged();
26 void NotifyObserversDeviceListsComplete();
27
28 private:
29 // The instance to provide internal access to. Not owned.
30 DeviceDataManager* device_data_manager_;
31
32 DISALLOW_COPY_AND_ASSIGN(DeviceDataManagerTestAPI);
33 };
34
35 } // namespace test
36 } // namespace ui
37
38 #endif // UI_EVENTS_TEST_DEVICE_DATA_MANAGER_TEST_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698