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

Unified Diff: third_party/polymer/vulcanized/polymer-elements.html

Issue 236733003: Remove the need for <polymer-selector> in the PDF plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/vulcanized/polymer-elements.html
diff --git a/third_party/polymer/vulcanized/polymer-elements.html b/third_party/polymer/vulcanized/polymer-elements.html
deleted file mode 100644
index ed330f83816f61de9b34f944884caeff2f08addf..0000000000000000000000000000000000000000
--- a/third_party/polymer/vulcanized/polymer-elements.html
+++ /dev/null
@@ -1,175 +0,0 @@
-<polymer-element name="polymer-body" extends="body" assetpath="../polymer/">
-
-
-
-</polymer-element>
-<!--
- Copyright 2013 The Polymer Authors. All rights reserved.
- Use of this source code is governed by a BSD-style
- license that can be found in the LICENSE file.
--->
-
-<!-- <link rel="import" href="../polymer-dev/polymer.html"> -->
-
-<!--
-Copyright 2013 The Polymer Authors. All rights reserved.
-Use of this source code is governed by a BSD-style
-license that can be found in the LICENSE file.
--->
-<!--
-/**
- * @module Polymer Elements
- */
--->
-<!--
-/**
- * The polymer-selection element is used to manage selection state. It has no
- * visual appearance and is typically used in conjuneciton with another element.
- * For example, <a href="polymer-selector.html">polymer-selector</a>
- * use a polymer-selection to manage selection.
- *
- * To mark an item as selected, call the select(item) method on
- * polymer-selection. Notice that the item itself is an argument to this method.
- * The polymer-selection element manages selection state for any given set of
- * items. When an item is selected, the `polymer-select` event is fired.
- * The attribute "multi" indicates if multiple items can be selected at once.
- *
- * Example:
- *
- * <polymer-element name="selection-example">
- * <template>
- * <style>
- * ::-webkit-distributed(> .selected) {
- * font-weight: bold;
- * font-style: italic;
- * }
- * </style>
- * <ul on-tap="{{itemTapAction}}">
- * <content></content>
- * </ul>
- * <polymer-selection id="selection" multi on-polymer-select="{{selectAction}}"></polymer-selection>
- * </template>
- * <script>
- * Polymer('selection-example', {
- * itemTapAction: function(e) {
- * this.$.selection.select(e.target);
- * },
- * selectAction: function(e, detail) {
- * detail.item.classList.toggle('selected', detail.isSelected);
- * }
- * });
- * </script>
- * </polymer-element>
- *
- * <selection-example>
- * <li>Red</li>
- * <li>Green</li>
- * <li>Blue</li>
- * </selection-example>
- *
- * @class polymer-selection
- */
- /**
- * Fired when an item's selection state is changed. This event is fired both
- * when an item is selected or deselected. The `isSelected` detail property
- * contains the selection state.
- *
- * @event polymer-select
- * @param {Object} detail
- * @param {boolean} detail.isSelected true for selection and false for deselection
- * @param {Object} detail.item the item element
- */
--->
-
-
-<polymer-element name="polymer-selection" attributes="multi" assetpath="../polymer-selection/">
- <template>
- <style>
- :host {
- display: none !important;
- }
- </style>
- </template>
-
-</polymer-element>
-
-<!--
-Copyright 2013 The Polymer Authors. All rights reserved.
-Use of this source code is governed by a BSD-style
-license that can be found in the LICENSE file.
--->
-<!--
-/**
- * @module Polymer Elements
- */
-/**
- * polymer-selector is used to manage a list of elements that can be selected.
- * The attribute "selected" indicates which item element is being selected.
- * The attribute "multi" indicates if multiple items can be selected at once.
- * Tapping on the item element would fire "polymer-activate" event. Use
- * "polymer-select" event to listen for selection changes.
- *
- * Example:
- *
- * <polymer-selector selected="0">
- * <div>Item 1</div>
- * <div>Item 2</div>
- * <div>Item 3</div>
- * </polymer-selector>
- *
- * polymer-selector is not styled. So one needs to use "polymer-selected" CSS
- * class to style the selected element.
- *
- * <style>
- * .item.polymer-selected {
- * background: #eee;
- * }
- * </style>
- * ...
- * <polymer-selector>
- * <div class="item">Item 1</div>
- * <div class="item">Item 2</div>
- * <div class="item">Item 3</div>
- * </polymer-selector>
- *
- * @class polymer-selector
- * @status stable
- */
-/**
- * Fired when an item's selection state is changed. This event is fired both
- * when an item is selected or deselected. The `isSelected` detail property
- * contains the selection state.
- *
- * @event polymer-select
- * @param {Object} detail
- * @param {boolean} detail.isSelected true for selection and false for deselection
- * @param {Object} detail.item the item element
- */
-/**
- * Fired when an item element is tapped.
- *
- * @event polymer-activate
- * @param {Object} detail
- * @param {Object} detail.item the item element
- */
--->
-
-
-
-<polymer-element name="polymer-selector" attributes="selected multi valueattr selectedClass selectedProperty selectedAttribute selectedItem selectedModel selectedIndex notap target itemsSelector activateEvent" assetpath="../polymer-selector/">
- <template>
- <polymer-selection id="selection" multi="{{multi}}" on-polymer-select="{{selectionSelect}}"></polymer-selection>
- <content id="items" select="*"></content>
- </template>
-
-</polymer-element>
-<!-- WARNING: DO NOT modify polymer-elements.html/polymer-elements.js. They
- are automatically generated from polymer-elements.in.html using
- vulcanize.py. -->
-
-<!-- Include all library elements here that should be vulcanized down to a
- single html/js file. -->
-
-
-<script src="polymer-elements.js"></script>
-
« no previous file with comments | « third_party/polymer/polymer-selector/test/runner.html ('k') | third_party/polymer/vulcanized/polymer-elements.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698