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

Issue 10837089: Use low resolution wallpaper for small screens. (Closed)

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

Description

Use low resolution wallpapers for small screens BUG=140336 TBR=jhawkins Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=149915

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Please review this patch #

Total comments: 6

Patch Set 4 : review #

Total comments: 4

Patch Set 5 : sky's review #

Patch Set 6 : Merge to trunk #

Patch Set 7 : Merge again #

Patch Set 8 : Merge #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+364 lines, -108 lines) Patch
M ash/desktop_background/desktop_background_controller.h View 1 2 3 4 6 1 chunk +4 lines, -2 lines 0 comments Download
M ash/desktop_background/desktop_background_controller.cc View 1 2 3 4 5 6 8 chunks +40 lines, -10 lines 0 comments Download
M ash/desktop_background/desktop_background_resources.h View 1 2 3 2 chunks +15 lines, -2 lines 0 comments Download
M ash/desktop_background/desktop_background_resources.cc View 1 2 3 2 chunks +241 lines, -59 lines 0 comments Download
M chrome/browser/chromeos/login/wallpaper_manager.cc View 1 2 5 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/options2/chromeos/set_wallpaper_options_handler.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/resources/ui_resources.grd View 1 2 3 4 5 1 chunk +58 lines, -29 lines 1 comment Download

Messages

Total messages: 9 (0 generated)
bshe
+saintlou could you please take a look at it? +sky for Owners: ash/*
8 years, 4 months ago (2012-08-03 02:25:45 UTC) #1
Emmanuel Saint-loubert-Bié
just a couple of nits and a question https://chromiumcodereview.appspot.com/10837089/diff/5001/ash/desktop_background/desktop_background_controller.cc File ash/desktop_background/desktop_background_controller.cc (right): https://chromiumcodereview.appspot.com/10837089/diff/5001/ash/desktop_background/desktop_background_controller.cc#newcode138 ash/desktop_background/desktop_background_controller.cc:138: wallpaper_height ...
8 years, 4 months ago (2012-08-03 14:28:25 UTC) #2
bshe
thanks https://chromiumcodereview.appspot.com/10837089/diff/5001/ash/desktop_background/desktop_background_controller.cc File ash/desktop_background/desktop_background_controller.cc (right): https://chromiumcodereview.appspot.com/10837089/diff/5001/ash/desktop_background/desktop_background_controller.cc#newcode138 ash/desktop_background/desktop_background_controller.cc:138: wallpaper_height < root_window_size.height()) Ahha. I overlooked that case. ...
8 years, 4 months ago (2012-08-03 15:01:33 UTC) #3
Emmanuel Saint-loubert-Bié
lgtm
8 years, 4 months ago (2012-08-03 18:11:23 UTC) #4
sky
LGTM https://chromiumcodereview.appspot.com/10837089/diff/1025/ash/desktop_background/desktop_background_controller.cc File ash/desktop_background/desktop_background_controller.cc (right): https://chromiumcodereview.appspot.com/10837089/diff/1025/ash/desktop_background/desktop_background_controller.cc#newcode94 ash/desktop_background/desktop_background_controller.cc:94: int index_; const on this and 96 if ...
8 years, 4 months ago (2012-08-03 18:16:15 UTC) #5
bshe
Done. Will wait for try bots result and dcommit. Thanks! https://chromiumcodereview.appspot.com/10837089/diff/1025/ash/desktop_background/desktop_background_controller.cc File ash/desktop_background/desktop_background_controller.cc (right): https://chromiumcodereview.appspot.com/10837089/diff/1025/ash/desktop_background/desktop_background_controller.cc#newcode94 ...
8 years, 4 months ago (2012-08-03 19:35:11 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bshe@chromium.org/10837089/10009
8 years, 4 months ago (2012-08-03 20:07:35 UTC) #7
commit-bot: I haz the power
Try job failure for 10837089-10009 (retry) on win_rel for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-03 20:27:55 UTC) #8
oshima
8 years, 4 months ago (2012-08-06 03:37:29 UTC) #9
drive-by question

https://chromiumcodereview.appspot.com/10837089/diff/10009/ui/resources/ui_re...
File ui/resources/ui_resources.grd (right):

https://chromiumcodereview.appspot.com/10837089/diff/10009/ui/resources/ui_re...
ui/resources/ui_resources.grd:474: <include
name="IDR_AURA_WALLPAPERS_ROMAINGUY_0_SMALL"
file="aura/wallpapers/small/romainguy_0.jpg" type="BINDATA" />
given that there is better scaling algorithm, can't we simply scale down the
larger image instead of managing two?

This may also potentially increase the memory usage when you have displays with
different scale factors.

Powered by Google App Engine
This is Rietveld 408576698