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

Issue 10375010: Implement user selected wallpaper feature. (Closed)

Created:
8 years, 7 months ago by bshe
Modified:
8 years, 7 months ago
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, ben+watch_chromium.org, arv (Not doing code reviews), stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Implement user selected wallpaper feature. BUG=123612, 122791 TEST=Verify if custom wallpaper is supported Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137258

Patch Set 1 #

Patch Set 2 : #

Total comments: 61

Patch Set 3 : Rob and James reivew #

Total comments: 17

Patch Set 4 : Ben's review #

Patch Set 5 : James' review #

Total comments: 34

Patch Set 6 : Merge to trunk #

Patch Set 7 : Rob's review #

Total comments: 1

Patch Set 8 : Add protected destructor #

Patch Set 9 : Merge #

Patch Set 10 : Merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+655 lines, -61 lines) Patch
M ash/desktop_background/desktop_background_controller.h View 1 2 3 4 5 6 3 chunks +18 lines, -13 lines 0 comments Download
M ash/desktop_background/desktop_background_controller.cc View 1 2 3 4 6 chunks +13 lines, -6 lines 0 comments Download
M ash/desktop_background/desktop_background_resources.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/desktop_background/desktop_background_view.h View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
M ash/desktop_background/desktop_background_view.cc View 1 2 3 4 5 6 4 chunks +9 lines, -7 lines 0 comments Download
M ash/shell_factory.h View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/app/generated_resources.grd View 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/mock_user_manager.h View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/user.h View 1 2 3 4 5 6 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/user.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager.h View 1 2 3 4 5 6 7 8 9 4 chunks +19 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager_impl.h View 1 2 3 4 5 6 7 8 9 5 chunks +54 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager_impl.cc View 1 2 3 4 5 6 7 8 9 11 chunks +204 lines, -14 lines 0 comments Download
M chrome/browser/resources/options2/chromeos/set_wallpaper_options.html View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/resources/options2/chromeos/set_wallpaper_options.js View 1 2 3 4 5 6 7 8 9 8 chunks +125 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options2/chromeos/set_wallpaper_options_handler2.h View 1 2 3 4 5 6 7 4 chunks +37 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options2/chromeos/set_wallpaper_options_handler2.cc View 1 2 3 4 5 6 7 8 7 chunks +110 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/options2/chromeos/wallpaper_thumbnail_source2.cc View 1 2 3 4 5 6 4 chunks +26 lines, -1 line 0 comments Download

Messages

Total messages: 23 (0 generated)
bshe
Hi Rob. Could you please take a look? Thanks!
8 years, 7 months ago (2012-05-04 15:54:02 UTC) #1
bshe
+ben for ash/* +jhawkins for options2/*
8 years, 7 months ago (2012-05-04 17:48:55 UTC) #2
flackr
Mostly style / grammar nits. https://chromiumcodereview.appspot.com/10375010/diff/2001/ash/desktop_background/desktop_background_controller.cc File ash/desktop_background/desktop_background_controller.cc (right): https://chromiumcodereview.appspot.com/10375010/diff/2001/ash/desktop_background/desktop_background_controller.cc#newcode107 ash/desktop_background/desktop_background_controller.cc:107: const SkBitmap& wallpaper, WallpaperLayout ...
8 years, 7 months ago (2012-05-04 19:06:17 UTC) #3
Nikita (slow)
http://codereview.chromium.org/10375010/diff/2001/chrome/browser/chromeos/login/user_manager_impl.cc File chrome/browser/chromeos/login/user_manager_impl.cc (right): http://codereview.chromium.org/10375010/diff/2001/chrome/browser/chromeos/login/user_manager_impl.cc#newcode632 chrome/browser/chromeos/login/user_manager_impl.cc:632: SaveWallpaperToLocalState(username, file_path, layout, User::CUSTOMIZED); So we've agreed to store ...
8 years, 7 months ago (2012-05-05 14:32:11 UTC) #4
bshe
On 2012/05/05 14:32:11, Nikita Kostylev wrote: > http://codereview.chromium.org/10375010/diff/2001/chrome/browser/chromeos/login/user_manager_impl.cc > File chrome/browser/chromeos/login/user_manager_impl.cc (right): > > http://codereview.chromium.org/10375010/diff/2001/chrome/browser/chromeos/login/user_manager_impl.cc#newcode632 ...
8 years, 7 months ago (2012-05-05 18:59:44 UTC) #5
James Hawkins
http://codereview.chromium.org/10375010/diff/2001/chrome/browser/resources/options2/chromeos/set_wallpaper_options.html File chrome/browser/resources/options2/chromeos/set_wallpaper_options.html (right): http://codereview.chromium.org/10375010/diff/2001/chrome/browser/resources/options2/chromeos/set_wallpaper_options.html#newcode26 chrome/browser/resources/options2/chromeos/set_wallpaper_options.html:26: <button id="set-custome-wallpaper" i18n-content="customeWallpaper"></button> 80 cols. http://codereview.chromium.org/10375010/diff/2001/chrome/browser/resources/options2/chromeos/set_wallpaper_options.html#newcode28 chrome/browser/resources/options2/chromeos/set_wallpaper_options.html:28: </select> The ...
8 years, 7 months ago (2012-05-06 15:49:49 UTC) #6
Ben Goodger (Google)
ash LGTM http://codereview.chromium.org/10375010/diff/2001/ash/desktop_background/desktop_background_controller.cc File ash/desktop_background/desktop_background_controller.cc (right): http://codereview.chromium.org/10375010/diff/2001/ash/desktop_background/desktop_background_controller.cc#newcode157 ash/desktop_background/desktop_background_controller.cc:157: internal::CreateDesktopBackground(*wo->wallpaper(), seems unnecessary?
8 years, 7 months ago (2012-05-07 15:35:08 UTC) #7
Ben Goodger (Google)
http://codereview.chromium.org/10375010/diff/2001/chrome/common/chrome_notification_types.h File chrome/common/chrome_notification_types.h (right): http://codereview.chromium.org/10375010/diff/2001/chrome/common/chrome_notification_types.h#newcode856 chrome/common/chrome_notification_types.h:856: NOTIFICATION_LOGIN_USER_WALLPAPER_THUMBNAIL_UPDATED, Can you do this without notifications? Notifications are ...
8 years, 7 months ago (2012-05-07 15:36:25 UTC) #8
bshe
+flackr +jhawkins Done. Working on ben's review. http://codereview.chromium.org/10375010/diff/2001/ash/desktop_background/desktop_background_controller.cc File ash/desktop_background/desktop_background_controller.cc (right): http://codereview.chromium.org/10375010/diff/2001/ash/desktop_background/desktop_background_controller.cc#newcode107 ash/desktop_background/desktop_background_controller.cc:107: const SkBitmap& ...
8 years, 7 months ago (2012-05-08 22:22:18 UTC) #9
James Hawkins
http://codereview.chromium.org/10375010/diff/13003/chrome/browser/resources/options2/chromeos/set_wallpaper_options.js File chrome/browser/resources/options2/chromeos/set_wallpaper_options.js (right): http://codereview.chromium.org/10375010/diff/13003/chrome/browser/resources/options2/chromeos/set_wallpaper_options.js#newcode112 chrome/browser/resources/options2/chromeos/set_wallpaper_options.js:112: * Populate the drop down box for custom wallpaper ...
8 years, 7 months ago (2012-05-09 18:21:23 UTC) #10
bshe
+ben Could you please review patch set 4? Thanks! https://chromiumcodereview.appspot.com/10375010/diff/2001/ash/desktop_background/desktop_background_controller.cc File ash/desktop_background/desktop_background_controller.cc (right): https://chromiumcodereview.appspot.com/10375010/diff/2001/ash/desktop_background/desktop_background_controller.cc#newcode157 ash/desktop_background/desktop_background_controller.cc:157: ...
8 years, 7 months ago (2012-05-09 18:51:54 UTC) #11
Ben Goodger (Google)
What files should I look in to find the differences? https://chromiumcodereview.appspot.com/10375010/diff/2001/ash/desktop_background/desktop_background_controller.cc File ash/desktop_background/desktop_background_controller.cc (right): https://chromiumcodereview.appspot.com/10375010/diff/2001/ash/desktop_background/desktop_background_controller.cc#newcode157 ...
8 years, 7 months ago (2012-05-09 19:53:13 UTC) #12
bshe
On 2012/05/09 19:53:13, Ben Goodger (Google) wrote: > What files should I look in to ...
8 years, 7 months ago (2012-05-09 19:59:39 UTC) #13
bshe
+james for patchset 5 chrome/browser/ui/webui/* chrome/browser/resources/options2 Thanks! http://codereview.chromium.org/10375010/diff/13003/chrome/browser/resources/options2/chromeos/set_wallpaper_options.js File chrome/browser/resources/options2/chromeos/set_wallpaper_options.js (right): http://codereview.chromium.org/10375010/diff/13003/chrome/browser/resources/options2/chromeos/set_wallpaper_options.js#newcode112 chrome/browser/resources/options2/chromeos/set_wallpaper_options.js:112: * Populate ...
8 years, 7 months ago (2012-05-09 20:37:14 UTC) #14
flackr
https://chromiumcodereview.appspot.com/10375010/diff/13007/ash/desktop_background/desktop_background_controller.h File ash/desktop_background/desktop_background_controller.h (right): https://chromiumcodereview.appspot.com/10375010/diff/13007/ash/desktop_background/desktop_background_controller.h#newcode54 ash/desktop_background/desktop_background_controller.h:54: // Called when user selects a file from file ...
8 years, 7 months ago (2012-05-09 21:26:16 UTC) #15
Nikita (slow)
On 2012/05/05 18:59:44, bshe wrote: > On 2012/05/05 14:32:11, Nikita Kostylev wrote: > > > ...
8 years, 7 months ago (2012-05-10 12:19:50 UTC) #16
bshe
+flackr Done. Could you please take a look at patchset 7? Thanks! https://chromiumcodereview.appspot.com/10375010/diff/13007/ash/desktop_background/desktop_background_controller.h File ash/desktop_background/desktop_background_controller.h ...
8 years, 7 months ago (2012-05-10 16:10:25 UTC) #17
flackr
LGTM with caveat. The operation of setting a wallpaper (especially a custom wallpaper) seems complex ...
8 years, 7 months ago (2012-05-11 03:52:57 UTC) #18
bshe
friendly ping +ben for patchset 4(delta 3) chrome/browser/chromeos/login/user_manager.h chrome/browser/chromeos/login/user_manager_impl.h chrome/browser/chromeos/login/user_manager_impl.cc chrome/browser/ui/webui/options2/chromeos/set_wallpaper_options_handler2.h chrome/browser/ui/webui/options2/chromeos/set_wallpaper_options_handler2.cc chrome/browser/ui/webui/options2/chromeos/wallpaper_thumbnail_source2.cc +jhawkins for ...
8 years, 7 months ago (2012-05-11 18:06:47 UTC) #19
James Hawkins
LGTM http://codereview.chromium.org/10375010/diff/16023/chrome/browser/ui/webui/options2/chromeos/set_wallpaper_options_handler2.h File chrome/browser/ui/webui/options2/chromeos/set_wallpaper_options_handler2.h (right): http://codereview.chromium.org/10375010/diff/16023/chrome/browser/ui/webui/options2/chromeos/set_wallpaper_options_handler2.h#newcode25 chrome/browser/ui/webui/options2/chromeos/set_wallpaper_options_handler2.h:25: virtual void SetCustomWallpaperThumbnail() = 0; nit: Add protected ...
8 years, 7 months ago (2012-05-11 18:13:23 UTC) #20
Ben Goodger (Google)
lgtm
8 years, 7 months ago (2012-05-14 21:21:04 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/10375010/12010
8 years, 7 months ago (2012-05-15 18:34:35 UTC) #22
commit-bot: I haz the power
8 years, 7 months ago (2012-05-15 21:41:43 UTC) #23
Change committed as 137258

Powered by Google App Engine
This is Rietveld 408576698