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

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

Issue 2119113002: MD History: Fix item sizing in small windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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 7cdc1d1283772caade9efeb0a9a8df375a4bf592..27c576f2a82a8fc720c2d6d538e2bc7e9ea8f2b0 100644
--- a/chrome/browser/resources/md_history/history_item.js
+++ b/chrome/browser/resources/md_history/history_item.js
@@ -25,6 +25,10 @@ cr.define('md_history', function() {
isCardEnd: {type: Boolean, reflectToAttribute: true},
+ // True if the item is being displayed embedded in another element and
+ // should not manage its own borders or size.
+ embedded: {type: Boolean, reflectToAttribute: true},
+
hasTimeGap: {type: Boolean},
numberOfItems: {type: Number}
« no previous file with comments | « chrome/browser/resources/md_history/history_item.html ('k') | chrome/browser/resources/md_history/shared_style.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698