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

Unified Diff: ui/events/devices/device_data_manager.cc

Issue 2690323002: Make Interaction Media Features MQ dynamic on Windows. (Closed)
Patch Set: Rebased Created 3 years, 9 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/devices/device_data_manager.cc
diff --git a/ui/events/devices/device_data_manager.cc b/ui/events/devices/device_data_manager.cc
index 38a184cf91c40a18ddfa533b055dac5aba3fa4b9..bb7d8c387d4fe589227ea7402cf10995fe319a77 100644
--- a/ui/events/devices/device_data_manager.cc
+++ b/ui/events/devices/device_data_manager.cc
@@ -164,6 +164,7 @@ int64_t DeviceDataManager::GetTargetDisplayForTouchDevice(
void DeviceDataManager::OnTouchscreenDevicesUpdated(
const std::vector<TouchscreenDevice>& devices) {
+ LOG(ERROR) << "mDebug " << __FUNCTION__;
mustaq 2017/03/21 17:53:07 Please remove the debug logs.
if (devices.size() == touchscreen_devices_.size() &&
std::equal(devices.begin(),
devices.end(),
@@ -177,6 +178,7 @@ void DeviceDataManager::OnTouchscreenDevicesUpdated(
void DeviceDataManager::OnKeyboardDevicesUpdated(
const std::vector<InputDevice>& devices) {
+ LOG(ERROR) << "mDebug " << __FUNCTION__;
if (devices.size() == keyboard_devices_.size() &&
std::equal(devices.begin(),
devices.end(),
@@ -190,6 +192,7 @@ void DeviceDataManager::OnKeyboardDevicesUpdated(
void DeviceDataManager::OnMouseDevicesUpdated(
const std::vector<InputDevice>& devices) {
+ LOG(ERROR) << "mDebug " << __FUNCTION__;
if (devices.size() == mouse_devices_.size() &&
std::equal(devices.begin(),
devices.end(),
@@ -203,6 +206,7 @@ void DeviceDataManager::OnMouseDevicesUpdated(
void DeviceDataManager::OnTouchpadDevicesUpdated(
const std::vector<InputDevice>& devices) {
+ LOG(ERROR) << "mDebug " << __FUNCTION__;
if (devices.size() == touchpad_devices_.size() &&
std::equal(devices.begin(),
devices.end(),

Powered by Google App Engine
This is Rietveld 408576698