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

Side by Side Diff: third_party/polymer/components-chromium/paper-menu-button/paper-menu-button.html

Issue 666453002: Removed Polymer elements depending on web-animations-js. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 <!--
2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
5 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
6 Code distributed by Google as part of the polymer project is also
7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
8 -->
9 <!--
10 A `paper-menu-button` is a `paper-icon-button` that opens a drop down menu when tapped.
11
12 Example:
13
14 <paper-menu-button icon="menu">
15 <div>Menu Item 1</div>
16 <div>Menu Item 2</div>
17 <div>Menu Item 3</div>
18 </paper-menu-button>
19
20 @group Paper Elements
21 @element paper-menu-button
22 @extends paper-focusable
23 -->
24 <link href="../polymer/polymer.html" rel="import">
25 <link href="../core-icon/core-icon.html" rel="import">
26 <link href="../core-menu/core-menu.html" rel="import">
27 <link href="../paper-focusable/paper-focusable.html" rel="import">
28 <link href="../paper-shadow/paper-shadow.html" rel="import">
29 <link href="paper-menu-button-overlay.html" rel="import">
30 <link href="paper-menu-button-transition.html" rel="import">
31
32 <polymer-element name="paper-menu-button-overlay-container" assetpath="">
33 <template>
34 <content></content>
35 </template>
36 </polymer-element>
37
38 <polymer-element name="paper-menu-button" extends="paper-focusable" attributes=" src icon opened halign valign slow" on-tap="{{tapAction}}" assetpath="">
39 <template>
40 <link rel="stylesheet" href="paper-menu-button.css">
41 <paper-menu-button-overlay target="{{$.overlay}}" relatedtarget="{{}}" halig n="{{halign}}" valign="{{valign}}" opened="{{opened}}" transition="paper-menu-bu tton-transition-top-{{halign}}{{slow ? &apos;-slow&apos; : &apos;&apos;}}"></pap er-menu-button-overlay>
42 <paper-menu-button-overlay-container id="overlay">
43 <paper-shadow target="{{$.overlayBg}}" z="0" hasposition=""></paper-shadow >
44 <div class="paper-menu-button-overlay-ink"></div>
45 <div id="overlayBg" class="paper-menu-button-overlay-bg"></div>
46 <core-menu id="menu">
47 <content></content>
48 </core-menu>
49 </paper-menu-button-overlay-container>
50 <core-icon src="{{src}}" icon="{{icon}}"></core-icon>
51 </template>
52
53 </polymer-element>
54 <script src="paper-menu-button-extracted.js"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698