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

Unified Diff: third_party/polymer/components/paper-dialog/paper-dialog-base.html

Issue 1215543002: Remove Polymer 0.5. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix unit test Created 5 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: third_party/polymer/components/paper-dialog/paper-dialog-base.html
diff --git a/third_party/polymer/components/paper-dialog/paper-dialog-base.html b/third_party/polymer/components/paper-dialog/paper-dialog-base.html
deleted file mode 100644
index 1a5adf234662dba02a5f22741c16233db48a677f..0000000000000000000000000000000000000000
--- a/third_party/polymer/components/paper-dialog/paper-dialog-base.html
+++ /dev/null
@@ -1,81 +0,0 @@
-<!--
-Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
-This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
-The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
-The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
-Code distributed by Google as part of the polymer project is also
-subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
--->
-
-<!--
-
-Material Design: <a href="http://www.google.com/design/spec/components/dialogs.html">Dialogs</a>
-
-`paper-dialog-base` is a base class used to implement Material Design styled
-dialogs.
-
-@group Paper Elements
-@element paper-dialog-base
-@extends core-overlay
-@homepage github.io
-@status unstable
--->
-<link href="../polymer/polymer.html" rel="import">
-<link href="../core-overlay/core-overlay.html" rel="import">
-<link href="../core-transition/core-transition-css.html" rel="import">
-
-<polymer-element name="paper-dialog-base" extends="core-overlay" role="dialog" on-core-overlay-open="{{openAction}}">
-
-<script>
-
- Polymer({
-
- publish: {
-
- /**
- * The title of the dialog.
- *
- * @attribute heading
- * @type string
- * @default ''
- */
- heading: '',
-
- /**
- * @attribute transition
- * @type string
- * @default ''
- */
- transition: '',
-
- /**
- * @attribute layered
- * @type boolean
- * @default true
- */
- layered: true
- },
-
- ready: function() {
- this.super();
- this.sizingTarget = this.$.scroller;
- },
-
- headingChanged: function(old) {
- var label = this.getAttribute('aria-label');
- if (!label || label === old) {
- this.setAttribute('aria-label', this.heading);
- }
- },
-
- openAction: function() {
- if (this.$.scroller.scrollTop) {
- this.$.scroller.scrollTop = 0;
- }
- }
-
- });
-
-</script>
-
-</polymer-element>

Powered by Google App Engine
This is Rietveld 408576698