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

Side by Side Diff: third_party/polymer/v0_8/components-chromium/iron-a11y-keys/iron-a11y-keys-extracted.js

Issue 1162963002: Revert "Rename polymer and cr_elements v0_8 to v1_0" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 2
3 /* 3 /*
4 `iron-a11y-keys` provides a normalized interface for processing keyboard command s that pertain to [WAI-ARIA best 4 `iron-a11y-keys` provides a normalized interface for processing keyboard command s that pertain to [WAI-ARIA best
5 practices](http://www.w3.org/TR/wai-aria-practices/#kbd_general_binding). The el ement takes care of browser differences 5 practices](http://www.w3.org/TR/wai-aria-practices/#kbd_general_binding). The el ement takes care of browser differences
6 with respect to Keyboard events and uses an expressive syntax to filter key pres ses. 6 with respect to Keyboard events and uses an expressive syntax to filter key pres ses.
7 7
8 Use the `keys` attribute to express what combination of keys will trigger the ev ent to fire. 8 Use the `keys` attribute to express what combination of keys will trigger the ev ent to fire.
9 9
10 Use the `target` attribute to set up event handlers on a specific node. 10 Use the `target` attribute to set up event handlers on a specific node.
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 97
98 _keysChanged: function() { 98 _keysChanged: function() {
99 this.removeOwnKeyBindings(); 99 this.removeOwnKeyBindings();
100 this.addOwnKeyBinding(this.keys, '_fireKeysPressed'); 100 this.addOwnKeyBinding(this.keys, '_fireKeysPressed');
101 }, 101 },
102 102
103 _fireKeysPressed: function(event) { 103 _fireKeysPressed: function(event) {
104 this.fire('keys-pressed', event.detail, {}); 104 this.fire('keys-pressed', event.detail, {});
105 } 105 }
106 }); 106 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698