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

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

Issue 2964293002: CrOS Settings: Add skeleton page for multidevice section. (Closed)
Patch Set: Minor cleanups 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..5732a31066703051cbeac6b7ddc78de3dd7f9cbe
--- /dev/null
+++ b/chrome/browser/resources/settings/multidevice_page/multidevice_page.js
@@ -0,0 +1,36 @@
+// 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): Write to prefs and propagate the setting to the SMS connect
+ // component.
+ },
+});

Powered by Google App Engine
This is Rietveld 408576698