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

Unified Diff: ui/keyboard/resources/elements/kb-row.html

Issue 15176004: Web Component Virtual Keyboard (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 7 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 side-by-side diff with in-line comments
Download patch
Index: ui/keyboard/resources/elements/kb-row.html
diff --git a/ui/keyboard/resources/elements/kb-row.html b/ui/keyboard/resources/elements/kb-row.html
new file mode 100644
index 0000000000000000000000000000000000000000..21525b8330e28f8a9f9e30a6155c748fb0e0f88f
--- /dev/null
+++ b/ui/keyboard/resources/elements/kb-row.html
@@ -0,0 +1,28 @@
+<!--
+ -- Copyright (c) 2013 The Chromium Authors. All rights reserved.
+ -- Use of this source code is governed by a BSD-style license that can be
+ -- found in the LICENSE file.
+ -->
+
+<element name="kb-row">
+ <template>
+ <style>
+ @host {
+ * {
+ -webkit-box-flex: 1;
+ display: -webkit-box;
+ text-align: center;
+ margin-right: 5px;
+ margin-top: 5px;
+ }
+ }
+ content::-webkit-distributed(kb-key) {
+ -webkit-flex: 1 auto;
+ }
+ </style>
+ <content select="*"></content>
+ </template>
+ <script>
+ Polymer.register(this);
+ </script>
+</element>

Powered by Google App Engine
This is Rietveld 408576698