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

Side by Side Diff: chrome/browser/resources/settings/about_page/about_page.js

Issue 2211303004: MD Settings: Refactor RoutableBehavior into MainPageBehavior (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 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 /** 5 /**
6 * @fileoverview 'settings-about-page' contains version and OS related 6 * @fileoverview 'settings-about-page' contains version and OS related
7 * information. 7 * information.
8 */ 8 */
9 Polymer({ 9 Polymer({
10 is: 'settings-about-page', 10 is: 'settings-about-page',
11 11
12 behaviors: [WebUIListenerBehavior, RoutableBehavior, I18nBehavior], 12 behaviors: [WebUIListenerBehavior, MainPageBehavior, I18nBehavior],
13 13
14 properties: { 14 properties: {
15 /** @private {?UpdateStatusChangedEvent} */ 15 /** @private {?UpdateStatusChangedEvent} */
16 currentUpdateStatusEvent_: Object, 16 currentUpdateStatusEvent_: Object,
17 17
18 <if expr="chromeos"> 18 <if expr="chromeos">
19 /** @private */ 19 /** @private */
20 hasCheckedForUpdates_: Boolean, 20 hasCheckedForUpdates_: Boolean,
21 21
22 /** @private {!BrowserChannel} */ 22 /** @private {!BrowserChannel} */
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 }, 276 },
277 </if> 277 </if>
278 278
279 <if expr="_google_chrome"> 279 <if expr="_google_chrome">
280 /** @private */ 280 /** @private */
281 onReportIssueTap_: function() { 281 onReportIssueTap_: function() {
282 this.aboutBrowserProxy_.openFeedbackDialog(); 282 this.aboutBrowserProxy_.openFeedbackDialog();
283 }, 283 },
284 </if> 284 </if>
285 }); 285 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698