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

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

Issue 2140513003: [MD Extensions] Update polymer properties ordering (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Michael's Created 4 years, 5 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
« no previous file with comments | « chrome/browser/resources/md_extensions/shortcut_input.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.exportPath('extensions'); 5 cr.exportPath('extensions');
6 6
7 // Declare this here to make closure compiler happy, and us sad. 7 // Declare this here to make closure compiler happy, and us sad.
8 /** @enum {number} */ 8 /** @enum {number} */
9 extensions.ShowingType = { 9 extensions.ShowingType = {
10 EXTENSIONS: 0, 10 EXTENSIONS: 0,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 /** Shows the keyboard shortcuts page. */ 42 /** Shows the keyboard shortcuts page. */
43 showKeyboardShortcuts: assertNotReached, 43 showKeyboardShortcuts: assertNotReached,
44 44
45 /** Shows the pack extension dialog. */ 45 /** Shows the pack extension dialog. */
46 showPackDialog: assertNotReached, 46 showPackDialog: assertNotReached,
47 }; 47 };
48 48
49 var Sidebar = Polymer({ 49 var Sidebar = Polymer({
50 is: 'extensions-sidebar', 50 is: 'extensions-sidebar',
51 51
52 behaviors: [I18nBehavior],
53
52 properties: { 54 properties: {
53 inDevMode: { 55 inDevMode: {
54 type: Boolean, 56 type: Boolean,
55 value: false, 57 value: false,
56 }, 58 },
57 }, 59 },
58 60
59 behaviors: [I18nBehavior],
60
61 /** @param {extensions.SidebarDelegate} delegate */ 61 /** @param {extensions.SidebarDelegate} delegate */
62 setDelegate: function(delegate) { 62 setDelegate: function(delegate) {
63 /** @private {extensions.SidebarDelegate} */ 63 /** @private {extensions.SidebarDelegate} */
64 this.delegate_ = delegate; 64 this.delegate_ = delegate;
65 }, 65 },
66 66
67 /** @param {extensions.SidebarListDelegate} listDelegate */ 67 /** @param {extensions.SidebarListDelegate} listDelegate */
68 setListDelegate: function(listDelegate) { 68 setListDelegate: function(listDelegate) {
69 /** @private {extensions.SidebarListDelegate} */ 69 /** @private {extensions.SidebarListDelegate} */
70 this.listDelegate_ = listDelegate; 70 this.listDelegate_ = listDelegate;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 }, 107 },
108 }); 108 });
109 109
110 return { 110 return {
111 Sidebar: Sidebar, 111 Sidebar: Sidebar,
112 SidebarDelegate: SidebarDelegate, 112 SidebarDelegate: SidebarDelegate,
113 SidebarListDelegate: SidebarListDelegate, 113 SidebarListDelegate: SidebarListDelegate,
114 }; 114 };
115 }); 115 });
116 116
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_extensions/shortcut_input.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698