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

Unified Diff: third_party/polymer/components-chromium/paper-menu-button/paper-menu-button-extracted.js

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 side-by-side diff with in-line comments
Download patch
Index: third_party/polymer/components-chromium/paper-menu-button/paper-menu-button-extracted.js
diff --git a/third_party/polymer/components-chromium/paper-menu-button/paper-menu-button-extracted.js b/third_party/polymer/components-chromium/paper-menu-button/paper-menu-button-extracted.js
deleted file mode 100644
index 99c74aa47bfca4447836ad6cc5461883ca193f8f..0000000000000000000000000000000000000000
--- a/third_party/polymer/components-chromium/paper-menu-button/paper-menu-button-extracted.js
+++ /dev/null
@@ -1,77 +0,0 @@
-Polymer('paper-menu-button-overlay-container');;
-
- Polymer('paper-menu-button', {
-
- publish: {
-
- /**
- * If true, this menu is currently visible.
- *
- * @attribute opened
- * @type boolean
- * @default false
- */
- opened: { value: false, reflect: true },
-
- /**
- * The horizontal alignment of the pulldown menu relative to the button.
- *
- * @attribute halign
- * @type 'left' | 'right'
- * @default 'left'
- */
- halign: { value: 'left', reflect: true },
-
- /**
- * The vertical alignment of the pulldown menu relative to the button.
- *
- * @attribute valign
- * @type 'bottom' | 'top'
- * @default 'top'
- */
- valign: {value: 'top', reflect: true}
- },
-
- /**
- * The URL of an image for the icon. Should not use `icon` property
- * if you are using this property.
- *
- * @attribute src
- * @type string
- * @default ''
- */
- src: '',
-
- /**
- * Specifies the icon name or index in the set of icons available in
- * the icon set. Should not use `src` property if you are using this
- * property.
- *
- * @attribute icon
- * @type string
- * @default ''
- */
- icon: '',
-
- slow: false,
-
- tapAction: function() {
- if (this.disabled) {
- return;
- }
-
- this.super();
- this.toggle();
- },
-
- /**
- * Toggle the opened state of the menu.
- *
- * @method toggle
- */
- toggle: function() {
- this.opened = !this.opened;
- }
-
- });
-

Powered by Google App Engine
This is Rietveld 408576698