DescriptionRe-work MaterialComponent
Instead of MaterialComponent being a base class, components that want material
behavior simply create a MaterialComponent during their render function. This
approach gives the component more flexibility as to its structure and gives
MaterialComponent more flexibility has to how the components it generates are
related to the existing children.
Also, I've improved some of the event delegation code. There's no reason to
attach event handlers to the root component you emit during |render| because
the framework already delegates events from your root component to you.
R=rafaelw@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/ea80070ae03f2b0ec666f0663ff84d1500a2b53d
Patch Set 1 #
Total comments: 2
Patch Set 2 : rebase #
Messages
Total messages: 5 (1 generated)
|