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

Issue 10832019: Speed up custom wallpaper switching time and wallpaper manager code refactor (Closed)

Created:
8 years, 5 months ago by bshe
Modified:
8 years, 4 months ago
CC:
chromium-reviews, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Speed up custom wallpaper loading and wallpaper manager code refactor BUG=138588, 131203, 139887 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149796

Patch Set 1 #

Patch Set 2 : Add missing file #

Patch Set 3 : #

Total comments: 33

Patch Set 4 : Ivan's review #

Total comments: 6

Patch Set 5 : Remove wallpaper_loader and nits #

Patch Set 6 : Ivan's review #

Patch Set 7 : Fix tests #

Total comments: 17

Patch Set 8 : Nikita's review. #

Total comments: 4

Patch Set 9 : #

Patch Set 10 : Merge to trunk #

Patch Set 11 : Fix compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+604 lines, -535 lines) Patch
M chrome/browser/chromeos/background/ash_user_wallpaper_delegate.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/existing_user_controller_browsertest.cc View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/mock_user_manager.h View 1 2 3 3 chunks +0 lines, -10 lines 0 comments Download
M chrome/browser/chromeos/login/user.h View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/user.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager.h View 1 2 3 3 chunks +0 lines, -22 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager_impl.h View 1 2 3 10 chunks +0 lines, -73 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager_impl.cc View 1 2 3 4 5 6 7 8 9 21 chunks +23 lines, -341 lines 0 comments Download
M chrome/browser/chromeos/login/wallpaper_manager.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +132 lines, -17 lines 0 comments Download
M chrome/browser/chromeos/login/wallpaper_manager.cc View 1 2 3 4 5 6 7 8 9 10 10 chunks +421 lines, -40 lines 0 comments Download
M chrome/browser/chromeos/login/webui_login_display.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/webui_login_display.cc View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/wizard_controller.h View 1 2 3 4 5 6 7 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options2/chromeos/set_wallpaper_options_handler.cc View 1 2 3 4 5 6 4 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/options2/chromeos/wallpaper_thumbnail_source.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
bshe
Hi Nikita. Could you please take a look at this CL? I found that the ...
8 years, 5 months ago (2012-07-26 19:46:54 UTC) #1
Nikita (slow)
+Ivan for reviewers Btw, Ivan has a fix in the pipeline that improves custom wallpaper ...
8 years, 4 months ago (2012-07-27 22:09:20 UTC) #2
Nikita (slow)
On 2012/07/26 19:46:54, bshe wrote: > Hi Nikita. > > Could you please take a ...
8 years, 4 months ago (2012-07-27 22:11:13 UTC) #3
Ivan Korotkov
Hi Biao, right, there was a big slowdown with UserImage because it always PNG-encoded the ...
8 years, 4 months ago (2012-07-27 23:02:02 UTC) #4
bshe
Hi Ivan. Could you take another look? It addresses all your comments except the wallpaper_loader ...
8 years, 4 months ago (2012-07-31 14:27:54 UTC) #5
bshe
Ivan@ I have removed wallpaper_loader class. Could you please take another look? Thanks! On 2012/07/31 ...
8 years, 4 months ago (2012-07-31 19:31:12 UTC) #6
Ivan Korotkov
Thanks for fixes, LGTM. Please check this CL against the tip of trunk since my ...
8 years, 4 months ago (2012-07-31 21:18:15 UTC) #7
bshe
done. +jhawkins for owners: chrome/browser/ui/webui/* Thanks http://codereview.chromium.org/10832019/diff/8003/chrome/browser/chromeos/login/wallpaper_manager.cc File chrome/browser/chromeos/login/wallpaper_manager.cc (right): http://codereview.chromium.org/10832019/diff/8003/chrome/browser/chromeos/login/wallpaper_manager.cc#newcode163 chrome/browser/chromeos/login/wallpaper_manager.cc:163: User::WallpaperType* type, Will ...
8 years, 4 months ago (2012-08-01 15:07:35 UTC) #8
bshe
friendly ping? On 2012/08/01 15:07:35, bshe wrote: > done. > > +jhawkins for owners: > ...
8 years, 4 months ago (2012-08-02 18:01:32 UTC) #9
James Hawkins
LGTM
8 years, 4 months ago (2012-08-02 18:30:50 UTC) #10
Nikita (slow)
https://chromiumcodereview.appspot.com/10832019/diff/12012/chrome/browser/chromeos/login/wallpaper_manager.cc File chrome/browser/chromeos/login/wallpaper_manager.cc (right): https://chromiumcodereview.appspot.com/10832019/diff/12012/chrome/browser/chromeos/login/wallpaper_manager.cc#newcode85 chrome/browser/chromeos/login/wallpaper_manager.cc:85: last_selected_user_(""), not needed https://chromiumcodereview.appspot.com/10832019/diff/12012/chrome/browser/chromeos/login/wallpaper_manager.cc#newcode159 chrome/browser/chromeos/login/wallpaper_manager.cc:159: std::string filename = username ...
8 years, 4 months ago (2012-08-02 20:40:26 UTC) #11
bshe
https://chromiumcodereview.appspot.com/10832019/diff/12012/chrome/browser/chromeos/login/wallpaper_manager.cc File chrome/browser/chromeos/login/wallpaper_manager.cc (right): https://chromiumcodereview.appspot.com/10832019/diff/12012/chrome/browser/chromeos/login/wallpaper_manager.cc#newcode85 chrome/browser/chromeos/login/wallpaper_manager.cc:85: last_selected_user_(""), On 2012/08/02 20:40:26, Nikita Kostylev wrote: > not ...
8 years, 4 months ago (2012-08-02 21:59:28 UTC) #12
Nikita (slow)
lgtm https://chromiumcodereview.appspot.com/10832019/diff/12012/chrome/browser/chromeos/login/wallpaper_manager.cc File chrome/browser/chromeos/login/wallpaper_manager.cc (right): https://chromiumcodereview.appspot.com/10832019/diff/12012/chrome/browser/chromeos/login/wallpaper_manager.cc#newcode292 chrome/browser/chromeos/login/wallpaper_manager.cc:292: // TODO(bshe): Ideally, wallpaper should start to load ...
8 years, 4 months ago (2012-08-02 22:52:56 UTC) #13
bshe
https://chromiumcodereview.appspot.com/10832019/diff/12012/chrome/browser/chromeos/login/wallpaper_manager.cc File chrome/browser/chromeos/login/wallpaper_manager.cc (right): https://chromiumcodereview.appspot.com/10832019/diff/12012/chrome/browser/chromeos/login/wallpaper_manager.cc#newcode292 chrome/browser/chromeos/login/wallpaper_manager.cc:292: // TODO(bshe): Ideally, wallpaper should start to load as ...
8 years, 4 months ago (2012-08-03 00:23:35 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bshe@chromium.org/10832019/16020
8 years, 4 months ago (2012-08-03 01:22:23 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bshe@chromium.org/10832019/15044
8 years, 4 months ago (2012-08-03 02:27:04 UTC) #16
commit-bot: I haz the power
8 years, 4 months ago (2012-08-03 07:18:35 UTC) #17
Change committed as 149796

Powered by Google App Engine
This is Rietveld 408576698