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

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: Changed DeviceDataManagerTestAPI::delete_instance_ to should_delete_instance_. 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..327fda5254b84ce468a7d23b56651566dc879ca0
--- /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()
+ : should_delete_instance_(false) {
+}
+
+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