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

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

Issue 2318643003: MD History: truncate title to 300 chars in C++ instead of JS (Closed)
Patch Set: more !android Created 4 years, 3 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/constants.js
diff --git a/chrome/browser/resources/md_history/constants.js b/chrome/browser/resources/md_history/constants.js
index 5ae44b61e0c102b874605467dd009bcbd8d233d9..70ffaa4ae58dc450e8717fdb416c51535814b854 100644
--- a/chrome/browser/resources/md_history/constants.js
+++ b/chrome/browser/resources/md_history/constants.js
@@ -13,14 +13,6 @@
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;
-
-/**
* The largest bucket value for UMA histogram, based on entry ID. All entries
* with IDs greater than this will be included in this bucket.
* @const
« no previous file with comments | « chrome/browser/resources/md_history/app.vulcanized.html ('k') | chrome/browser/resources/md_history/history_item.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698