| Index: chrome/browser/resources/settings/settings_ui/settings_ui.js
|
| diff --git a/chrome/browser/resources/settings/settings_ui/settings_ui.js b/chrome/browser/resources/settings/settings_ui/settings_ui.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..83cf803b5c0c7c227d57683e5e1baee491c087bc
|
| --- /dev/null
|
| +++ b/chrome/browser/resources/settings/settings_ui/settings_ui.js
|
| @@ -0,0 +1,42 @@
|
| +// Copyright 2015 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
|
| + * 'cr-settings-ui' implements the UI for the Settings page.
|
| + *
|
| + * Example:
|
| + *
|
| + * <cr-settings-ui prefs="{{prefs}}"></cr-settings-ui>
|
| + *
|
| + * @group Chrome Settings Elements
|
| + * @element cr-settings-ui
|
| + */
|
| +Polymer('cr-settings-ui', {
|
| + publish: {
|
| + /**
|
| + * Preferences state.
|
| + *
|
| + * @attribute prefs
|
| + * @type CrSettingsPrefsElement
|
| + * @default null
|
| + */
|
| + prefs: null,
|
| +
|
| + /**
|
| + * Ordered list of settings pages available to the user. Do not edit
|
| + * this variable directly.
|
| + *
|
| + * @attribute pages
|
| + * @type Array<!Object>
|
| + * @default null
|
| + */
|
| + pages: null,
|
| + },
|
| +
|
| + /** @override */
|
| + created: function() {
|
| + this.pages = [];
|
| + },
|
| +});
|
|
|