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

Issue 12334030: New custom wallpaper picker UI (Closed)

Created:
7 years, 10 months ago by bshe
Modified:
7 years, 9 months ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

New custom wallpaper picker UI This CL implement the following: 1. display all thumbnails of user previously selected custom wallpapers in a grid 2. when user click any thumbnail in the grid, sets wallpaper to the corresponding one with layout gets from chrome.storage.local 3. implement UI for adding new custom wallpaper, mock: https://docs.google.com/a/google.com/file/d/0B6x6iYCtKinEcEhwSjdEWUpRTFk/edit?usp=sharing BUG=174161 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187184

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 25

Patch Set 4 : flackr's review #

Patch Set 5 : Use FileSystem to store user custom wallpaper, so only one custom wallpaper is saved in shared dire… #

Total comments: 8

Patch Set 6 : reviews #

Total comments: 5

Patch Set 7 : Add bug reference #

Unified diffs Side-by-side diffs Delta from patch set Stats (+750 lines, -229 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/wallpaper_private_api.h View 1 2 3 4 5 1 chunk +7 lines, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/wallpaper_private_api.cc View 1 2 3 4 5 4 chunks +29 lines, -18 lines 0 comments Download
M chrome/browser/chromeos/login/wallpaper_manager.h View 1 2 3 4 5 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/wallpaper_manager.cc View 1 2 3 4 5 7 chunks +53 lines, -15 lines 0 comments Download
M chrome/browser/resources/chromeos/wallpaper_manager/css/wallpaper_manager.css View 1 2 3 4 5 7 chunks +42 lines, -22 lines 0 comments Download
M chrome/browser/resources/chromeos/wallpaper_manager/js/main_scripts.js View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_directories.js View 1 2 3 4 1 chunk +93 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_images_grid.js View 1 2 3 4 3 chunks +78 lines, -27 lines 0 comments Download
M chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_manager.js View 1 2 3 4 5 6 13 chunks +382 lines, -115 lines 0 comments Download
M chrome/browser/resources/chromeos/wallpaper_manager/main.html View 1 2 3 4 3 chunks +33 lines, -25 lines 0 comments Download
M chrome/browser/resources/chromeos/wallpaper_manager/manifest.json View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/wallpaper_private.json View 1 2 3 4 2 chunks +13 lines, -3 lines 0 comments Download
M chrome/test/data/extensions/api_test/wallpaper_manager/test.js View 1 2 3 4 5 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
bshe
Hey Rob. Could you please take a look at this CL? Thanks!
7 years, 10 months ago (2013-02-22 05:36:22 UTC) #1
bshe
On 2013/02/22 05:36:22, bshe wrote: > Hey Rob. > > Could you please take a ...
7 years, 10 months ago (2013-02-26 14:57:46 UTC) #2
flackr
The wallpaper manager is getting rather complex and large and really needs testing. Can you ...
7 years, 10 months ago (2013-02-26 17:16:01 UTC) #3
bshe
Sorry. I forgot to add the description. You are right. The main purpose of this ...
7 years, 10 months ago (2013-02-26 19:07:26 UTC) #4
flackr
https://codereview.chromium.org/12334030/diff/5001/chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_manager.js File chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_manager.js (right): https://codereview.chromium.org/12334030/diff/5001/chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_manager.js#newcode252 chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_manager.js:252: if (this.currentWallpaper_ && On 2013/02/26 19:07:26, bshe wrote: > ...
7 years, 10 months ago (2013-02-26 21:37:34 UTC) #5
bshe
Done. Thanks for review. https://codereview.chromium.org/12334030/diff/5001/chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_manager.js File chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_manager.js (right): https://codereview.chromium.org/12334030/diff/5001/chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_manager.js#newcode252 chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_manager.js:252: if (this.currentWallpaper_ && On 2013/02/26 ...
7 years, 9 months ago (2013-02-27 03:16:38 UTC) #6
flackr
Are custom wallpapers saved in a public folder where other users can see them in ...
7 years, 9 months ago (2013-02-27 14:39:52 UTC) #7
bshe
Hey Rob. I have completely transit custom wallpapers to FileSystem as you suggested. Now only ...
7 years, 9 months ago (2013-03-01 17:43:56 UTC) #8
bshe
There are more clean up to do. But the main part is here. I may ...
7 years, 9 months ago (2013-03-01 17:45:32 UTC) #9
bshe
friendly ping? Also add more owners for the following: +miket for extension/* +nkostylev for login/* ...
7 years, 9 months ago (2013-03-06 15:44:33 UTC) #10
flackr
https://codereview.chromium.org/12334030/diff/21001/chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_manager.js File chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_manager.js (right): https://codereview.chromium.org/12334030/diff/21001/chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_manager.js#newcode609 chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_manager.js:609: fileWriter.write(blob); What happens when we run out of quota? ...
7 years, 9 months ago (2013-03-06 16:22:11 UTC) #11
Nikita (slow)
https://codereview.chromium.org/12334030/diff/21001/chrome/browser/chromeos/login/wallpaper_manager.cc File chrome/browser/chromeos/login/wallpaper_manager.cc (right): https://codereview.chromium.org/12334030/diff/21001/chrome/browser/chromeos/login/wallpaper_manager.cc#newcode381 chrome/browser/chromeos/login/wallpaper_manager.cc:381: return std::string(reinterpret_cast<const char*>(data->front()), Is this the only way to ...
7 years, 9 months ago (2013-03-06 16:51:17 UTC) #12
flackr
https://codereview.chromium.org/12334030/diff/21001/chrome/browser/chromeos/login/wallpaper_manager.cc File chrome/browser/chromeos/login/wallpaper_manager.cc (right): https://codereview.chromium.org/12334030/diff/21001/chrome/browser/chromeos/login/wallpaper_manager.cc#newcode381 chrome/browser/chromeos/login/wallpaper_manager.cc:381: return std::string(reinterpret_cast<const char*>(data->front()), On 2013/03/06 16:51:17, Nikita Kostylev wrote: ...
7 years, 9 months ago (2013-03-06 18:22:24 UTC) #13
bshe
addressed all comments. flackr@ and nkostylev@ could you please take another look? Thanks! https://codereview.chromium.org/12334030/diff/21001/chrome/browser/chromeos/login/wallpaper_manager.cc File ...
7 years, 9 months ago (2013-03-07 05:34:35 UTC) #14
Nikita (slow)
lgtm
7 years, 9 months ago (2013-03-07 11:03:12 UTC) #15
flackr
Looks good, just a few comments. I'm not sure adding new wallpapers to the front ...
7 years, 9 months ago (2013-03-07 14:46:47 UTC) #16
bshe
Thanks for review! I have created bugs to track test and quota. For the wallpaper ...
7 years, 9 months ago (2013-03-07 16:13:05 UTC) #17
flackr
lgtm https://codereview.chromium.org/12334030/diff/38001/chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_manager.js File chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_manager.js (right): https://codereview.chromium.org/12334030/diff/38001/chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_manager.js#newcode448 chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_manager.js:448: this.removeOldestWallpaper_(); Thanks. Please add TODO referencing bug. On ...
7 years, 9 months ago (2013-03-07 18:03:17 UTC) #18
miket_OOO
> +miket for extension/* LGTM
7 years, 9 months ago (2013-03-07 18:44:32 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bshe@chromium.org/12334030/57001
7 years, 9 months ago (2013-03-08 03:59:12 UTC) #20
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=17684
7 years, 9 months ago (2013-03-08 07:17:02 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bshe@chromium.org/12334030/57001
7 years, 9 months ago (2013-03-10 01:02:29 UTC) #22
commit-bot: I haz the power
7 years, 9 months ago (2013-03-10 03:49:30 UTC) #23
Message was sent while issue was closed.
Change committed as 187184

Powered by Google App Engine
This is Rietveld 408576698