| Index: ui/keyboard/resources/elements/kb-key.html
|
| diff --git a/ui/keyboard/resources/elements/kb-key.html b/ui/keyboard/resources/elements/kb-key.html
|
| index c37d70716668052b0a37e5374ec7dec09abb1017..936dabb4f5c9b46c909fbacbbacdf4576d33926e 100644
|
| --- a/ui/keyboard/resources/elements/kb-key.html
|
| +++ b/ui/keyboard/resources/elements/kb-key.html
|
| @@ -39,7 +39,18 @@
|
| * Keys with a high weighting are wider than normal keys.
|
| * @type {number}
|
| */
|
| - weight: 1
|
| + weight: 1,
|
| +
|
| + /**
|
| + * Returns a subset of the key attributes.
|
| + * @return {Object} Mapping of attributes for the key element.
|
| + */
|
| + PopulateDetails: function() {
|
| + var details = this.super();
|
| + details.keyCode = this.keyCode;
|
| + details.shiftModifier = this.shiftModifier;
|
| + return details;
|
| + },
|
| });
|
| </script>
|
| </polymer-element>
|
| @@ -60,7 +71,7 @@
|
| }
|
| this.fire('enable-dbl', detail);
|
| this.fire('enable-sel');
|
| - }
|
| + },
|
| });
|
| </script>
|
| </polymer-element>
|
|
|