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

Unified Diff: chrome/browser/resources/md_settings/md_settings.html

Issue 939533002: Add a cr-button element, a thin wrapper around paper-button. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/md_settings/md_settings.html
diff --git a/chrome/browser/resources/md_settings/md_settings.html b/chrome/browser/resources/md_settings/md_settings.html
index 0211effaabf3b3f766bd6803d2356c7abae6dd07..8bbdf9b1747c1ed74e35494fd5e9571e17db6799 100644
--- a/chrome/browser/resources/md_settings/md_settings.html
+++ b/chrome/browser/resources/md_settings/md_settings.html
@@ -5,16 +5,30 @@
<title>Settings</title>
<link rel="import"
href="chrome://resources/cr_elements/cr_toggle_button/cr_toggle_button.html">
+ <link rel="import" href="chrome://resources/cr_elements/cr_button/cr_button.html">
<link rel="import"
href="chrome://resources/polymer/paper-button/paper-button.html">
+ <style type="text/css">
michaelpg 2015/02/19 00:20:17 Let's add md_settings.css.
Jeremy Klein 2015/02/20 23:20:33 Done.
+ section {
+ margin-top: 50px;
+ }
+ </style>
</head>
<body>
<header>
<h1>Settings</h1>
</header>
<div class="main">
- <paper-button id="manage-button" raised>Manage</paper-button>
- <cr-toggle-button checked></cr-toggle-button>
+ <section>
+ <h3>cr-toggle-button</h3>
+ <cr-toggle-button></cr-toggle-button>
+ <cr-toggle-button checked></cr-toggle-button>
+ </section>
+ <section>
+ <h3>cr-button</h3>
+ <cr-button>Flat button</cr-button>
+ <cr-button raised>Raised Button</cr-button>
+ </section>
</div>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698