| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 Polymer({ | 5 Polymer({ |
| 6 is: 'history-app', | 6 is: 'history-app', |
| 7 | 7 |
| 8 behaviors: [Polymer.IronScrollTargetBehavior], | 8 behaviors: [Polymer.IronScrollTargetBehavior], |
| 9 | 9 |
| 10 properties: { | 10 properties: { |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 routeData_: Object, | 56 routeData_: Object, |
| 57 | 57 |
| 58 // The query params for the page. | 58 // The query params for the page. |
| 59 queryParams_: Object, | 59 queryParams_: Object, |
| 60 | 60 |
| 61 // True if the window is narrow enough for the page to have a drawer. | 61 // True if the window is narrow enough for the page to have a drawer. |
| 62 hasDrawer_: Boolean, | 62 hasDrawer_: Boolean, |
| 63 | 63 |
| 64 isUserSignedIn_: { | 64 isUserSignedIn_: { |
| 65 type: Boolean, | 65 type: Boolean, |
| 66 // Updated on synced-device-manager attach by chrome.sending | 66 // Updated on synced-device-manager. |
| 67 // 'otherDevicesInitialized'. | |
| 68 value: loadTimeData.getBoolean('isUserSignedIn'), | 67 value: loadTimeData.getBoolean('isUserSignedIn'), |
| 69 }, | 68 }, |
| 70 | 69 |
| 71 toolbarShadow_: { | 70 toolbarShadow_: { |
| 72 type: Boolean, | 71 type: Boolean, |
| 73 reflectToAttribute: true, | 72 reflectToAttribute: true, |
| 74 notify: true, | 73 notify: true, |
| 75 } | 74 } |
| 76 }, | 75 }, |
| 77 | 76 |
| (...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 break; | 369 break; |
| 371 } | 370 } |
| 372 break; | 371 break; |
| 373 } | 372 } |
| 374 | 373 |
| 375 md_history.BrowserService.getInstance().recordHistogram( | 374 md_history.BrowserService.getInstance().recordHistogram( |
| 376 'History.HistoryPageView', histogramValue, HistoryPageViewHistogram.END | 375 'History.HistoryPageView', histogramValue, HistoryPageViewHistogram.END |
| 377 ); | 376 ); |
| 378 }, | 377 }, |
| 379 }); | 378 }); |
| OLD | NEW |