| OLD | NEW |
| 1 Polymer({ | 1 Polymer({ |
| 2 is: 'iron-collapse', | 2 is: 'iron-collapse', |
| 3 behaviors: [ Polymer.IronResizableBehavior ], | 3 behaviors: [ Polymer.IronResizableBehavior ], |
| 4 properties: { | 4 properties: { |
| 5 horizontal: { | 5 horizontal: { |
| 6 type: Boolean, | 6 type: Boolean, |
| 7 value: false, | 7 value: false, |
| 8 observer: '_horizontalChanged' | 8 observer: '_horizontalChanged' |
| 9 }, | 9 }, |
| 10 opened: { | 10 opened: { |
| (...skipping 2112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2123 type: Boolean, | 2123 type: Boolean, |
| 2124 value: false | 2124 value: false |
| 2125 }, | 2125 }, |
| 2126 hasSeenForeignData_: Boolean | 2126 hasSeenForeignData_: Boolean |
| 2127 }, | 2127 }, |
| 2128 listeners: { | 2128 listeners: { |
| 2129 'toggle-menu': 'onToggleMenu_', | 2129 'toggle-menu': 'onToggleMenu_', |
| 2130 scroll: 'onListScroll_' | 2130 scroll: 'onListScroll_' |
| 2131 }, | 2131 }, |
| 2132 attached: function() { | 2132 attached: function() { |
| 2133 chrome.send('otherDevicesInitialized'); | |
| 2134 md_history.BrowserService.getInstance().recordHistogram(SYNCED_TABS_HISTOGRA
M_NAME, SyncedTabsHistogram.INITIALIZED, SyncedTabsHistogram.LIMIT); | 2133 md_history.BrowserService.getInstance().recordHistogram(SYNCED_TABS_HISTOGRA
M_NAME, SyncedTabsHistogram.INITIALIZED, SyncedTabsHistogram.LIMIT); |
| 2135 }, | 2134 }, |
| 2136 getContentScrollTarget: function() { | 2135 getContentScrollTarget: function() { |
| 2137 return this; | 2136 return this; |
| 2138 }, | 2137 }, |
| 2139 createInternalDevice_: function(session) { | 2138 createInternalDevice_: function(session) { |
| 2140 var tabs = []; | 2139 var tabs = []; |
| 2141 var separatorIndexes = []; | 2140 var separatorIndexes = []; |
| 2142 for (var i = 0; i < session.windows.length; i++) { | 2141 for (var i = 0; i < session.windows.length; i++) { |
| 2143 var windowId = session.windows[i].sessionId; | 2142 var windowId = session.windows[i].sessionId; |
| (...skipping 1138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3282 var cl = this.$.selectionBar.classList; | 3281 var cl = this.$.selectionBar.classList; |
| 3283 if (cl.contains('expand')) { | 3282 if (cl.contains('expand')) { |
| 3284 cl.remove('expand'); | 3283 cl.remove('expand'); |
| 3285 cl.add('contract'); | 3284 cl.add('contract'); |
| 3286 this._positionBar(this._pos.width, this._pos.left); | 3285 this._positionBar(this._pos.width, this._pos.left); |
| 3287 } else if (cl.contains('contract')) { | 3286 } else if (cl.contains('contract')) { |
| 3288 cl.remove('contract'); | 3287 cl.remove('contract'); |
| 3289 } | 3288 } |
| 3290 } | 3289 } |
| 3291 }); | 3290 }); |
| OLD | NEW |