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

Issue 1147143005: Make Drawer in components2 work (Closed)

Created:
5 years, 6 months ago by abarth-chromium
Modified:
5 years, 6 months ago
Reviewers:
eseidel, Matt Perry, Hixie
CC:
gregsimon, mojo-reviews_chromium.org, qsr+mojo_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Make Drawer in components2 work This CL introduces RenderStack and fixes a number of bugs to make the Drawer in components2 work. R=ianh@google.com, eseidel@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/7b21e39e18f17659805599b1415631547fa33f94

Patch Set 1 #

Patch Set 2 : fix margin #

Total comments: 7

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -60 lines) Patch
M sky/engine/core/events/PointerEvent.h View 1 chunk +2 lines, -2 lines 0 comments Download
M sky/engine/core/events/PointerEvent.idl View 1 chunk +2 lines, -2 lines 0 comments Download
M sky/engine/core/frame/NewEventHandler.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M sky/sdk/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M sky/sdk/lib/framework/app.dart View 3 chunks +26 lines, -12 lines 0 comments Download
M sky/sdk/lib/framework/components2/drawer.dart View 1 4 chunks +14 lines, -26 lines 0 comments Download
M sky/sdk/lib/framework/components2/material.dart View 2 chunks +11 lines, -9 lines 0 comments Download
M sky/sdk/lib/framework/fn2.dart View 1 5 chunks +13 lines, -4 lines 0 comments Download
M sky/sdk/lib/framework/rendering/box.dart View 1 2 2 chunks +9 lines, -3 lines 0 comments Download
A sky/sdk/lib/framework/rendering/stack.dart View 1 chunk +52 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
abarth-chromium
5 years, 6 months ago (2015-06-03 21:21:50 UTC) #1
Matt Perry
https://codereview.chromium.org/1147143005/diff/20001/sky/sdk/lib/framework/rendering/box.dart File sky/sdk/lib/framework/rendering/box.dart (right): https://codereview.chromium.org/1147143005/diff/20001/sky/sdk/lib/framework/rendering/box.dart#newcode359 sky/sdk/lib/framework/rendering/box.dart:359: canvas.concat([ We could change Canvas.concat to take a Float32List ...
5 years, 6 months ago (2015-06-03 21:29:50 UTC) #3
Hixie
lgtm https://codereview.chromium.org/1147143005/diff/20001/sky/sdk/lib/framework/components2/drawer.dart File sky/sdk/lib/framework/components2/drawer.dart (right): https://codereview.chromium.org/1147143005/diff/20001/sky/sdk/lib/framework/components2/drawer.dart#newcode119 sky/sdk/lib/framework/components2/drawer.dart:119: decoration: new BoxDecoration(backgroundColor: maskColor) this will need fixing ...
5 years, 6 months ago (2015-06-03 21:39:56 UTC) #5
abarth-chromium
Committed patchset #3 (id:40001) manually as 7b21e39e18f17659805599b1415631547fa33f94 (presubmit successful).
5 years, 6 months ago (2015-06-03 21:52:18 UTC) #6
Matt Perry
https://codereview.chromium.org/1147143005/diff/20001/sky/sdk/lib/framework/rendering/box.dart File sky/sdk/lib/framework/rendering/box.dart (right): https://codereview.chromium.org/1147143005/diff/20001/sky/sdk/lib/framework/rendering/box.dart#newcode359 sky/sdk/lib/framework/rendering/box.dart:359: canvas.concat([ On 2015/06/03 21:29:50, Matt Perry wrote: > We ...
5 years, 6 months ago (2015-06-03 22:15:52 UTC) #8
abarth-chromium
5 years, 6 months ago (2015-06-03 22:33:43 UTC) #9
Message was sent while issue was closed.
https://codereview.chromium.org/1147143005/diff/20001/sky/sdk/lib/framework/r...
File sky/sdk/lib/framework/rendering/box.dart (left):

https://codereview.chromium.org/1147143005/diff/20001/sky/sdk/lib/framework/r...
sky/sdk/lib/framework/rendering/box.dart:356: storage[12], storage[13],
storage[15],
On 2015/06/03 at 21:39:56, Hixie wrote:
> Why doesn't canvas take a Matrix, the same way it takes a Rect for other
things?

The answer here is slightly complicated.  The short version is that we're going
to end with two Matrix classes, one that's optimized for manipulation within the
VM and one that's optimized for talking to skia.  Currently the |concat|
function uses neither of these.  Presumably we'll want versions for each one.

Powered by Google App Engine
This is Rietveld 408576698