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

Issue 2318643003: MD History: truncate title to 300 chars in C++ instead of JS (Closed)

Created:
4 years, 3 months ago by Dan Beam
Modified:
4 years, 3 months ago
Reviewers:
tsergeant, sky
CC:
chromium-reviews, Patrick Dubroy, michaelpg+watch-md-ui_chromium.org, dbeam+watch-history_chromium.org, pam+watch_chromium.org, arv+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD History: truncate title to 300 chars in C++ instead of JS Potentially communicates less data over IPC, lets the UI do less work. R=tsergeant@chromium.org BUG=621347, 629710 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/c9a774fad351d0f7a648af4be7c7ad82e06b7a62 Cr-Commit-Position: refs/heads/master@{#416961}

Patch Set 1 #

Patch Set 2 : tests and fixes #

Patch Set 3 : !android #

Patch Set 4 : !android in tests as well #

Total comments: 2

Patch Set 5 : test fix #

Patch Set 6 : more !android #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -109 lines) Patch
M chrome/browser/history/history_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/md_history/app.crisper.js View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/resources/md_history/app.vulcanized.html View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/md_history/constants.js View 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/resources/md_history/history_item.html View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/md_history/history_item.js View 1 2 3 4 5 1 chunk +0 lines, -12 lines 0 comments Download
M chrome/browser/ui/find_bar/find_bar_host_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/browsing_history_handler.h View 1 3 chunks +11 lines, -7 lines 0 comments Download
M chrome/browser/ui/webui/browsing_history_handler.cc View 1 2 7 chunks +69 lines, -51 lines 0 comments Download
M chrome/browser/ui/webui/browsing_history_handler_unittest.cc View 1 2 3 4 5 5 chunks +44 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/log_web_ui_url_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/md_history_ui.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/md_history_ui.cc View 1 2 3 4 5 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/uber/uber_ui_browsertest.cc View 1 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/test/data/webui/md_history/history_item_test.js View 1 1 chunk +0 lines, -10 lines 0 comments Download

Messages

Total messages: 39 (30 generated)
Dan Beam
4 years, 3 months ago (2016-09-06 19:02:05 UTC) #5
tsergeant
lgtm https://codereview.chromium.org/2318643003/diff/60001/chrome/browser/ui/webui/browsing_history_handler.cc File chrome/browser/ui/webui/browsing_history_handler.cc (right): https://codereview.chromium.org/2318643003/diff/60001/chrome/browser/ui/webui/browsing_history_handler.cc#newcode16 chrome/browser/ui/webui/browsing_history_handler.cc:16: #include "base/logging.h" Nit: Can this be removed?
4 years, 3 months ago (2016-09-06 23:28:25 UTC) #17
Dan Beam
https://codereview.chromium.org/2318643003/diff/60001/chrome/browser/ui/webui/browsing_history_handler.cc File chrome/browser/ui/webui/browsing_history_handler.cc (right): https://codereview.chromium.org/2318643003/diff/60001/chrome/browser/ui/webui/browsing_history_handler.cc#newcode16 chrome/browser/ui/webui/browsing_history_handler.cc:16: #include "base/logging.h" On 2016/09/06 23:28:25, tsergeant wrote: > Nit: ...
4 years, 3 months ago (2016-09-06 23:30:22 UTC) #18
Dan Beam
+sky@ for chrome/browser/ui/find_bar, chrome/browser/history
4 years, 3 months ago (2016-09-07 04:44:04 UTC) #26
sky
LGTM
4 years, 3 months ago (2016-09-07 15:14:54 UTC) #31
Dan Beam
On 2016/09/07 15:14:54, sky wrote: > LGTM thanks for the review, y'all!
4 years, 3 months ago (2016-09-07 16:32:03 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2318643003/100001
4 years, 3 months ago (2016-09-07 16:32:39 UTC) #35
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 3 months ago (2016-09-07 16:39:28 UTC) #37
commit-bot: I haz the power
4 years, 3 months ago (2016-09-07 16:41:33 UTC) #39
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/c9a774fad351d0f7a648af4be7c7ad82e06b7a62
Cr-Commit-Position: refs/heads/master@{#416961}

Powered by Google App Engine
This is Rietveld 408576698