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

Unified Diff: chrome/browser/resources/settings/multidevice_page/multidevice_page.js

Issue 2964293002: CrOS Settings: Add skeleton page for multidevice section. (Closed)
Patch Set: Sync and rebase Created 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/multidevice_page/multidevice_page.js
diff --git a/chrome/browser/resources/settings/multidevice_page/multidevice_page.js b/chrome/browser/resources/settings/multidevice_page/multidevice_page.js
new file mode 100644
index 0000000000000000000000000000000000000000..e402512aefe39c2f2d5a79f6fd141c7c3a7835ef
--- /dev/null
+++ b/chrome/browser/resources/settings/multidevice_page/multidevice_page.js
@@ -0,0 +1,37 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+/**
+ * @fileoverview
+ * Settings page for managing multidevice features.
+ */
+
+Polymer({
+ is: 'settings-multidevice-page',
+
+ properties: {
+ /** Preferences state. */
+ prefs: {
+ type: Object,
+ notify: true,
+ },
+
+ /**
+ * Reflects the current state of the toggle buttons (in this page and the
+ * subpage). This will be set when the user changes the toggle.
+ * @private
+ */
+ smsConnectToggleState_: {
+ type: Boolean,
+ observer: 'smsConnectToggleStateChanged_',
+ },
+ },
+
+ /** @private */
+ smsConnectToggleStateChanged_: function() {
+ // TODO(orenb): Switch from paper-toggle-button to settings-toggle-button,
+ // which will manage the underlying pref state, once the new pref has been
+ // implemented. Propagate here the pref value to the SMS connect component.
+ },
+});

Powered by Google App Engine
This is Rietveld 408576698