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

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

Issue 1729263005: MD History: Display synced tabs history. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mdh_shared_styles
Patch Set: address_comments Created 4 years, 9 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.js
diff --git a/chrome/browser/resources/md_history/side_bar.js b/chrome/browser/resources/md_history/side_bar.js
new file mode 100644
index 0000000000000000000000000000000000000000..3446038f9251ff155e8110eaae77e48465dd722e
--- /dev/null
+++ b/chrome/browser/resources/md_history/side_bar.js
@@ -0,0 +1,16 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+Polymer({
+ is: 'history-side-bar',
+
+ /**
+ * Handles menu selection changes.
+ * @param {Event} e
+ * @private
+ */
+ onSelect_: function(e) {
+ this.fire('switch-display', {display: e.detail.item.id});
+ },
+});
« no previous file with comments | « chrome/browser/resources/md_history/side_bar.html ('k') | chrome/browser/resources/md_history/synced_device_card.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698