Chromium Code Reviews| Index: chrome/browser/resources/pdf/elements/page-selector/page-selector.html |
| diff --git a/chrome/browser/resources/pdf/elements/page-selector/page-selector.html b/chrome/browser/resources/pdf/elements/page-selector/page-selector.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ea91690906750126417e3beb0eb738f464820bad |
| --- /dev/null |
| +++ b/chrome/browser/resources/pdf/elements/page-selector/page-selector.html |
| @@ -0,0 +1,11 @@ |
| +<link rel="import" href="chrome://resources/polymer/polymer/polymer.html"> |
| +<link rel="import" href="chrome://resources/polymer/paper-input/paper-input.html"> |
| + |
| +<polymer-element name="page-selector" attributes="pageNo docLength chosenPageNo"> |
|
benwells
2015/01/27 02:01:41
Is there no line length limit in html?
Alexandre Carlton
2015/01/27 04:04:54
The Google style guide doesn't specify anything ab
|
| +<template> |
|
benwells
2015/01/27 02:10:56
Should this template tag and the script tag be ind
Alexandre Carlton
2015/01/27 04:04:54
Other viewer-elements (e.g. viewer-button.html) do
benwells
2015/01/27 04:54:51
Ah. Another change of yours I think I just lg'd ha
Alexandre Carlton
2015/01/27 05:34:50
That was in Issue 864753002, I'll fix that now.
|
| + <link rel="stylesheet" href="page-selector.css"> |
| + <paper-input value="{{pageNo}}" committedValue="{{chosenPageNo}}" id="pageselector"></paper-input> |
|
benwells
2015/01/27 02:01:41
Same here. Is this valid html style?
|
| + <span id="pagelength">/ {{docLength}}</span> |
| +</template> |
| +<script src="page-selector.js"></script> |
| +</polymer-element> |