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

Issue 1129903008: NTP Zombie Code Slayer Part IV: Most Visited (Closed)

Created:
5 years, 7 months ago by Dan Beam
Modified:
5 years, 7 months ago
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, extensions-reviews_chromium.org, donnd+watch_chromium.org, melevin+watch_chromium.org, kmadhusu+watch_chromium.org, dhollowa+watch_chromium.org, vitalyp+closure_chromium.org, jlklein+watch-closure_chromium.org, jfweitz+watch_chromium.org, David Black, arv+watch_chromium.org, samarth+watch_chromium.org, chromium-apps-reviews_chromium.org, dbeam+watch-closure_chromium.org, skanuj+watch_chromium.org, dougw+watch_chromium.org, Jered, pedrosimonetti+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

NTP Zombie Code Slayer Part IV: Most Visited This is where things get complicated. NTP4 had a most visited pane. It showed your top sites. So does the current NTP; so I'm trying to remove everything that deals with most visited tiles on NTP4 without accidentally breaking the same named thing on the current NTP. Here's what used to exist that I'm trying to remove: http://bostandjiev.com/Content/Google/chrome.jpg Here's what currently exists that I'm trying not to break: http://cdn.ghacks.net/wp-content/uploads/2013/04/chrome-new-tab-page.jpg BUG=329637 Committed: https://crrev.com/8d57a0152613119d7e6369838fd5838fb7773e68 Cr-Commit-Position: refs/heads/master@{#330910}

Patch Set 1 #

Total comments: 2

Patch Set 2 : revert copyright #

Patch Set 3 : and remove WEB_UI_UNITTEST_F #

Total comments: 3

Patch Set 4 : merge #

Patch Set 5 : pref registration #

Total comments: 6

Patch Set 6 : asdf #

Patch Set 7 : android fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -1434 lines) Patch
M chrome/browser/android/new_tab_page_prefs.cc View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/history/DEPS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/history/top_sites_factory.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/history/top_sites_factory.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/ntp4/apps_page.js View 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/resources/ntp4/compiled_resources.gyp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
D chrome/browser/resources/ntp4/most_visited_page.css View 1 chunk +0 lines, -186 lines 0 comments Download
D chrome/browser/resources/ntp4/most_visited_page.js View 1 chunk +0 lines, -495 lines 0 comments Download
M chrome/browser/resources/ntp4/new_tab.html View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/resources/ntp4/new_tab.js View 1 2 3 4 5 7 chunks +1 line, -48 lines 0 comments Download
M chrome/browser/resources/ntp4/new_tab_theme.css View 1 chunk +0 lines, -12 lines 0 comments Download
M chrome/browser/resources/ntp4/page_list_view.js View 1 2 3 4 6 chunks +9 lines, -43 lines 0 comments Download
M chrome/browser/search/instant_service.cc View 2 chunks +1 line, -1 line 0 comments Download
A + chrome/browser/search/thumbnail_source.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + chrome/browser/search/thumbnail_source.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
D chrome/browser/ui/webui/ntp/most_visited_browsertest.cc View 1 chunk +0 lines, -29 lines 0 comments Download
D chrome/browser/ui/webui/ntp/most_visited_handler.h View 1 chunk +0 lines, -120 lines 0 comments Download
D chrome/browser/ui/webui/ntp/most_visited_handler.cc View 1 chunk +0 lines, -294 lines 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_page_handler.h View 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_page_handler.cc View 3 chunks +0 lines, -24 lines 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_ui.cc View 1 2 3 3 chunks +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache.h View 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache.cc View 1 2 3 2 chunks +0 lines, -12 lines 0 comments Download
D chrome/browser/ui/webui/ntp/thumbnail_source.h View 1 chunk +0 lines, -65 lines 0 comments Download
D chrome/browser/ui/webui/ntp/thumbnail_source.cc View 1 chunk +0 lines, -66 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome/test/base/web_ui_browser_test.h View 1 2 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 43 (16 generated)
Dan Beam
depends on episode III: https://codereview.chromium.org/1140813003/ huangs@: chrome/browser/search (and as FYI) estade@: everything else
5 years, 7 months ago (2015-05-16 01:37:47 UTC) #2
Dan Beam
actually, -huangs@, +samarth@ for fuller approval (and huangs@ is out on Monday)
5 years, 7 months ago (2015-05-16 01:54:33 UTC) #4
samarth
lgtm for c/b/search https://codereview.chromium.org/1129903008/diff/1/chrome/browser/search/thumbnail_source.cc File chrome/browser/search/thumbnail_source.cc (right): https://codereview.chromium.org/1129903008/diff/1/chrome/browser/search/thumbnail_source.cc#newcode1 chrome/browser/search/thumbnail_source.cc:1: // Copyright 2015 The Chromium Authors. ...
5 years, 7 months ago (2015-05-18 16:41:53 UTC) #5
Dan Beam
+rdevlin.cronin@ for chrome/browser/extensions https://codereview.chromium.org/1129903008/diff/1/chrome/browser/search/thumbnail_source.cc File chrome/browser/search/thumbnail_source.cc (right): https://codereview.chromium.org/1129903008/diff/1/chrome/browser/search/thumbnail_source.cc#newcode1 chrome/browser/search/thumbnail_source.cc:1: // Copyright 2015 The Chromium Authors. ...
5 years, 7 months ago (2015-05-18 17:45:24 UTC) #7
Dan Beam
+sky@ for chrome/test/base macro removal (now unused)
5 years, 7 months ago (2015-05-18 17:51:25 UTC) #9
Dan Beam
-estade@, +xiyuan@ for chrome/browser/resources, chrome/browser/ui/webui
5 years, 7 months ago (2015-05-18 19:57:25 UTC) #12
xiyuan
https://codereview.chromium.org/1129903008/diff/40001/chrome/browser/resources/ntp4/page_list_view.js File chrome/browser/resources/ntp4/page_list_view.js (right): https://codereview.chromium.org/1129903008/diff/40001/chrome/browser/resources/ntp4/page_list_view.js#newcode172 chrome/browser/resources/ntp4/page_list_view.js:172: assert(loadTimeData.getBoolean('showApps')); ChromeOS (and Win8 metro) does not show apps ...
5 years, 7 months ago (2015-05-18 20:29:13 UTC) #13
sky
chrome/test/base/web_ui_browser_test.h LGTM
5 years, 7 months ago (2015-05-18 21:36:51 UTC) #14
Devlin
chrome/browser/extensions/extension_service.cc lgtm. Feel free to TBR simple #include changes, if you like. :)
5 years, 7 months ago (2015-05-19 15:56:14 UTC) #15
Dan Beam
https://codereview.chromium.org/1129903008/diff/40001/chrome/browser/resources/ntp4/page_list_view.js File chrome/browser/resources/ntp4/page_list_view.js (right): https://codereview.chromium.org/1129903008/diff/40001/chrome/browser/resources/ntp4/page_list_view.js#newcode172 chrome/browser/resources/ntp4/page_list_view.js:172: assert(loadTimeData.getBoolean('showApps')); On 2015/05/18 20:29:12, xiyuan wrote: > ChromeOS (and ...
5 years, 7 months ago (2015-05-19 17:11:12 UTC) #16
xiyuan
lgtm https://codereview.chromium.org/1129903008/diff/40001/chrome/browser/resources/ntp4/page_list_view.js File chrome/browser/resources/ntp4/page_list_view.js (right): https://codereview.chromium.org/1129903008/diff/40001/chrome/browser/resources/ntp4/page_list_view.js#newcode172 chrome/browser/resources/ntp4/page_list_view.js:172: assert(loadTimeData.getBoolean('showApps')); On 2015/05/19 17:11:12, Dan Beam wrote: > ...
5 years, 7 months ago (2015-05-19 17:13:01 UTC) #17
Dan Beam
+gab@ for components/pref_registry DEPS addition to chrome/browser/history/DEPS
5 years, 7 months ago (2015-05-19 21:25:47 UTC) #19
sky
history changes LGTM - Can you elaborate on why the pages get most visited in ...
5 years, 7 months ago (2015-05-19 21:33:36 UTC) #20
Dan Beam
On 2015/05/19 21:33:36, sky wrote: > history changes LGTM - Can you elaborate on why ...
5 years, 7 months ago (2015-05-19 21:51:31 UTC) #21
beaudoin
On 2015/05/19 21:51:31, Dan Beam wrote: > On 2015/05/19 21:33:36, sky wrote: > > history ...
5 years, 7 months ago (2015-05-20 18:53:06 UTC) #25
gab
https://codereview.chromium.org/1129903008/diff/80001/chrome/browser/history/top_sites_factory.h File chrome/browser/history/top_sites_factory.h (right): https://codereview.chromium.org/1129903008/diff/80001/chrome/browser/history/top_sites_factory.h#newcode50 chrome/browser/history/top_sites_factory.h:50: void RegisterProfilePrefs( Where is this called from? I don't ...
5 years, 7 months ago (2015-05-20 18:58:49 UTC) #26
Dan Beam
https://codereview.chromium.org/1129903008/diff/80001/chrome/browser/history/top_sites_factory.h File chrome/browser/history/top_sites_factory.h (right): https://codereview.chromium.org/1129903008/diff/80001/chrome/browser/history/top_sites_factory.h#newcode50 chrome/browser/history/top_sites_factory.h:50: void RegisterProfilePrefs( On 2015/05/20 18:58:49, gab wrote: > Where ...
5 years, 7 months ago (2015-05-20 19:16:00 UTC) #27
gab
On 2015/05/20 19:16:00, Dan Beam wrote: > https://codereview.chromium.org/1129903008/diff/80001/chrome/browser/history/top_sites_factory.h > File chrome/browser/history/top_sites_factory.h (right): > > https://codereview.chromium.org/1129903008/diff/80001/chrome/browser/history/top_sites_factory.h#newcode50 ...
5 years, 7 months ago (2015-05-20 19:18:07 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129903008/100001
5 years, 7 months ago (2015-05-20 21:29:50 UTC) #31
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 7 months ago (2015-05-20 23:43:24 UTC) #32
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/1fc345cd960f7efd4e6b07d1f050615239d82d60 Cr-Commit-Position: refs/heads/master@{#330845}
5 years, 7 months ago (2015-05-20 23:44:21 UTC) #33
Dan Beam
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/1151563005/ by dbeam@chromium.org. ...
5 years, 7 months ago (2015-05-21 02:34:29 UTC) #34
Dan Beam
+newt for chrome/browser/android
5 years, 7 months ago (2015-05-21 04:20:11 UTC) #36
Yaron
lgtm
5 years, 7 months ago (2015-05-21 04:24:41 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129903008/120001
5 years, 7 months ago (2015-05-21 07:08:27 UTC) #41
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 7 months ago (2015-05-21 07:12:29 UTC) #42
commit-bot: I haz the power
5 years, 7 months ago (2015-05-21 07:13:20 UTC) #43
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/8d57a0152613119d7e6369838fd5838fb7773e68
Cr-Commit-Position: refs/heads/master@{#330910}

Powered by Google App Engine
This is Rietveld 408576698