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

Unified Diff: third_party/polymer/components-chromium/core-scroll-header-panel/demos/sample-content.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-scroll-header-panel/demos/sample-content.html
diff --git a/third_party/polymer/components-chromium/core-scroll-header-panel/demos/sample-content.html b/third_party/polymer/components-chromium/core-scroll-header-panel/demos/sample-content.html
deleted file mode 100644
index 4e0099238e722d75036bdf5b031c24479537b7d1..0000000000000000000000000000000000000000
--- a/third_party/polymer/components-chromium/core-scroll-header-panel/demos/sample-content.html
+++ /dev/null
@@ -1,62 +0,0 @@
-<!--
- @license
- 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
--->
-<polymer-element name="sample-content" attributes="size">
-<script>
-
- (function() {
-
- var strings = [
- 'Lorem ipsum dolor sit amet, per in nusquam nominavi periculis, sit elit oportere ea.',
- 'Ut labores minimum atomorum pro. Laudem tibique ut has.',
- 'Fugit adolescens vis et, ei graeci forensibus sed.',
- 'Convenire definiebas scriptorem eu cum. Sit dolor dicunt consectetuer no.',
- 'Ea duis bonorum nec, falli paulo aliquid ei eum.',
- 'Usu eu novum principes, vel quodsi aliquip ea.',
- 'Has at minim mucius aliquam, est id tempor laoreet.',
- 'Pro saepe pertinax ei, ad pri animal labores suscipiantur.',
- 'Detracto suavitate repudiandae no eum. Id adhuc minim soluta nam.',
- 'Iisque perfecto dissentiet cum et, sit ut quot mandamus, ut vim tibique splendide instructior.',
- 'Id nam odio natum malorum, tibique copiosae expetenda mel ea.',
- 'Cu mei vide viris gloriatur, at populo eripuit sit.',
- 'Modus commodo minimum eum te, vero utinam assueverit per eu.',
- 'No nam ipsum lorem aliquip, accumsan quaerendum ei usu.'
- ];
-
- function randomString() {
- return strings[Math.floor(Math.random() * strings.length)];
- }
-
- function randomLetter() {
- return String.fromCharCode(65 + Math.floor(Math.random() * 26));
- }
-
- Polymer('sample-content', {
-
- size: 0,
-
- sizeChanged: function() {
- this.innerHTML = '';
- for (var i = 0; i < this.size; i++) {
- this.innerHTML +=
- '<div style="border: 1px solid #bebebe; padding: 16px; margin: 16px; border-radius: 5px; background-color: #fff; color: #555;">' +
- '<div style="display: inline-block; height: 64px; width: 64px; border-radius: 50%; background: #ddd; line-height: 64px; font-size: 30px; color: #666; text-align: center;">'+ randomLetter() + '</div>' +
- '<div style="font-size: 22px; padding: 8px 0 16px; color: #888;">' + randomString() + '</div>' +
- '<div style="font-size: 16px; padding-bottom: 8px;">' + randomString() + '</div>' +
- '<div style="font-size: 12px;">' + randomString() + '</div>' +
- '<div style="font-size: 12px;">' + randomString() + '</div>' +
- '</div>';
- }
- }
-
- });
- })();
-
-</script>
-</polymer-element>

Powered by Google App Engine
This is Rietveld 408576698