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

Unified Diff: ui/events/test/device_data_manager_test_api_stub.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: Addressed sadrul@'s comments from patch set 12. Created 5 years, 5 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_stub.cc
diff --git a/ui/events/test/device_data_manager_test_api_stub.cc b/ui/events/test/device_data_manager_test_api_stub.cc
new file mode 100644
index 0000000000000000000000000000000000000000..f8e3e8db52a0a4e7b12e88712fe89b5f765247f6
--- /dev/null
+++ b/ui/events/test/device_data_manager_test_api_stub.cc
@@ -0,0 +1,50 @@
+// 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(bool delete_instance)
+ : delete_instance_(delete_instance) {
+}
+
+DeviceDataManagerTestAPI::~DeviceDataManagerTestAPI() {
+}
+
+bool DeviceDataManagerTestAPI::CreateDeviceDataManagerInstance() {
+ return false;
+}
+
+void DeviceDataManagerTestAPI::
+ NotifyObserversTouchscreenDeviceConfigurationChanged() {
+ NOTREACHED();
+}
+
+void DeviceDataManagerTestAPI::
+ NotifyObserversKeyboardDeviceConfigurationChanged() {
+ NOTREACHED();
+}
+
+void DeviceDataManagerTestAPI::
+ NotifyObserversMouseDeviceConfigurationChanged() {
+ NOTREACHED();
+}
+
+void DeviceDataManagerTestAPI::
+ NotifyObserversTouchpadDeviceConfigurationChanged() {
+ NOTREACHED();
+}
+
+void DeviceDataManagerTestAPI::NotifyObserversDeviceListsComplete() {
+ NOTREACHED();
+}
+
+void DeviceDataManagerTestAPI::OnDeviceListsComplete() {
+ NOTREACHED();
+}
+
+} // namespace test
+} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698