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

Unified Diff: chrome/browser/resources/md_history/side_bar.html

Issue 1607403004: MD History: Display synced tabs history (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@second_patch
Patch Set: Changed switching between pages & addressed comments Created 4 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_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..3296b948fb646bc8e15edba01547a75a89a7b389
--- /dev/null
+++ b/chrome/browser/resources/md_history/side_bar.html
@@ -0,0 +1,50 @@
+<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;
+ }
+
+ .selected {
+ cursor: default;
calamity 2016/02/11 00:23:31 I think it makes sense to have the same cursor for
yingran 2016/02/11 02:06:36 Done.
+ }
+
+ .selected p {
+ color: #47d;
+ }
+ </style>
+ <div id="navigation-menu">
+ <div on-tap="changeDisplay" id="history-button"
+ class="nav-button selected">
+ <p i18n-content="title"></p>
+ <paper-ripple></paper-ripple>
+ </div>
+ <div on-tap="changeDisplay" id="synced-tabs-button" class="nav-button">
+ <p>Open Tabs</p>
+ <paper-ripple></paper-ripple>
+ </div>
+ </div>
+ </template>
+ <script src="chrome://history/side_bar.js"></script>
+</dom-module>

Powered by Google App Engine
This is Rietveld 408576698