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

Issue 277773002: Add ImageSkiaRep::unscaled that tells if the image is for unscaled image. (Closed)

Created:
6 years, 7 months ago by oshima
Modified:
6 years, 7 months ago
CC:
chromium-reviews, rsesek+watch_chromium.org
Visibility:
Public.

Description

Add ImageSkiaRep::unscaled that tells if the image is for unscaled image. Unscaled image only contains 1.0f image and used when it is the client responsibility to scale the image properly (Wallpaper for example) This is required for https://codereview.chromium.org/263253003/ BUG=None TEST=covered by unit test Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269660

Patch Set 1 : #

Patch Set 2 : updated comment #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -15 lines) Patch
M ui/base/resource/resource_bundle.cc View 1 3 chunks +10 lines, -6 lines 0 comments Download
M ui/base/resource/resource_bundle_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ui/gfx/image/image_skia.cc View 1 2 3 chunks +22 lines, -2 lines 0 comments Download
M ui/gfx/image/image_skia_rep.h View 4 chunks +12 lines, -2 lines 0 comments Download
M ui/gfx/image/image_skia_rep.cc View 3 chunks +13 lines, -5 lines 0 comments Download
M ui/gfx/image/image_skia_unittest.cc View 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
oshima
6 years, 7 months ago (2014-05-09 15:53:01 UTC) #1
Jun Mukai
https://codereview.chromium.org/277773002/diff/160001/ui/gfx/image/image_skia.cc File ui/gfx/image/image_skia.cc (right): https://codereview.chromium.org/277773002/diff/160001/ui/gfx/image/image_skia.cc#newcode258 ui/gfx/image/image_skia.cc:258: return ImageSkia(ImageSkiaRep(bitmap, 0.0f)); Doesn't this cause any other unexpected ...
6 years, 7 months ago (2014-05-09 17:57:39 UTC) #2
oshima
https://codereview.chromium.org/277773002/diff/160001/ui/gfx/image/image_skia.cc File ui/gfx/image/image_skia.cc (right): https://codereview.chromium.org/277773002/diff/160001/ui/gfx/image/image_skia.cc#newcode258 ui/gfx/image/image_skia.cc:258: return ImageSkia(ImageSkiaRep(bitmap, 0.0f)); On 2014/05/09 17:57:39, Jun Mukai wrote: ...
6 years, 7 months ago (2014-05-09 20:53:32 UTC) #3
Jun Mukai
lgtm
6 years, 7 months ago (2014-05-09 21:03:33 UTC) #4
oshima
rsesek -> ui/base/resources
6 years, 7 months ago (2014-05-09 21:17:27 UTC) #5
Robert Sesek
I don't think I own that directory, but LGTM anyways.
6 years, 7 months ago (2014-05-09 21:25:17 UTC) #6
oshima
On 2014/05/09 21:25:17, rsesek wrote: > I don't think I own that directory, but LGTM ...
6 years, 7 months ago (2014-05-09 21:39:52 UTC) #7
oshima
tony -> ui/base/resources
6 years, 7 months ago (2014-05-09 21:40:16 UTC) #8
tony
rubberstamp LGTM
6 years, 7 months ago (2014-05-09 21:48:03 UTC) #9
oshima
The CQ bit was checked by oshima@chromium.org
6 years, 7 months ago (2014-05-09 21:57:54 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/277773002/180001
6 years, 7 months ago (2014-05-09 22:04:26 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-10 01:29:47 UTC) #12
commit-bot: I haz the power
6 years, 7 months ago (2014-05-11 00:47:57 UTC) #13
Message was sent while issue was closed.
Change committed as 269660

Powered by Google App Engine
This is Rietveld 408576698