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

Issue 1062813004: views: Use ClipTransformRecorder to access canvas in ProfileChooserView (Closed)

Created:
5 years, 8 months ago by danakj
Modified:
5 years, 8 months ago
CC:
chromium-reviews, tdanderson+views_chromium.org, Ian Vollick, tfarina, sievers+watch_chromium.org, jbauman+watch_chromium.org, piman+watch_chromium.org, kalyank, danakj+watch_chromium.org, enne (OOO), piman, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

views: Use ClipTransformRecorder to access canvas in ProfileChooserView Go through a recorder instead of getting the canvas() from the PaintContext, so this will continue to work when the PaintContext is backed by a DisplayItemList instead of a canvas. R=sky BUG=466426 Committed: https://crrev.com/a3084d7ed40ed48ff0da9d6ba5048debe8af5e82 Cr-Commit-Position: refs/heads/master@{#323965}

Patch Set 1 #

Total comments: 2

Patch Set 2 : profilechooser-recorder: explicit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -27 lines) Patch
M chrome/browser/ui/views/profiles/profile_chooser_view.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ui/compositor/clip_transform_recorder.h View 1 2 chunks +7 lines, -7 lines 0 comments Download
M ui/compositor/clip_transform_recorder.cc View 1 chunk +18 lines, -16 lines 0 comments Download
M ui/views/view.cc View 3 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
danakj
Rather than add infinity constructors to ClipTransformRecorder, I've moved the clip/transform ops to individual methods.
5 years, 8 months ago (2015-04-06 17:51:03 UTC) #1
danakj
It looks like sky is out atm. pkasting can you review chrome/ please? sadrul ui/views ...
5 years, 8 months ago (2015-04-06 21:19:48 UTC) #3
piman
lgtm https://codereview.chromium.org/1062813004/diff/1/ui/compositor/clip_transform_recorder.h File ui/compositor/clip_transform_recorder.h (right): https://codereview.chromium.org/1062813004/diff/1/ui/compositor/clip_transform_recorder.h#newcode28 ui/compositor/clip_transform_recorder.h:28: ClipTransformRecorder(const PaintContext& context); nit: explicit
5 years, 8 months ago (2015-04-06 21:24:02 UTC) #4
danakj
https://codereview.chromium.org/1062813004/diff/1/ui/compositor/clip_transform_recorder.h File ui/compositor/clip_transform_recorder.h (right): https://codereview.chromium.org/1062813004/diff/1/ui/compositor/clip_transform_recorder.h#newcode28 ui/compositor/clip_transform_recorder.h:28: ClipTransformRecorder(const PaintContext& context); On 2015/04/06 21:24:01, piman (Very slow ...
5 years, 8 months ago (2015-04-06 21:25:34 UTC) #5
sadrul
lgtm
5 years, 8 months ago (2015-04-06 22:21:14 UTC) #6
Peter Kasting
LGTM
5 years, 8 months ago (2015-04-06 22:27:43 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1062813004/20001
5 years, 8 months ago (2015-04-06 22:28:20 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 8 months ago (2015-04-06 22:32:32 UTC) #11
commit-bot: I haz the power
5 years, 8 months ago (2015-04-06 22:33:50 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a3084d7ed40ed48ff0da9d6ba5048debe8af5e82
Cr-Commit-Position: refs/heads/master@{#323965}

Powered by Google App Engine
This is Rietveld 408576698