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

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

Issue 1707613002: MD Settings: Start device page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments, rebase Created 4 years, 10 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/device_page/device_page.js
diff --git a/chrome/browser/resources/settings/device_page/device_page.js b/chrome/browser/resources/settings/device_page/device_page.js
new file mode 100644
index 0000000000000000000000000000000000000000..3028f42ccc5151ec3ac874c81d7d6a0e9c57e46a
--- /dev/null
+++ b/chrome/browser/resources/settings/device_page/device_page.js
@@ -0,0 +1,40 @@
+// Copyright 2016 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-device-page' is the settings page for device and
+ * peripheral settings.
+ *
+ * @group Chrome Settings Elements
+ * @element settings-device-page
+ */
+Polymer({
+ is: 'settings-device-page',
+
+ behaviors: [
+ I18nBehavior,
+ ],
+
+ properties: {
+ /** The current active route. */
+ currentRoute: {
+ type: Object,
+ notify: true,
+ },
+
+ /** Preferences state. */
+ prefs: {
+ type: Object,
+ notify: true,
+ },
+ },
+
+ /**
+ * Handler for tapping the Touchpad settings menu item.
+ * @private
+ */
+ onTouchpadTap_: function() {
+ this.$.pages.setSubpageChain(['touchpad']);
+ },
+});

Powered by Google App Engine
This is Rietveld 408576698