2 -- Copyright 2013 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.
7 <polymer-element name="kb-keyboard" on-key-over="{{keyOver}}"
8 on-key-up="{{keyUp}}" on-key-down="{{keyDown}}"
9 on-key-longpress="{{keyLongpress}}" on-pointerup="{{up}}"
10 on-pointerdown="{{down}}" on-pointerout="{{out}}"
11 on-enable-sel="{{enableSel}}" on-enable-dbl="{{enableDbl}}"
12 on-key-out="{{keyOut}}" on-set-layout="{{setLayout}}" on-type-key="{{type}}"
13 attributes="inputType inputTypeToLayoutMap keyset layout volume">
17 -webkit-user-select: none;
18 background-color: #eeeeee;
30 <!-- The ID for a keyset follows the naming convention of combining the
31 -- layout name with a base keyset name. This convention is used to
32 -- allow multiple layouts to be loaded (enablign fast switching) while
33 -- allowing the shift and spacebar keys to be common across multiple
36 <content select="kb-keyset" id="content"></content>
37 <kb-key-codes id="keyCodeMetadata"></kb-key-codes>