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

Side by Side Diff: third_party/polymer/v1_0/components/iron-a11y-keys/iron-a11y-keys.html

Issue 1187823002: Update Polymer components and re-run reproduce.sh (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 6 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 @license 2 @license
3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. 3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE 4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS
7 Code distributed by Google as part of the polymer project is also 7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS
9 --> 9 -->
10 10
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 81
82 Polymer({ 82 Polymer({
83 is: 'iron-a11y-keys', 83 is: 'iron-a11y-keys',
84 84
85 behaviors: [ 85 behaviors: [
86 Polymer.IronA11yKeysBehavior 86 Polymer.IronA11yKeysBehavior
87 ], 87 ],
88 88
89 properties: { 89 properties: {
90 /** @type {?Node} */
90 target: { 91 target: {
91 type: Object, 92 type: Object,
92 observer: '_targetChanged' 93 observer: '_targetChanged'
93 }, 94 },
94 95
95 keys: { 96 keys: {
96 type: String, 97 type: String,
97 reflectToAttribute: true, 98 reflectToAttribute: true,
98 observer: '_keysChanged' 99 observer: '_keysChanged'
99 } 100 }
(...skipping 12 matching lines...) Expand all
112 _keysChanged: function() { 113 _keysChanged: function() {
113 this.removeOwnKeyBindings(); 114 this.removeOwnKeyBindings();
114 this.addOwnKeyBinding(this.keys, '_fireKeysPressed'); 115 this.addOwnKeyBinding(this.keys, '_fireKeysPressed');
115 }, 116 },
116 117
117 _fireKeysPressed: function(event) { 118 _fireKeysPressed: function(event) {
118 this.fire('keys-pressed', event.detail, {}); 119 this.fire('keys-pressed', event.detail, {});
119 } 120 }
120 }); 121 });
121 </script> 122 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698