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

Side by Side Diff: chrome/browser/resources/media_router/elements/issue_banner/issue_banner.js

Issue 1023673008: Add Media Router issue-banner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
(Empty)
1 // Copyright 2015 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('issue-banner', {
6 publish: {
7 /**
8 * The issue to show.
9 *
10 * @attribute issue
11 * @type {media_router.Issue}
12 * @default: null
13 */
14 issue: null
15 },
16
17 /**
18 * Fires an issue-action-click event. This is called when an issue action
19 * is clicked.
20 *
21 * @param {!Event} event The event object.
22 * @param {Object} detail The details of the event.
23 * @param {!Element} sender Reference to clicked node.
24 */
25 onClickAction: function(event, detail, sender) {
26 this.fire('issue-action-click', {
27 id: this.issue.id,
28 actionType: parseInt(sender.title),
29 helpURL: this.issue.helpURL
30 });
31 }
32 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698