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

Unified Diff: chrome/browser/resources/cleanup_tool/toolbar.html

Issue 2784653004: Cleanup Tool WebUI: Add HTML content and styling with dummy JS (Closed)
Patch Set: Fix broken i18n commands Created 3 years, 9 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: chrome/browser/resources/cleanup_tool/toolbar.html
diff --git a/chrome/browser/resources/cleanup_tool/toolbar.html b/chrome/browser/resources/cleanup_tool/toolbar.html
new file mode 100644
index 0000000000000000000000000000000000000000..750c2c0975bf46188191905565b009068c8859e4
--- /dev/null
+++ b/chrome/browser/resources/cleanup_tool/toolbar.html
@@ -0,0 +1,26 @@
+<link rel="import" href="chrome://resources/html/assert.html">
+<link rel="import" href="chrome://resources/html/cr.html">
+<link rel="import" href="chrome://resources/html/polymer.html">
+
+<dom-module id="cleanup-tool-toolbar">
+ <template>
+ <style>
+ :host {
+ align-items: center;
+ background: var(--md-toolbar-color);
+ color: white;
+ display: flex;
+ min-height: 56px;
+ }
+
+ #page-title {
+ font-size: 16px;
Dan Beam 2017/04/04 00:00:00 can you use %, em, or rem instead of px for font-s
proberge 2017/04/04 16:10:04 Done.
+ overflow: hidden;
+ padding-left: 18px;
Dan Beam 2017/04/04 00:00:00 -left doesn't work in RTL, can you use -webkit-pad
proberge 2017/04/04 16:10:03 Good catch, thanks!
+ white-space: nowrap;
+ }
+ </style>
+ <div id="page-title" i18n-content="title"></div>
Dan Beam 2017/04/04 00:00:00 can you just use <div id="page-title">$i18n{title}
proberge 2017/04/04 16:10:06 Done.
+ </template>
+ <script src="chrome://cleanup/toolbar.js"></script>
+</dom-module>

Powered by Google App Engine
This is Rietveld 408576698