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

Unified Diff: chrome/browser/chromeos/system/input_device_settings_impl_x11.cc

Issue 2006083002: Use fake Input Device Settings with chrome://device-emulator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@DevicePageTestsFixes
Patch Set: Created 4 years, 7 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: chrome/browser/chromeos/system/input_device_settings_impl_x11.cc
diff --git a/chrome/browser/chromeos/system/input_device_settings_impl_x11.cc b/chrome/browser/chromeos/system/input_device_settings_impl_x11.cc
index 79d108edefbcd64e0dcbec0d6f1ec99b596ed504..bdb70ded4e802b0e0459a4c8b915150414b1ee36 100644
--- a/chrome/browser/chromeos/system/input_device_settings_impl_x11.cc
+++ b/chrome/browser/chromeos/system/input_device_settings_impl_x11.cc
@@ -358,5 +358,10 @@ void InputDeviceSettings::SetSettingsForTesting(
g_test_instance = test_settings;
}
+// static
+bool InputDeviceSettings::DidSetSettingsForTesting() {
+ return g_test_instance;
+}
+
} // namespace system
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698