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

Unified Diff: third_party/polymer/components/core-icon-button/demo.html

Issue 582873003: 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-icon-button/demo.html
diff --git a/third_party/polymer/core-component-page/demo.html b/third_party/polymer/components/core-icon-button/demo.html
similarity index 58%
rename from third_party/polymer/core-component-page/demo.html
rename to third_party/polymer/components/core-icon-button/demo.html
index 1f5a7b025cc7856c7a3e712e4d72116314c182b1..becd7fb319c796c2f8cca8f212c39db17cfd1008 100644
--- a/third_party/polymer/core-component-page/demo.html
+++ b/third_party/polymer/components/core-icon-button/demo.html
@@ -9,15 +9,27 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
-->
<html>
<head>
-
+ <title>core-icon-button</title>
+
<script src="../platform/platform.js"></script>
- <link rel="import" href="../polymer/polymer.html">
- <link rel="import" href="core-component-page.html">
-
+
+ <link rel="import" href="core-icon-button.html">
+ <style>
+ </style>
+
</head>
+
<body unresolved>
- <core-component-page></core-component-page>
+
+<template is="auto-binding">
+ <template repeat="{{icon in $.meta.metaData.icons.iconNames}}">
+ <core-icon-button icon="{{icon}}" title="{{icon}}"></core-icon-button>
+ </template>
+ <core-icon-button icon="menu"><span>label</span></core-icon-button>
+ </div>
+ <core-iconset id="meta"></core-iconset>
+</template>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698