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

Unified Diff: ash/display/display_change_observer_chromeos.cc

Issue 191223007: Move touch CTM from X into Chrome (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: move CTM update code into a separate file ash/touch/touch_ctm_controller.cc Created 6 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: ash/display/display_change_observer_chromeos.cc
diff --git a/ash/display/display_change_observer_chromeos.cc b/ash/display/display_change_observer_chromeos.cc
index d201c9647bb35164bc9554d20af7d2a374194050..44464a0ac1228ef5ecd2d1d420124827e23a06ab 100644
--- a/ash/display/display_change_observer_chromeos.cc
+++ b/ash/display/display_change_observer_chromeos.cc
@@ -170,6 +170,7 @@ void DisplayChangeObserver::OnDisplayModeChanged(
displays.back().set_touch_support(
output.touch_device_id == 0 ? gfx::Display::TOUCH_SUPPORT_UNAVAILABLE :
gfx::Display::TOUCH_SUPPORT_AVAILABLE);
+ displays.back().set_touch_device_id(output.touch_device_id);
sadrul 2014/03/15 19:32:51 Can this block be like: DisplayInfo display(id,
Yufeng Shen (Slow to review) 2014/04/29 20:34:18 seems that it is already reworked this way.
}
// DisplayManager can be null during the boot.
« no previous file with comments | « ash/ash.gyp ('k') | ash/display/display_controller.h » ('j') | ash/display/display_controller.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698