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

Side by Side Diff: chrome/browser/resources/settings/settings_dialog.js

Issue 2071543003: MD WebUI: Extract settings-dialog into shared cr-dialog element (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove ) from comment Created 4 years, 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 /**
6 * @fileoverview 'settings-dialog' is a component for showing a modal dialog.
7 */
8 Polymer({
9 is: 'settings-dialog',
10
11 properties: {
12 /** @override */
13 noCancelOnOutsideClick: {
14 type: Boolean,
15 value: true,
16 },
17
18 /** @override */
19 noCancelOnEscKey: {
20 type: Boolean,
21 value: false,
22 },
23
24 sizingTarget: {
25 type: Element,
26 value: function() {
27 return this.$$('.body-container');
28 },
29 },
30
31 /** @override */
32 withBackdrop: {
33 type: Boolean,
34 value: true,
35 },
36 },
37
38 behaviors: [Polymer.PaperDialogBehavior],
39
40 /** @return {!PaperIconButtonElement} */
41 getCloseButton: function() {
42 return this.$.close;
43 },
44 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/settings_dialog.html ('k') | chrome/browser/resources/settings/settings_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698