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

Unified Diff: third_party/polymer/components-chromium/core-dropdown-menu/core-dropdown-menu.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-dropdown-menu/core-dropdown-menu.html
diff --git a/third_party/polymer/components-chromium/core-dropdown-menu/core-dropdown-menu.html b/third_party/polymer/components-chromium/core-dropdown-menu/core-dropdown-menu.html
deleted file mode 100644
index c14f447081e5a64c66e490cc9317ac3e544e84a6..0000000000000000000000000000000000000000
--- a/third_party/polymer/components-chromium/core-dropdown-menu/core-dropdown-menu.html
+++ /dev/null
@@ -1,73 +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-dropdown-menu` works together with `core-dropdown` and `core-selector` to
-implement a drop-down menu. The currently selected item is displayed in the
-control. If no item is selected, the `label` is displayed instead.
-
-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. You should
-also provide a `core-selector` or other selector element, such as `core-menu`,
-in the drop-down.
-
-Example:
-
- <core-dropdown-menu label="Choose a pastry">
- <core-dropdown class="dropdown">
- <core-selector>
- <core-item label="Croissant"></core-item>
- <core-item label="Donut"></core-item>
- <core-item label="Financier"></core-item>
- <core-item label="Madeleine"></core-item>
- </core-selector>
- </core-dropdown>
- </core-dropdown-menu>
-
-@group Polymer Core Elements
-@element core-dropdown-menu
-@extends core-dropdown-base
-@status unstable
-@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">
-<link href="../core-focusable/core-focusable.html" rel="import">
-<link href="../core-icon/core-icon.html" rel="import">
-<link href="../core-icons/core-icons.html" rel="import">
-
-</head><body><polymer-element name="core-dropdown-menu" extends="core-dropdown-base" relative="" layout="" inline="" horizontal="" center="" tabindex="0" assetpath="">
-<template>
-
- <style>
- :host {
- background-color: #fff;
- }
-
- :host([disabled]) {
- color: #a8a8a8;
- }
-
- #label {
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- }
- </style>
-
- <core-a11y-keys target="{{}}" keys="enter space" on-keys-pressed="{{toggleOverlay}}"></core-a11y-keys>
-
- <div flex="" auto="" id="label">{{selectedItemLabel || label}}</div>
- <core-icon id="arrow" icon="{{opened ? openedIcon : closedIcon}}"></core-icon>
-
- <content></content>
-
-</template>
-
-</polymer-element>
-<script charset="utf-8" src="core-dropdown-menu-extracted.js"></script></body></html>

Powered by Google App Engine
This is Rietveld 408576698