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

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

Issue 1736733003: MD Settings: Custom expand/collapse section animations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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/history_item.js
diff --git a/chrome/browser/resources/md_history/history_item.js b/chrome/browser/resources/md_history/history_item.js
index 570696cc155c79de2c3e08fe6532a2c63bf10faf..71b8ac8dc451009c8feaf005aecaa5eef57c39aa 100644
--- a/chrome/browser/resources/md_history/history_item.js
+++ b/chrome/browser/resources/md_history/history_item.js
@@ -72,7 +72,7 @@ Polymer({
onMenuButtonTap_: function(e) {
this.fire('toggle-menu', {
target: Polymer.dom(e).localTarget,
- timestamp: this.timestamp,
+ timestamp: 2,//this.timestamp,
Dan Beam 2016/03/16 00:23:14 wat
michaelpg 2016/03/16 03:11:15 lol oops
});
// Stops the 'tap' event from closing the menu when it opens.
@@ -133,7 +133,7 @@ Polymer({
*/
cardTitle_: function(numberOfItems, historyDate, search) {
if (!search)
- return this.item.dateRelativeDay;
+ return 'blah';//this.item.dateRelativeDay;
Dan Beam 2016/03/16 00:23:14 wut
michaelpg 2016/03/16 03:11:15 Done.
var resultId = numberOfItems == 1 ? 'searchResult' : 'searchResults';
return loadTimeData.getStringF('foundSearchResults', numberOfItems,

Powered by Google App Engine
This is Rietveld 408576698