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

Unified Diff: third_party/polymer/components/core-menu/core-menu.html

Issue 592603004: Revert "Polymer elements added to third_party/polymer." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/core-menu/core-menu.html
diff --git a/third_party/polymer/components/core-menu/core-menu.html b/third_party/polymer/components/core-menu/core-menu.html
deleted file mode 100644
index e9aba779c68cb4706ee072507964ab1fe7de7a36..0000000000000000000000000000000000000000
--- a/third_party/polymer/components/core-menu/core-menu.html
+++ /dev/null
@@ -1,62 +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` is a selector which styles to looks like a menu.
-
- <core-menu selected="0">
- <core-item icon="settings" label="Settings"></core-item>
- <core-item icon="dialog" label="Dialog"></core-item>
- <core-item icon="search" label="Search"></core-item>
- </core-menu>
-
-When an item is selected the `core-selected` class is added to it. The user can
-use the class to add more stylings to the selected item.
-
- core-item.core-selected {
- color: red;
- }
-
-The `selectedItem` property references the selected item.
-
- <core-menu selected="0" selectedItem="{{item}}">
- <core-item icon="settings" label="Settings"></core-item>
- <core-item icon="dialog" label="Dialog"></core-item>
- <core-item icon="search" label="Search"></core-item>
- </core-menu>
-
- <div>selected label: {{item.label}}</div>
-
-The `core-select` event signals selection change.
-
- <core-menu selected="0" on-core-select="{{selectAction}}">
- <core-item icon="settings" label="Settings"></core-item>
- <core-item icon="dialog" label="Dialog"></core-item>
- <core-item icon="search" label="Search"></core-item>
- </core-menu>
-
- ...
-
- selectAction: function(e, detail) {
- if (detail.isSelected) {
- var selectedItem = detail.item;
- ...
- }
- }
-
-@group Polymer Core Elements
-@element core-menu
-@extends core-selector
--->
-
-<link rel="import" href="../core-selector/core-selector.html">
-
-<link rel="stylesheet" href="core-menu.css" shim-shadowdom>
-
-<polymer-element name="core-menu" extends="core-selector" noscript></polymer-element>
« no previous file with comments | « third_party/polymer/components/core-menu/core-menu.css ('k') | third_party/polymer/components/core-menu/core-submenu.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698