Chromium Code Reviews| Index: chrome/browser/resources/md_history/side_bar.html |
| diff --git a/chrome/browser/resources/md_history/side_bar.html b/chrome/browser/resources/md_history/side_bar.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6d0a19401405c63f9b7c558598db23518a4ea18e |
| --- /dev/null |
| +++ b/chrome/browser/resources/md_history/side_bar.html |
| @@ -0,0 +1,41 @@ |
| +<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> |
| +<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout.html"> |
| +<link rel="import" href="chrome://resources/polymer/v1_0/paper-ripple/paper-ripple.html"> |
| + |
| +<dom-module id="side-bar"> |
| + <template> |
| + <style> |
| + #navigation-menu { |
| + padding-top: 5px; |
| + width: 200px; |
| + } |
| + |
| + .nav-button { |
| + @apply(--layout-center); |
| + @apply(--layout-horizontal); |
| + cursor: pointer; |
| + height: 48px; |
| + position: relative; |
| + } |
| + |
| + p { |
| + -webkit-padding-start: 25px; |
| + color: #333; |
| + font-size: 14px; |
| + font-weight: 500; |
| + margin: 0; |
| + } |
| + </style> |
| + <div id="navigation-menu"> |
| + <div on-tap="showHistory" id="history-button" class="nav-button"> |
| + <p id="history">History</p> |
| + <paper-ripple></paper-ripple> |
| + </div> |
| + <div on-tap="showSyncedTabs" id="tab-button" class="nav-button"> |
|
calamity
2016/02/02 04:09:47
synced-tabs-button?
yingran
2016/02/09 04:21:34
Done.
|
| + <p id="synced-tabs">Open Tabs</p> |
|
calamity
2016/02/02 04:09:47
These text elements shouldn't need ids.
yingran
2016/02/09 04:21:34
Done.
|
| + <paper-ripple></paper-ripple> |
| + </div> |
| + </div> |
| + </template> |
| + <script src="chrome://history/side_bar.js"></script> |
| +</dom-module> |