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

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: Merged but tests not working everything else SEEMS ok 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..e09c6741ded818558a78d0cd0e849d5b5c3074e3
--- /dev/null
+++ b/chrome/browser/resources/md_history/side_bar.html
@@ -0,0 +1,46 @@
+<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 p {
+ color: rgb(68, 119, 221);
+ }
+ </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>
« no previous file with comments | « chrome/browser/resources/md_history/shared_style.html ('k') | chrome/browser/resources/md_history/side_bar.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698