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

Side by Side Diff: chrome/browser/resources/md_extensions/item.js

Issue 2329443004: [MD Extensions] Implement opening tab-style options pages (Closed)
Patch Set: Michael's Created 4 years, 3 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 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 cr.define('extensions', function() { 5 cr.define('extensions', function() {
6 /** @interface */ 6 /** @interface */
7 var ItemDelegate = function() {}; 7 var ItemDelegate = function() {};
8 8
9 ItemDelegate.prototype = { 9 ItemDelegate.prototype = {
10 /** @param {string} id */ 10 /** @param {string} id */
(...skipping 23 matching lines...) Expand all
34 */ 34 */
35 setItemAllowedOnAllSites: assertNotReached, 35 setItemAllowedOnAllSites: assertNotReached,
36 36
37 /** 37 /**
38 * @param {string} id 38 * @param {string} id
39 * @param {boolean} collectsErrors 39 * @param {boolean} collectsErrors
40 */ 40 */
41 setItemCollectsErrors: assertNotReached, 41 setItemCollectsErrors: assertNotReached,
42 42
43 /** 43 /**
44 * @param {string} id, 44 * @param {string} id
45 * @param {chrome.developerPrivate.ExtensionView} view 45 * @param {chrome.developerPrivate.ExtensionView} view
46 */ 46 */
47 inspectItemView: assertNotReached, 47 inspectItemView: assertNotReached,
48 48
49 /** @param {string} id */ 49 /** @param {string} id */
50 repairItem: assertNotReached, 50 repairItem: assertNotReached,
51
52 /** @param {string} id */
53 showItemOptionsPage: assertNotReached,
51 }; 54 };
52 55
53 var Item = Polymer({ 56 var Item = Polymer({
54 is: 'extensions-item', 57 is: 'extensions-item',
55 58
56 behaviors: [I18nBehavior], 59 behaviors: [I18nBehavior],
57 60
58 properties: { 61 properties: {
59 // The item's delegate, or null. 62 // The item's delegate, or null.
60 delegate: { 63 delegate: {
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 return this.data.blacklistText ? 'severe' : 'mild'; 217 return this.data.blacklistText ? 'severe' : 'mild';
215 }, 218 },
216 }); 219 });
217 220
218 return { 221 return {
219 Item: Item, 222 Item: Item,
220 ItemDelegate: ItemDelegate, 223 ItemDelegate: ItemDelegate,
221 }; 224 };
222 }); 225 });
223 226
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_extensions/detail_view.js ('k') | chrome/browser/resources/md_extensions/service.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698