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

Unified 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 side-by-side diff with in-line comments
Download patch
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
deleted file mode 100644
index 3f587d33f70d82a5ef7ebece38d0fd6c640c1d19..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/settings/settings_dialog.js
+++ /dev/null
@@ -1,44 +0,0 @@
-// 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.
- */
-Polymer({
- is: 'settings-dialog',
-
- properties: {
- /** @override */
- noCancelOnOutsideClick: {
- type: Boolean,
- value: true,
- },
-
- /** @override */
- noCancelOnEscKey: {
- type: Boolean,
- value: false,
- },
-
- sizingTarget: {
- type: Element,
- value: function() {
- return this.$$('.body-container');
- },
- },
-
- /** @override */
- withBackdrop: {
- type: Boolean,
- value: true,
- },
- },
-
- behaviors: [Polymer.PaperDialogBehavior],
-
- /** @return {!PaperIconButtonElement} */
- getCloseButton: function() {
- return this.$.close;
- },
-});
« 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