DescriptionReland of Make TrayDetailsView a ViewClickListener and ButtonListener
Reland of https://codereview.chromium.org/2289223002/.
Some initial changes in preparation for implementing
the material design version of the detailed views
in the Ash system menu:
* Make TrayDetailsView extend ViewClickListener
and ButtonListener instead of having each of
TrayDetailsView's subclasses extend these.
The aim is to place common code in TrayDetailsView.
* Rename the TrayDetailsView "footer row" to be
the "title row"; for material design this row
appears at the top of the detailed view, not
the bottom.
* For material design (--ash-md=experimental), show
the title row at the top of the detailed view
and do not instantiate or show any non-MD
buttons in this row. Further improvements to
the appearance and functionality of the title
rows to be handled in subsequent CLs.
BUG=642136
TEST=ash_unittests
Committed: https://crrev.com/d3300aeaf3c505a3c7c8e9d79936efe0df60207a
Cr-Commit-Position: refs/heads/master@{#416312}
Patch Set 1 #Patch Set 2 : for review #
Total comments: 1
Messages
Total messages: 12 (7 generated)
|