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

Issue 1575543003: Settings People Revamp: Implement parts of ChromeOS Change Picture (Closed)

Created:
4 years, 11 months ago by tommycli
Modified:
4 years, 11 months ago
Reviewers:
dpapad
CC:
arv+watch_chromium.org, chromium-reviews, dbeam+watch-settings_chromium.org, michaelpg+watch-md-settings_chromium.org, oshima+watch_chromium.org, stevenjb+watch-md-settings_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Settings People Revamp: Implement parts of ChromeOS Change Picture Implements: 1. Selecting from default images. 2. Selecting the 'old' image (from a file, old camera shot, deprecated default image). 3. Selecting the Google profile photo. Missing from this implmentation: 1. Larger preview image on the side. 2. Ability to take new pictures with the camera, and flip it. 3. Ability to select an image from the file. 4. Lots of polish. BUG=563721 Committed: https://crrev.com/1d4f8c7571693dfc346a2d3f12beda2481a291ea Cr-Commit-Position: refs/heads/master@{#369308}

Patch Set 1 #

Patch Set 2 : Selecting among the default images works now. #

Patch Set 3 : enable selection of 'old' image #

Patch Set 4 : add support for profile photo #

Patch Set 5 : Add to closure compile #

Patch Set 6 : rebase #

Patch Set 7 : fix camera presence observer #

Total comments: 15

Patch Set 8 : #

Patch Set 9 : refactor #

Total comments: 8

Patch Set 10 : git cl format and nits #

Patch Set 11 : #

Patch Set 12 : rebase #

Patch Set 13 : Fix change_picture_handler to accomodate origin/master changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+569 lines, -175 lines) Patch
M chrome/app/settings_strings.grdp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +48 lines, -0 lines 0 comments Download
A + chrome/browser/resources/settings/people_page/change_picture.css View 1 2 3 4 5 6 7 1 chunk +5 lines, -4 lines 0 comments Download
A chrome/browser/resources/settings/people_page/change_picture.html View 1 2 3 4 1 chunk +39 lines, -0 lines 0 comments Download
A chrome/browser/resources/settings/people_page/change_picture.js View 1 2 3 4 5 6 7 8 1 chunk +168 lines, -0 lines 0 comments Download
A chrome/browser/resources/settings/people_page/change_picture_private_api.html View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/resources/settings/people_page/change_picture_private_api.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +74 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/people_page/compiled_resources.gyp View 1 2 3 4 1 chunk +21 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/people_page/people_page.css View 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/people_page/people_page.html View 1 3 chunks +22 lines, -4 lines 0 comments Download
M chrome/browser/resources/settings/people_page/people_page.js View 1 chunk +11 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/people_page/sync_private_api.js View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/settings_page/settings_router.js View 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/settings_resources.grd View 1 3 chunks +27 lines, -2 lines 0 comments Download
A + chrome/browser/ui/webui/settings/chromeos/change_picture_handler.h View 1 2 3 4 5 6 4 chunks +19 lines, -25 lines 0 comments Download
A + chrome/browser/ui/webui/settings/chromeos/change_picture_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 15 chunks +71 lines, -132 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +33 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_ui.cc View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -3 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (15 generated)
tommycli
dpapad: PTAL, thanks!
4 years, 11 months ago (2016-01-11 18:33:02 UTC) #3
dpapad
https://codereview.chromium.org/1575543003/diff/120001/chrome/browser/resources/settings/people_page/change_picture.html File chrome/browser/resources/settings/people_page/change_picture.html (right): https://codereview.chromium.org/1575543003/diff/120001/chrome/browser/resources/settings/people_page/change_picture.html#newcode30 chrome/browser/resources/settings/people_page/change_picture.html:30: on-tap="onDefaultImageTap_" data-image-url$="[[item.url]]"> data-image-url$="[[item.url]] Have not seen this syntax before. ...
4 years, 11 months ago (2016-01-11 19:25:50 UTC) #4
michaelpg
https://codereview.chromium.org/1575543003/diff/120001/chrome/browser/resources/settings/people_page/change_picture.html File chrome/browser/resources/settings/people_page/change_picture.html (right): https://codereview.chromium.org/1575543003/diff/120001/chrome/browser/resources/settings/people_page/change_picture.html#newcode30 chrome/browser/resources/settings/people_page/change_picture.html:30: on-tap="onDefaultImageTap_" data-image-url$="[[item.url]]"> On 2016/01/11 19:25:50, dpapad wrote: > data-image-url$="[[item.url]] ...
4 years, 11 months ago (2016-01-11 20:38:05 UTC) #5
dpapad
https://codereview.chromium.org/1575543003/diff/120001/chrome/browser/resources/settings/people_page/change_picture.css File chrome/browser/resources/settings/people_page/change_picture.css (right): https://codereview.chromium.org/1575543003/diff/120001/chrome/browser/resources/settings/people_page/change_picture.css#newcode6 chrome/browser/resources/settings/people_page/change_picture.css:6: -webkit-margin-begin: 16px; Is -webkit-margin-begin a valid property name? I ...
4 years, 11 months ago (2016-01-13 01:35:52 UTC) #6
Dan Beam
https://codereview.chromium.org/1575543003/diff/120001/chrome/browser/resources/settings/people_page/change_picture.css File chrome/browser/resources/settings/people_page/change_picture.css (right): https://codereview.chromium.org/1575543003/diff/120001/chrome/browser/resources/settings/people_page/change_picture.css#newcode6 chrome/browser/resources/settings/people_page/change_picture.css:6: -webkit-margin-begin: 16px; On 2016/01/13 01:35:52, dpapad wrote: > Is ...
4 years, 11 months ago (2016-01-13 18:04:37 UTC) #7
tommycli
dpapad: Got this working and compiling! Thanks! https://codereview.chromium.org/1575543003/diff/120001/chrome/browser/resources/settings/people_page/change_picture.css File chrome/browser/resources/settings/people_page/change_picture.css (right): https://codereview.chromium.org/1575543003/diff/120001/chrome/browser/resources/settings/people_page/change_picture.css#newcode6 chrome/browser/resources/settings/people_page/change_picture.css:6: -webkit-margin-begin: 16px; ...
4 years, 11 months ago (2016-01-13 18:29:11 UTC) #8
dpapad
lgtm LGTM with nits. I like the shortened version of ChangePicturePrivateApi! https://codereview.chromium.org/1575543003/diff/160001/chrome/browser/resources/settings/people_page/change_picture.js File chrome/browser/resources/settings/people_page/change_picture.js (right): ...
4 years, 11 months ago (2016-01-13 19:00:08 UTC) #9
tommycli
dpapad: thanks!! https://codereview.chromium.org/1575543003/diff/160001/chrome/browser/resources/settings/people_page/change_picture.js File chrome/browser/resources/settings/people_page/change_picture.js (right): https://codereview.chromium.org/1575543003/diff/160001/chrome/browser/resources/settings/people_page/change_picture.js#newcode106 chrome/browser/resources/settings/people_page/change_picture.js:106: var ChangePicturePage = nativeInterface; On 2016/01/13 19:00:07, ...
4 years, 11 months ago (2016-01-13 19:35:18 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1575543003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1575543003/200001
4 years, 11 months ago (2016-01-13 19:36:05 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/135123) linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, ...
4 years, 11 months ago (2016-01-13 19:40:03 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1575543003/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1575543003/240001
4 years, 11 months ago (2016-01-13 20:22:26 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_TIMED_OUT, no build URL)
4 years, 11 months ago (2016-01-13 23:28:41 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1575543003/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1575543003/240001
4 years, 11 months ago (2016-01-13 23:51:36 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_TIMED_OUT, no build URL)
4 years, 11 months ago (2016-01-13 23:55:25 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1575543003/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1575543003/240001
4 years, 11 months ago (2016-01-14 00:00:40 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
4 years, 11 months ago (2016-01-14 02:11:53 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1575543003/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1575543003/240001
4 years, 11 months ago (2016-01-14 02:28:56 UTC) #30
commit-bot: I haz the power
Committed patchset #13 (id:240001)
4 years, 11 months ago (2016-01-14 03:38:16 UTC) #32
commit-bot: I haz the power
4 years, 11 months ago (2016-01-14 03:39:42 UTC) #34
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/1d4f8c7571693dfc346a2d3f12beda2481a291ea
Cr-Commit-Position: refs/heads/master@{#369308}

Powered by Google App Engine
This is Rietveld 408576698