Index: chrome/browser/resources/md_history/constants.js |
diff --git a/chrome/browser/resources/md_history/constants.js b/chrome/browser/resources/md_history/constants.js |
index 4dd681041832f0e18a5788759cc0811a0fcb43cf..ed4010737ecea9e07544907491cbe26a5b921530 100644 |
--- a/chrome/browser/resources/md_history/constants.js |
+++ b/chrome/browser/resources/md_history/constants.js |
@@ -13,6 +13,14 @@ |
var BROWSING_GAP_TIME = 15 * 60 * 1000; |
/** |
+ * Maximum length of a history item title. Anything longer than this will be |
+ * cropped to fit within this limit. This value is large enough that it will not |
+ * be noticeable in a 960px wide history-item. |
+ * @const |
+ */ |
+var TITLE_MAX_LENGTH = 300; |
+ |
+/** |
* @enum {number} |
*/ |
var HistoryRange = { |