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

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

Issue 2210933004: Settings Router Refactor: Kill settings-router. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix merge 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 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 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * 'settings-bluetooth-page' is the settings page for managing bluetooth 7 * 'settings-bluetooth-page' is the settings page for managing bluetooth
8 * properties and devices. 8 * properties and devices.
9 * 9 *
10 * Example: 10 * Example:
(...skipping 19 matching lines...) Expand all
30 }; 30 };
31 31
32 Polymer({ 32 Polymer({
33 is: 'settings-bluetooth-page', 33 is: 'settings-bluetooth-page',
34 34
35 behaviors: [ 35 behaviors: [
36 I18nBehavior, 36 I18nBehavior,
37 ], 37 ],
38 38
39 properties: { 39 properties: {
40 /** The current active route. */
41 currentRoute: {
42 type: Object,
43 notify: true,
44 },
45
46 /** Whether bluetooth is enabled. */ 40 /** Whether bluetooth is enabled. */
47 bluetoothEnabled: { 41 bluetoothEnabled: {
48 type: Boolean, 42 type: Boolean,
49 value: false, 43 value: false,
50 observer: 'bluetoothEnabledChanged_', 44 observer: 'bluetoothEnabledChanged_',
51 }, 45 },
52 46
53 /** Whether the device list is expanded. */ 47 /** Whether the device list is expanded. */
54 deviceListExpanded: { 48 deviceListExpanded: {
55 type: Boolean, 49 type: Boolean,
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 }, 529 },
536 530
537 /** @private */ 531 /** @private */
538 onDialogClosed_: function() { 532 onDialogClosed_: function() {
539 this.stopDiscovery_(); 533 this.stopDiscovery_();
540 this.dialogId = ''; 534 this.dialogId = '';
541 this.pairingDevice = null; 535 this.pairingDevice = null;
542 this.pairingEvent = null; 536 this.pairingEvent = null;
543 }, 537 },
544 }); 538 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698