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

Side by Side Diff: sky/sdk/lib/framework/elements/shadow.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
OLDNEW
1 <!-- 1 <!--
2 // Copyright 2015 The Chromium Authors. All rights reserved. 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 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 --> 5 -->
6 <template> 6 <template>
7 <style> 7 <style>
8 :host([level="1"]) { 8 :host([level="1"]) {
9 box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); 9 box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
10 } 10 }
(...skipping 19 matching lines...) Expand all
30 void applyTo(ShadowRoot shadowRoot) { 30 void applyTo(ShadowRoot shadowRoot) {
31 shadowRoot.appendChild(_kStyleElement.cloneNode(deep: true)); 31 shadowRoot.appendChild(_kStyleElement.cloneNode(deep: true));
32 } 32 }
33 33
34 _init(script) { 34 _init(script) {
35 HTMLTemplateElement template = script.owner.querySelector('template'); 35 HTMLTemplateElement template = script.owner.querySelector('template');
36 _kStyleElement = template.content.querySelector('style'); 36 _kStyleElement = template.content.querySelector('style');
37 } 37 }
38 </script> 38 </script>
39 </sky-element> 39 </sky-element>
OLDNEW
« no previous file with comments | « sky/sdk/lib/framework/elements/material-element.sky ('k') | sky/sdk/lib/framework/elements/sky-box.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698