| Index: chrome/browser/resources/settings/settings_dialog.js
|
| diff --git a/chrome/browser/resources/settings/settings_dialog.js b/chrome/browser/resources/settings/settings_dialog.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..59fcc41bf2583c35a80b958264519b1320c33821
|
| --- /dev/null
|
| +++ b/chrome/browser/resources/settings/settings_dialog.js
|
| @@ -0,0 +1,25 @@
|
| +// 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-dialog' is a component for showing a modal dialog.
|
| + *
|
| + * @group Chrome Settings Elements
|
| + * @element settings-dialog
|
| + */
|
| +Polymer({
|
| + is: 'settings-dialog',
|
| +
|
| + open: function() {
|
| + this.$.dialog.open();
|
| + },
|
| +
|
| + close: function() {
|
| + this.$.dialog.close();
|
| + },
|
| +
|
| + center: function() {
|
| + this.$.dialog.center();
|
| + },
|
| +});
|
|
|