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

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: Remove unnecessary role. 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 d31d179a694878129f07f34269c174f9c982231e..1c706a35c4049f735e9fd86670e91ef8933c57fc 100644
--- a/chrome/browser/resources/md_settings/md_settings.html
+++ b/chrome/browser/resources/md_settings/md_settings.html
@@ -7,17 +7,31 @@
href="chrome://resources/cr_elements/cr_checkbox/cr_checkbox.html">
<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">
+ <link rel="stylesheet" href="md_settings.css">
</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>
- <cr-checkbox checked></cr-checkbox>
+ <section>
+ <h3>cr-toggle-button</h3>
+ <cr-toggle-button></cr-toggle-button>
+ <cr-toggle-button checked></cr-toggle-button>
+ </section>
+ <section>
+ <h3>cr-checkbox</h3>
+ <cr-checkbox></cr-checkbox>
+ <cr-checkbox checked></cr-checkbox>
+ </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