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

Issue 1130753007: Start axing NTP4 dead code. (Closed)

Created:
5 years, 7 months ago by Dan Beam
Modified:
5 years, 7 months ago
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, arv+watch_chromium.org, vitalyp+closure_chromium.org, estade+watch_chromium.org, pedrosimonetti+watch_chromium.org, dbeam+watch-closure_chromium.org, jungshik at Google
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Start axing NTP4 dead code. "Recently closed" is always hidden and is first on the chopping block. R=estade@chromium.org BUG=329637 Committed: https://crrev.com/7894b5557c317e6302d3dde13b28dec8c3798d46 Cr-Commit-Position: refs/heads/master@{#329937}

Patch Set 1 #

Total comments: 10

Patch Set 2 : estade/jshin review #

Total comments: 2

Patch Set 3 : estade@ review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -421 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 chunks +22 lines, -22 lines 0 comments Download
M chrome/browser/jumplist_win.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/ntp4/apps_page.js View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/ntp4/compiled_resources.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/ntp4/new_tab.css View 3 chunks +1 line, -7 lines 0 comments Download
M chrome/browser/resources/ntp4/new_tab.html View 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/resources/ntp4/new_tab.js View 3 chunks +0 lines, -14 lines 0 comments Download
D chrome/browser/resources/ntp4/recently_closed.js View 1 chunk +0 lines, -122 lines 0 comments Download
M chrome/browser/ui/cocoa/history_menu_bridge.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/frame/global_menu_bar_x11.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/app_launcher_page_ui.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_page_handler.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_ui.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache.h View 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache.cc View 3 chunks +1 line, -10 lines 0 comments Download
D chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.h View 1 chunk +0 lines, -55 lines 0 comments Download
D chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc View 1 chunk +0 lines, -162 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (5 generated)
Dan Beam
https://codereview.chromium.org/1130753007/diff/1/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc File chrome/browser/ui/webui/ntp/ntp_resource_cache.cc (left): https://codereview.chromium.org/1130753007/diff/1/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc#oldcode432 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc:432: l10n_util::GetStringUTF16(IDS_NEW_TAB_RECENTLY_CLOSED)); these are all still used from the flapjacks ...
5 years, 7 months ago (2015-05-13 23:18:01 UTC) #1
Evan Stade
https://codereview.chromium.org/1130753007/diff/1/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc File chrome/browser/ui/webui/ntp/new_tab_page_handler.cc (left): https://codereview.chromium.org/1130753007/diff/1/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc#oldcode165 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc:165: "ExtendedNewTabPage.TimeToClickRecentlyClosed", delta); ah! this is one way to verify ...
5 years, 7 months ago (2015-05-14 00:09:45 UTC) #3
Dan Beam
https://codereview.chromium.org/1130753007/diff/1/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc File chrome/browser/ui/webui/ntp/new_tab_page_handler.cc (left): https://codereview.chromium.org/1130753007/diff/1/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc#oldcode165 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc:165: "ExtendedNewTabPage.TimeToClickRecentlyClosed", delta); On 2015/05/14 00:09:44, Evan Stade wrote: > ...
5 years, 7 months ago (2015-05-14 01:09:35 UTC) #4
jungshik at Google
https://codereview.chromium.org/1130753007/diff/1/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc File chrome/browser/ui/webui/ntp/ntp_resource_cache.cc (left): https://codereview.chromium.org/1130753007/diff/1/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc#oldcode440 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc:440: l10n_util::GetStringUTF16(IDS_NEW_TAB_RECENTLY_CLOSED_WINDOW_MULTIPLE)); IDS_NEW_TAB_RECENTLY_CLOSED_WINDOW_{SINGLE,MULTIPLE} have to be removed from generated_resources.grd. My ...
5 years, 7 months ago (2015-05-14 08:02:04 UTC) #6
Evan Stade
https://codereview.chromium.org/1130753007/diff/1/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc File chrome/browser/ui/webui/ntp/new_tab_page_handler.cc (left): https://codereview.chromium.org/1130753007/diff/1/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc#oldcode160 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc:160: } else if (histogram_name == "ExtendedNewTabPage.TimeToClickMostVisited") { then this ...
5 years, 7 months ago (2015-05-14 19:04:55 UTC) #7
Dan Beam
https://codereview.chromium.org/1130753007/diff/1/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc File chrome/browser/ui/webui/ntp/new_tab_page_handler.cc (left): https://codereview.chromium.org/1130753007/diff/1/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc#oldcode160 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc:160: } else if (histogram_name == "ExtendedNewTabPage.TimeToClickMostVisited") { On 2015/05/14 ...
5 years, 7 months ago (2015-05-14 19:56:47 UTC) #8
Evan Stade
lgtm
5 years, 7 months ago (2015-05-14 20:00:13 UTC) #9
Evan Stade
https://codereview.chromium.org/1130753007/diff/40001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1130753007/diff/40001/chrome/app/generated_resources.grd#newcode12481 chrome/app/generated_resources.grd:12481: + <message name="IDS_RECENTLY_CLOSED" desc="The header title of the Recent ...
5 years, 7 months ago (2015-05-14 20:02:18 UTC) #10
Dan Beam
https://codereview.chromium.org/1130753007/diff/40001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1130753007/diff/40001/chrome/app/generated_resources.grd#newcode12481 chrome/app/generated_resources.grd:12481: + <message name="IDS_RECENTLY_CLOSED" desc="The header title of the Recent ...
5 years, 7 months ago (2015-05-14 20:48:25 UTC) #11
Dan Beam
+thestig@ for chrome/ stamp
5 years, 7 months ago (2015-05-14 20:49:40 UTC) #13
Dan Beam
thestig@: specifically Missing LGTM from an OWNER for these files: chrome/browser/jumplist_win.cc chrome/browser/ui/cocoa/history_menu_bridge.mm chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc chrome/browser/ui/views/frame/global_menu_bar_x11.cc
5 years, 7 months ago (2015-05-14 20:50:06 UTC) #14
Lei Zhang
On 2015/05/14 20:50:06, Dan Beam wrote: > thestig@: specifically > > Missing LGTM from an ...
5 years, 7 months ago (2015-05-14 20:52:29 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1130753007/60001
5 years, 7 months ago (2015-05-14 21:08:24 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:60001)
5 years, 7 months ago (2015-05-14 21:37:35 UTC) #19
commit-bot: I haz the power
5 years, 7 months ago (2015-05-14 21:38:24 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7894b5557c317e6302d3dde13b28dec8c3798d46
Cr-Commit-Position: refs/heads/master@{#329937}

Powered by Google App Engine
This is Rietveld 408576698