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

Issue 1141843004: NTP Zombie Code Slayer II: Suggestions Page (Closed)

Created:
5 years, 7 months ago by Dan Beam
Modified:
5 years, 7 months ago
Reviewers:
Lei Zhang, Evan Stade
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, pedrosimonetti+watch_chromium.org, arv+watch_chromium.org, estade+watch_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-closure_chromium.org, jlklein+watch-closure_chromium.org, macourteau
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 II: Suggestions Page It doesn't seem like the suggestions page has been used in a while. There's a bunch of code that says: if (IsSuggestionsPageEnabled()) { ... } But the implementation of the feature switching method is: bool IsSuggestionsPageEnabled() { return false; // Maybe we'll use this someday. } We shouldn't bloat the binary for a "maybe we'll use it later". BUG=329637 R=estade@chromium.org Committed: https://crrev.com/08d5a2ecdfffa9ed4fcc7b43a774e75748f19033 Cr-Commit-Position: refs/heads/master@{#330172}

Patch Set 1 : lol #

Total comments: 1

Patch Set 2 : and remove urls #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -2213 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/browser_resources.grd View 1 chunk +0 lines, -7 lines 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.html View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/ntp4/new_tab.js View 4 chunks +0 lines, -22 lines 0 comments Download
M chrome/browser/resources/ntp4/page_list_view.js View 4 chunks +0 lines, -26 lines 0 comments Download
D chrome/browser/resources/ntp4/suggestions_page.css View 1 chunk +0 lines, -109 lines 0 comments Download
D chrome/browser/resources/ntp4/suggestions_page.js View 1 chunk +0 lines, -478 lines 0 comments Download
D chrome/browser/resources/suggestions_internals/suggestions_internals.css View 1 chunk +0 lines, -37 lines 0 comments Download
D chrome/browser/resources/suggestions_internals/suggestions_internals.html View 1 chunk +0 lines, -26 lines 0 comments Download
D chrome/browser/resources/suggestions_internals/suggestions_internals.js View 1 chunk +0 lines, -186 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 2 chunks +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_page_handler.h View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_page_handler.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_ui.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_ui.cc View 5 chunks +0 lines, -19 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache.cc View 2 chunks +0 lines, -4 lines 0 comments Download
D chrome/browser/ui/webui/ntp/suggestions_combiner.h View 1 chunk +0 lines, -108 lines 0 comments Download
D chrome/browser/ui/webui/ntp/suggestions_combiner.cc View 1 chunk +0 lines, -152 lines 0 comments Download
D chrome/browser/ui/webui/ntp/suggestions_combiner_unittest.cc View 1 chunk +0 lines, -298 lines 0 comments Download
D chrome/browser/ui/webui/ntp/suggestions_page_handler.h View 1 chunk +0 lines, -99 lines 0 comments Download
D chrome/browser/ui/webui/ntp/suggestions_page_handler.cc View 1 chunk +0 lines, -198 lines 0 comments Download
D chrome/browser/ui/webui/ntp/suggestions_source.h View 1 chunk +0 lines, -60 lines 0 comments Download
D chrome/browser/ui/webui/ntp/suggestions_source_top_sites.h View 1 chunk +0 lines, -66 lines 0 comments Download
D chrome/browser/ui/webui/ntp/suggestions_source_top_sites.cc View 1 chunk +0 lines, -139 lines 0 comments Download
D chrome/browser/ui/webui/suggestions_internals/suggestions_internals_ui.h View 1 chunk +0 lines, -21 lines 0 comments Download
D chrome/browser/ui/webui/suggestions_internals/suggestions_internals_ui.cc View 1 chunk +0 lines, -37 lines 0 comments Download
D chrome/browser/ui/webui/suggestions_internals/suggestions_internals_ui_handler.h View 1 chunk +0 lines, -43 lines 0 comments Download
D chrome/browser/ui/webui/suggestions_internals/suggestions_internals_ui_handler.cc View 1 chunk +0 lines, -45 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 2 chunks +0 lines, -11 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/url_constants.h View 1 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/common/url_constants.cc View 1 2 chunks +0 lines, -3 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
Dan Beam
5 years, 7 months ago (2015-05-14 23:52:51 UTC) #2
Dan Beam
https://codereview.chromium.org/1141843004/diff/80001/chrome/browser/ui/webui/ntp/new_tab_page_handler.h File chrome/browser/ui/webui/ntp/new_tab_page_handler.h (left): https://codereview.chromium.org/1141843004/diff/80001/chrome/browser/ui/webui/ntp/new_tab_page_handler.h#oldcode76 chrome/browser/ui/webui/ntp/new_tab_page_handler.h:76: BOOKMARKS_PAGE_ID = 3 << kPageIdOffset, also lulz
5 years, 7 months ago (2015-05-15 00:35:58 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1141843004/80001
5 years, 7 months ago (2015-05-15 06:13:09 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-15 07:02:22 UTC) #10
Dan Beam
+thestig@ for chrome/browser/browser_resources.grd
5 years, 7 months ago (2015-05-15 18:24:11 UTC) #12
Evan Stade
JENGA lgtm
5 years, 7 months ago (2015-05-15 18:36:21 UTC) #13
Lei Zhang
5 years, 7 months ago (2015-05-15 19:37:11 UTC) #14
Lei Zhang
lgtm
5 years, 7 months ago (2015-05-15 19:37:16 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1141843004/100001
5 years, 7 months ago (2015-05-15 19:41:32 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:100001)
5 years, 7 months ago (2015-05-15 19:46:58 UTC) #18
commit-bot: I haz the power
5 years, 7 months ago (2015-05-15 19:47:46 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/08d5a2ecdfffa9ed4fcc7b43a774e75748f19033
Cr-Commit-Position: refs/heads/master@{#330172}

Powered by Google App Engine
This is Rietveld 408576698