<!-- -- Copyright 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. --> <polymer-element name="kb-keyboard" on-key-over="{{keyOver}}" on-key-up="{{keyUp}}" on-key-down="{{keyDown}}" on-key-longpress="{{keyLongpress}}" on-pointerup="{{up}}" on-pointerdown="{{down}}" on-pointerout="{{out}}" on-enable-sel="{{enableSel}}" on-enable-dbl="{{enableDbl}}" on-key-out="{{keyOut}}" on-set-layout="{{setLayout}}" on-type-key="{{type}}" attributes="inputType inputTypeToLayoutMap keyset layout volume"> <template> <style> :host { -webkit-user-select: none; background-color: #eeeeee; bottom: 0; cursor: default; left: 0; margin: 0; overflow: hidden; padding: 0; position: absolute; right: 0; top: 0; } </style> <!-- The ID for a keyset follows the naming convention of combining the -- layout name with a base keyset name. This convention is used to -- allow multiple layouts to be loaded (enablign fast switching) while -- allowing the shift and spacebar keys to be common across multiple -- keyboard layouts. --> <content select="kb-keyset" id="content"></content> <kb-key-codes id="keyCodeMetadata"></kb-key-codes> </template> </polymer-element>