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

Unified Diff: third_party/polymer/components-chromium/core-menu-button/core-menu-button.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-chromium/core-menu-button/core-menu-button.html
diff --git a/third_party/polymer/components-chromium/core-menu-button/core-menu-button.html b/third_party/polymer/components-chromium/core-menu-button/core-menu-button.html
deleted file mode 100644
index 3caf8977a81293253326bdde91e6650139192fc3..0000000000000000000000000000000000000000
--- a/third_party/polymer/components-chromium/core-menu-button/core-menu-button.html
+++ /dev/null
@@ -1,64 +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
---><!--
-
-`core-menu-button` works together with a button and `core-dropdown` to implement
-an button that displays a drop-down when tapped on.
-
-The child element with the class `dropdown` will be used as the drop-down
-menu. It should be a `core-dropdown` or other overlay element.
-
-Example:
-
- <core-menu-button>
- <core-icon-button icon="menu"></core-icon-button>
- <core-dropdown class="dropdown" layered>
- <core-menu>
- <core-item>Share</core-item>
- <core-item>Settings</core-item>
- <core-item>Help</core-item>
- </core-menu>
- </core-dropdown>
- </core-menu-button>
-
-@module Polymer Core Elements
-@element core-menu-button
-@extends core-dropdown-base
-@status beta
-@homepage github.io
---><html><head><link href="../polymer/polymer.html" rel="import">
-<link href="../core-a11y-keys/core-a11y-keys.html" rel="import">
-<link href="../core-dropdown/core-dropdown-base.html" rel="import">
-
-</head><body><polymer-element name="core-menu-button" extends="core-dropdown-base" relative="" assetpath="">
-<template>
-
- <style>
- :host {
- display: inline-block;
- }
-
- :host([disabled]) {
- pointer-events: none;
- color: #a8a8a8;
- }
-
- polyfill-next-selector { content: ':host([disabled]) *'; }
- :host([disabled]) ::content * {
- pointer-events: none;
- }
- </style>
-
- <core-a11y-keys target="{{}}" keys="enter space" on-keys-pressed="{{toggleOverlay}}"></core-a11y-keys>
-
- <content></content>
-
-</template>
-
-</polymer-element>
-<script charset="utf-8" src="core-menu-button-extracted.js"></script></body></html>

Powered by Google App Engine
This is Rietveld 408576698