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

Side by Side 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 unified diff | Download patch
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <title>Settings</title> 5 <title>Settings</title>
6 <link rel="import" 6 <link rel="import"
7 href="chrome://resources/cr_elements/cr_toggle_button/cr_toggle_button.htm l"> 7 href="chrome://resources/cr_elements/cr_toggle_button/cr_toggle_button.htm l">
8 <link rel="import" href="chrome://resources/cr_elements/cr_button/cr_button.ht ml">
8 <link rel="import" 9 <link rel="import"
9 href="chrome://resources/polymer/paper-button/paper-button.html"> 10 href="chrome://resources/polymer/paper-button/paper-button.html">
11 <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.
12 section {
13 margin-top: 50px;
14 }
15 </style>
10 </head> 16 </head>
11 <body> 17 <body>
12 <header> 18 <header>
13 <h1>Settings</h1> 19 <h1>Settings</h1>
14 </header> 20 </header>
15 <div class="main"> 21 <div class="main">
16 <paper-button id="manage-button" raised>Manage</paper-button> 22 <section>
17 <cr-toggle-button checked></cr-toggle-button> 23 <h3>cr-toggle-button</h3>
24 <cr-toggle-button></cr-toggle-button>
25 <cr-toggle-button checked></cr-toggle-button>
26 </section>
27 <section>
28 <h3>cr-button</h3>
29 <cr-button>Flat button</cr-button>
30 <cr-button raised>Raised Button</cr-button>
31 </section>
18 </div> 32 </div>
19 </body> 33 </body>
20 </html> 34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698