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

Unified Diff: ash/display/display_info.h

Issue 618283003: Adds special support to the device manager for keyboards devices. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to master. Created 6 years, 2 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
« no previous file with comments | « ash/display/display_change_observer_chromeos.cc ('k') | ash/touch/touch_transformer_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_info.h
diff --git a/ash/display/display_info.h b/ash/display/display_info.h
index 5598273d2c52785a420e410de8fc9c9936088fb1..6071a9de7539e842a3ef9f482bc73b31067bd837 100644
--- a/ash/display/display_info.h
+++ b/ash/display/display_info.h
@@ -111,8 +111,8 @@ class ASH_EXPORT DisplayInfo {
}
gfx::Display::TouchSupport touch_support() const { return touch_support_; }
- void set_touch_device_id(int id) { touch_device_id_ = id; }
- int touch_device_id() const { return touch_device_id_; }
+ void set_touch_device_id(unsigned int id) { touch_device_id_ = id; }
+ unsigned int touch_device_id() const { return touch_device_id_; }
// Gets/Sets the device scale factor of the display.
float device_scale_factor() const { return device_scale_factor_; }
@@ -228,7 +228,7 @@ class ASH_EXPORT DisplayInfo {
// If the display is also a touch device, it will have a positive
// |touch_device_id_|. Otherwise |touch_device_id_| is 0.
- int touch_device_id_;
+ unsigned int touch_device_id_;
// This specifies the device's pixel density. (For example, a
// display whose DPI is higher than the threshold is considered to have
« no previous file with comments | « ash/display/display_change_observer_chromeos.cc ('k') | ash/touch/touch_transformer_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698