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

Side by Side Diff: ui/keyboard/resources/elements/kb-key-import.js

Issue 730573002: Remove dead code for system VK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 Polymer('kb-key-import', {
6 /**
7 * The id of the document fragment that will be imported.
8 */
9 importId: null,
10
11 /**
12 * Import content from a document fragment.
13 * @param {!DocumentFragment} content Document fragment that contains
14 * the content to import.
15 */
16 importDoc: function(content) {
17 var id = this.getAttribute('importId');
18 var fragment = content.querySelector('#' + id);
19 return fragment && fragment.content ? fragment.content : fragment;
20 }
21 });
22
OLDNEW
« no previous file with comments | « ui/keyboard/resources/elements/kb-key-import.html ('k') | ui/keyboard/resources/elements/kb-key-sequence.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698