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

Side by Side Diff: third_party/polymer/v0_8/components-chromium/iron-a11y-keys-behavior/iron-a11y-keys-behavior-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 (function() { 2 (function() {
3 'use strict'; 3 'use strict';
4 4
5 /** 5 /**
6 * Chrome uses an older version of DOM Level 3 Keyboard Events 6 * Chrome uses an older version of DOM Level 3 Keyboard Events
7 * 7 *
8 * Most keys are labeled as text, but some are Unicode codepoints. 8 * Most keys are labeled as text, but some are Unicode codepoints.
9 * Values taken from: http://www.w3.org/TR/2007/WD-DOM-Level-3-Events-200712 21/keyset.html#KeySet-Set 9 * Values taken from: http://www.w3.org/TR/2007/WD-DOM-Level-3-Events-200712 21/keyset.html#KeySet-Set
10 */ 10 */
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 _triggerKeyHandler: function(keyCombo, handlerName, keyboardEvent) { 396 _triggerKeyHandler: function(keyCombo, handlerName, keyboardEvent) {
397 var detail = Object.create(keyCombo); 397 var detail = Object.create(keyCombo);
398 detail.keyboardEvent = keyboardEvent; 398 detail.keyboardEvent = keyboardEvent;
399 399
400 this[handlerName].call(this, new CustomEvent(keyCombo.event, { 400 this[handlerName].call(this, new CustomEvent(keyCombo.event, {
401 detail: detail 401 detail: detail
402 })); 402 }));
403 } 403 }
404 }; 404 };
405 })(); 405 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698