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

Issue 2540383002: Updates display manager and display preferences to handle touch calibration data. (Closed)

Created:
4 years ago by malaykeshav
Modified:
4 years ago
Reviewers:
stevenjb, oshima
CC:
chromium-reviews, davemoore+watch_chromium.org, oshima+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Updates display manager and display preferences to handle touch calibration data. - Adds a parameter to display manager's RegisterDisplayProperty method to take touch calibration data as argument. - Adds methods to display manager that allows the setting and clearing of touch calibration data that is stored on the device. - Allows the storage of touch calibration associated data via DisplayPreferences. - '==' Operator overload for TouchCalibrationData struct to allow single line comparisons. - Updates required unit tests. Design Doc=go/cros-touch-calibration BUG=667921 COMPONENT=DisplayManager, DisplayPreferences, ChromeOS Committed: https://crrev.com/4d3a49e6e0c54704c4655374aac0530adfed836d Cr-Commit-Position: refs/heads/master@{#436463}

Patch Set 1 : Updates display manager and display preferences to handle touch calibration data. #

Patch Set 2 : Updates display manager and display preferences to handle touch calibration data. #

Total comments: 8

Patch Set 3 : nit #

Total comments: 2

Patch Set 4 : missing nits #

Total comments: 7

Patch Set 5 : Resolving comments #

Total comments: 5

Patch Set 6 : Updates display manager and display preferences to handle touch calibration data. #

Patch Set 7 : Merge with ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+314 lines, -33 lines) Patch
M ash/display/display_manager_unittest.cc View 1 2 3 4 5 6 3 chunks +79 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/display/display_preferences.h View 1 2 3 4 5 6 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/display/display_preferences.cc View 1 2 3 4 5 chunks +101 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/display/display_preferences_unittest.cc View 1 2 3 4 5 6 6 chunks +38 lines, -2 lines 0 comments Download
M ui/display/manager/display_manager.h View 1 2 3 4 5 6 2 chunks +18 lines, -9 lines 0 comments Download
M ui/display/manager/display_manager.cc View 1 2 3 4 5 6 3 chunks +42 lines, -1 line 0 comments Download
M ui/display/manager/managed_display_info.h View 1 2 3 4 5 6 2 chunks +10 lines, -1 line 0 comments Download
M ui/display/manager/managed_display_info.cc View 1 2 3 4 5 1 chunk +13 lines, -0 lines 0 comments Download
M ui/display/manager/managed_display_info_unittest.cc View 1 chunk +1 line, -9 lines 0 comments Download

Messages

Total messages: 52 (35 generated)
malaykeshav
PTAL.
4 years ago (2016-12-02 02:41:04 UTC) #15
malaykeshav
PTAL. Updates display manager and display preferences to handle touch calibration data. Also updates TouchCalibrationData ...
4 years ago (2016-12-02 02:43:45 UTC) #17
stevenjb
https://codereview.chromium.org/2540383002/diff/80001/chrome/browser/chromeos/display/display_preferences.cc File chrome/browser/chromeos/display/display_preferences.cc (right): https://codereview.chromium.org/2540383002/diff/80001/chrome/browser/chromeos/display/display_preferences.cc#newcode78 chrome/browser/chromeos/display/display_preferences.cc:78: // Retrieves touch calibration associated data from the dictionary ...
4 years ago (2016-12-02 20:02:48 UTC) #20
malaykeshav
Resolved comments. PTAL https://codereview.chromium.org/2540383002/diff/80001/chrome/browser/chromeos/display/display_preferences.cc File chrome/browser/chromeos/display/display_preferences.cc (right): https://codereview.chromium.org/2540383002/diff/80001/chrome/browser/chromeos/display/display_preferences.cc#newcode78 chrome/browser/chromeos/display/display_preferences.cc:78: // Retrieves touch calibration associated data ...
4 years ago (2016-12-02 20:12:33 UTC) #21
stevenjb
lgtm w/ nit, but please make sure oshima@ reviews this also, I'm not super familiar ...
4 years ago (2016-12-02 20:16:48 UTC) #24
malaykeshav
Updated with missing nits. @oshima Can you have a final look before I commit the ...
4 years ago (2016-12-02 20:23:08 UTC) #25
oshima
https://codereview.chromium.org/2540383002/diff/120001/chrome/browser/chromeos/display/display_preferences.cc File chrome/browser/chromeos/display/display_preferences.cc (right): https://codereview.chromium.org/2540383002/diff/120001/chrome/browser/chromeos/display/display_preferences.cc#newcode48 chrome/browser/chromeos/display/display_preferences.cc:48: "display_4_x", "display_4_y", "touch_4_x", "touch_4_y" // Pair 4 alternatively, you ...
4 years ago (2016-12-02 22:33:41 UTC) #28
malaykeshav
Resolved comments. PTAL https://codereview.chromium.org/2540383002/diff/120001/chrome/browser/chromeos/display/display_preferences.cc File chrome/browser/chromeos/display/display_preferences.cc (right): https://codereview.chromium.org/2540383002/diff/120001/chrome/browser/chromeos/display/display_preferences.cc#newcode48 chrome/browser/chromeos/display/display_preferences.cc:48: "display_4_x", "display_4_y", "touch_4_x", "touch_4_y" // Pair ...
4 years ago (2016-12-03 02:01:28 UTC) #31
malaykeshav
ping
4 years ago (2016-12-05 19:05:07 UTC) #33
oshima
https://codereview.chromium.org/2540383002/diff/120001/ui/display/manager/display_manager.cc File ui/display/manager/display_manager.cc (right): https://codereview.chromium.org/2540383002/diff/120001/ui/display/manager/display_manager.cc#newcode1003 ui/display/manager/display_manager.cc:1003: } On 2016/12/03 02:01:28, malaykeshav wrote: > On 2016/12/02 ...
4 years ago (2016-12-05 20:43:21 UTC) #34
malaykeshav
Resolved comments. PTAL https://codereview.chromium.org/2540383002/diff/160001/ui/display/manager/managed_display_info.h File ui/display/manager/managed_display_info.h (right): https://codereview.chromium.org/2540383002/diff/160001/ui/display/manager/managed_display_info.h#newcode53 ui/display/manager/managed_display_info.h:53: On 2016/12/05 at 20:43:21, oshima wrote: ...
4 years ago (2016-12-05 21:53:58 UTC) #36
oshima
lgtm
4 years ago (2016-12-05 22:58:40 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2540383002/180001
4 years ago (2016-12-05 22:59:39 UTC) #43
commit-bot: I haz the power
Failed to apply patch for chrome/browser/chromeos/display/display_preferences.h: While running git apply --index -p1; error: patch failed: ...
4 years ago (2016-12-05 23:05:43 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2540383002/200001
4 years ago (2016-12-05 23:19:55 UTC) #48
commit-bot: I haz the power
Committed patchset #7 (id:200001)
4 years ago (2016-12-06 00:03:40 UTC) #50
commit-bot: I haz the power
4 years ago (2016-12-06 00:05:45 UTC) #52
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/4d3a49e6e0c54704c4655374aac0530adfed836d
Cr-Commit-Position: refs/heads/master@{#436463}

Powered by Google App Engine
This is Rietveld 408576698