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

Issue 1064763002: views: Make SubmenuView::PaintChildren use the canvas via PaintRecorder (Closed)

Created:
5 years, 8 months ago by danakj
Modified:
5 years, 8 months ago
Reviewers:
sadrul, sky
CC:
chromium-reviews, tfarina, enne (OOO), piman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

views: Make SubmenuView::PaintChildren use the canvas via PaintRecorder This uses a PaintRecorder to get at the canvas() for painting, instead of grabbing it directly off PaintContext. This will allow PaintContext to be backed by a DisplayItemList instead of a Canvas. R=sadrul, sky BUG=466426 Committed: https://crrev.com/d2d3689d1c73e1573ce951e50510078f04c4efc0 Cr-Commit-Position: refs/heads/master@{#324080}

Patch Set 1 #

Patch Set 2 : submenu: . #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -18 lines) Patch
M ui/views/controls/menu/submenu_view.h View 1 chunk +0 lines, -6 lines 0 comments Download
M ui/views/controls/menu/submenu_view.cc View 1 3 chunks +20 lines, -12 lines 2 comments Download

Messages

Total messages: 7 (1 generated)
danakj
I think this is the last views site going through PaintContext.
5 years, 8 months ago (2015-04-06 23:59:26 UTC) #1
sadrul
lgtm https://codereview.chromium.org/1064763002/diff/20001/ui/views/controls/menu/submenu_view.cc File ui/views/controls/menu/submenu_view.cc (left): https://codereview.chromium.org/1064763002/diff/20001/ui/views/controls/menu/submenu_view.cc#oldcode195 ui/views/controls/menu/submenu_view.cc:195: PaintDropIndicator(context.canvas(), drop_item_, drop_position_); I assume PaintContext::canvas() will be ...
5 years, 8 months ago (2015-04-07 18:49:01 UTC) #2
danakj
https://codereview.chromium.org/1064763002/diff/20001/ui/views/controls/menu/submenu_view.cc File ui/views/controls/menu/submenu_view.cc (left): https://codereview.chromium.org/1064763002/diff/20001/ui/views/controls/menu/submenu_view.cc#oldcode195 ui/views/controls/menu/submenu_view.cc:195: PaintDropIndicator(context.canvas(), drop_item_, drop_position_); On 2015/04/07 18:49:01, sadrul wrote: > ...
5 years, 8 months ago (2015-04-07 18:49:25 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1064763002/20001
5 years, 8 months ago (2015-04-07 18:49:46 UTC) #5
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 8 months ago (2015-04-07 18:55:28 UTC) #6
commit-bot: I haz the power
5 years, 8 months ago (2015-04-07 18:57:50 UTC) #7
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d2d3689d1c73e1573ce951e50510078f04c4efc0
Cr-Commit-Position: refs/heads/master@{#324080}

Powered by Google App Engine
This is Rietveld 408576698