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

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

Issue 1648803003: MD History: Drop-down menu allows searching for history-items by domain name. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@search_functionality
Patch Set: Address reviewer comments and small fixes. 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/history_item.js
diff --git a/chrome/browser/resources/md_history/history_item.js b/chrome/browser/resources/md_history/history_item.js
index a12844bbb8c0dab280e3c6094ea1c4ca7eb88fcc..d2c70e9096a5ea9ddc0fa53bc67f7c6080a1bb8d 100644
--- a/chrome/browser/resources/md_history/history_item.js
+++ b/chrome/browser/resources/md_history/history_item.js
@@ -93,7 +93,11 @@ Polymer({
this.fire('toggle-menu', {
x: position.left,
y: position.top,
- accessTime: this.timestamp_
+ itemIdentifier: {
+ url: this.websiteUrl_,
+ timestamps: this.timestamp_,
+ domain: this.websiteDomain_
+ }
});
// Stops the 'tap' event from closing the menu when it opens.

Powered by Google App Engine
This is Rietveld 408576698