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

Side by Side Diff: sky/framework/sky-input.sky

Issue 881093003: Normalize import paths for Sky modules (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 <import src="/sky/framework/shell.sky" as="shell" /> 6 <import src="/gen/mojo/services/keyboard/public/interfaces/keyboard.mojom.sky" a s="keyboard" />
7 <import src="/sky/framework/sky-element/sky-element.sky" as="SkyElement" /> 7 <import src="shell.sky" as="shell" />
8 <import src="/mojo/services/keyboard/public/interfaces/keyboard.mojom.sky" as="k eyboard" /> 8 <import src="sky-element/sky-element.sky" as="SkyElement" />
9 9
10 <sky-element name="sky-input" attributes="value:string"> 10 <sky-element name="sky-input" attributes="value:string">
11 <template> 11 <template>
12 <style> 12 <style>
13 :host { 13 :host {
14 display: flex; 14 display: flex;
15 border: 1px solid blue; 15 border: 1px solid blue;
16 margin: 5px; 16 margin: 5px;
17 padding: 4px; 17 padding: 4px;
18 } 18 }
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 } 62 }
63 handleFocus(event) { 63 handleFocus(event) {
64 keyboard.show(); 64 keyboard.show();
65 } 65 }
66 handleBlur(event) { 66 handleBlur(event) {
67 keyboard.hide(); 67 keyboard.hide();
68 } 68 }
69 }.register(); 69 }.register();
70 </script> 70 </script>
71 </sky-element> 71 </sky-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698