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

Side by Side Diff: sky/framework/elements/sky-toolbar.sky

Issue 1132063007: Rationalize Dart mojo and sky package structure (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/framework/elements/sky-scrollable.sky ('k') | sky/framework/embedder.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!--
2 // Copyright 2015 The Chromium Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 -->
6 <import src="shadow.sky" as="shadow" />
7 <import src="sky-element.sky" />
8
9 <sky-element attributes="level:number">
10 <template>
11 <style>
12 :host {
13 display: flex;
14 flex-direction: row;
15 align-items: center;
16 height: 56px;
17 }
18 </style>
19 <content />
20 </template>
21 <script>
22 import "dart:sky";
23
24 @Tagname('sky-toolbar')
25 class SkyToolbar extends SkyElement {
26 void shadowRootReady() {
27 shadow.applyTo(shadowRoot);
28 }
29 }
30
31 _init(script) => register(script, SkyToolbar);
32 </script>
33 </sky-element>
OLDNEW
« no previous file with comments | « sky/framework/elements/sky-scrollable.sky ('k') | sky/framework/embedder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698