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

Side by Side Diff: ash/touch/touchscreen_util.cc

Issue 1878393002: Emit warning when touchscreen association fails. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/touch/touchscreen_util.h" 5 #include "ash/touch/touchscreen_util.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 << " (size: " << device->size.ToString() 267 << " (size: " << device->size.ToString()
268 << ", sys_path: " << device->sys_path.LossyDisplayName() << ")"; 268 << ", sys_path: " << device->sys_path.LossyDisplayName() << ")";
269 } 269 }
270 270
271 AssociateInternalDevices(&displays, &devices); 271 AssociateInternalDevices(&displays, &devices);
272 AssociateUdlDevices(&displays, &devices); 272 AssociateUdlDevices(&displays, &devices);
273 AssociateSameSizeDevices(&displays, &devices); 273 AssociateSameSizeDevices(&displays, &devices);
274 AssociateToSingleDisplay(&displays, &devices); 274 AssociateToSingleDisplay(&displays, &devices);
275 275
276 for (const DisplayInfo* display : displays) 276 for (const DisplayInfo* display : displays)
277 VLOG(1) << "Unmatched display " << display->name(); 277 LOG(WARNING) << "Unmatched display " << display->name();
278 for (const ui::TouchscreenDevice* device : devices) 278 for (const ui::TouchscreenDevice* device : devices)
279 VLOG(1) << "Unmatched device " << device->name; 279 LOG(WARNING) << "Unmatched device " << device->name;
280 } 280 }
281 281
282 } // namespace ash 282 } // namespace ash
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698