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

Unified Diff: third_party/polymer/components-chromium/paper-dropdown/paper-dropdown-transition.html

Issue 864173009: Add paper-dropdown and paper-dropdown-menu and run reproduce.sh (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 10 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-chromium/paper-dropdown/paper-dropdown-transition.html
diff --git a/third_party/polymer/components-chromium/paper-dialog/paper-dialog-base.html b/third_party/polymer/components-chromium/paper-dropdown/paper-dropdown-transition.html
similarity index 50%
copy from third_party/polymer/components-chromium/paper-dialog/paper-dialog-base.html
copy to third_party/polymer/components-chromium/paper-dropdown/paper-dropdown-transition.html
index d357b2069ed5fbb84c2b499310cebc9de9b4278f..b3bbad4cd0c3865148ef83a8accadbfcc522f449 100644
--- a/third_party/polymer/components-chromium/paper-dialog/paper-dialog-base.html
+++ b/third_party/polymer/components-chromium/paper-dropdown/paper-dropdown-transition.html
@@ -7,23 +7,24 @@ 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-dropdown-transition` is a transition for `paper-dropdown`.
-`paper-dialog-base` is a base class used to implement Material Design styled
-dialogs.
+Add the class `menu` to a `core-selector` child of the `paper-dropdown` to
+enable the optional list cascade transition.
@group Paper Elements
-@element paper-dialog-base
-@extends core-overlay
-@homepage github.io
+@class paper-dropdown-transition
+@extends core-transition-css
@status unstable
--><html><head><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">
+<link href="../core-animation/web-animations.html" rel="import">
-</head><body><polymer-element name="paper-dialog-base" extends="core-overlay" role="dialog" on-core-overlay-open="{{openAction}}" assetpath="">
-
-
-
+</head><body><polymer-element name="paper-dropdown-transition" extends="core-transition-css" assetpath="">
+ <template>
+ <link href="paper-dropdown-transition.css" rel="stylesheet" no-shim="">
+ </template>
+
</polymer-element>
-<script charset="utf-8" src="paper-dialog-base-extracted.js"></script></body></html>
+
+<paper-dropdown-transition id="paper-dropdown-transition"></paper-dropdown-transition><script charset="utf-8" src="paper-dropdown-transition-extracted.js"></script></body></html>

Powered by Google App Engine
This is Rietveld 408576698