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

Unified Diff: ui/events/test/device_data_manager_test_api.cc

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 side-by-side diff with in-line comments
Download patch
Index: ui/events/test/device_data_manager_test_api.cc
diff --git a/ui/events/test/device_data_manager_test_api.cc b/ui/events/test/device_data_manager_test_api.cc
new file mode 100644
index 0000000000000000000000000000000000000000..350122e17341e8f04887c8ecc732b5aef79b6ab6
--- /dev/null
+++ b/ui/events/test/device_data_manager_test_api.cc
@@ -0,0 +1,39 @@
+// 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"
+
+namespace ui {
+namespace test {
+
+DeviceDataManagerTestAPI::DeviceDataManagerTestAPI(
+ DeviceDataManager* device_data_manager)
+ : device_data_manager_(device_data_manager) {
+}
+
+DeviceDataManagerTestAPI::~DeviceDataManagerTestAPI() {
+}
+
+void DeviceDataManagerTestAPI::
+ NotifyObserversTouchscreenDeviceConfigurationChanged() {
+ device_data_manager_->NotifyObserversTouchscreenDeviceConfigurationChanged();
+}
+void DeviceDataManagerTestAPI::
+ NotifyObserversKeyboardDeviceConfigurationChanged() {
+ device_data_manager_->NotifyObserversKeyboardDeviceConfigurationChanged();
+}
+void DeviceDataManagerTestAPI::
+ NotifyObserversMouseDeviceConfigurationChanged() {
+ device_data_manager_->NotifyObserversMouseDeviceConfigurationChanged();
+}
+void DeviceDataManagerTestAPI::
+ NotifyObserversTouchpadDeviceConfigurationChanged() {
+ device_data_manager_->NotifyObserversTouchpadDeviceConfigurationChanged();
+}
+void DeviceDataManagerTestAPI::NotifyObserversDeviceListsComplete() {
+ device_data_manager_->NotifyObserversDeviceListsComplete();
+}
+
+} // namespace test
+} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698