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

Issue 256763004: Remove WebUI NTP on Android. (Closed)

Created:
6 years, 8 months ago by aurimas (slooooooooow)
Modified:
6 years, 7 months ago
Reviewers:
Ted C, Nico, Ilya Sherman
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, extensions-reviews_chromium.org, skanuj+watch_chromium.org, melevin+watch_chromium.org, jar (doing other things), dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, asvitkine+watch_chromium.org, dominich, jfweitz+watch_chromium.org, David Black, arv+watch_chromium.org, samarth+watch_chromium.org, estade+watch_chromium.org, chromium-apps-reviews_chromium.org, kmadhusu+watch_chromium.org, Ilya Sherman, Jered, pedrosimonetti+watch_chromium.org
Visibility:
Public.

Description

Remove WebUI NTP on Android. Chrome for Android has transitioned to using native NTP. This CL removes the WebUI classes and resources. BUG=284770 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267095

Patch Set 1 #

Total comments: 2

Patch Set 2 : Ted's nit #

Total comments: 4

Patch Set 3 : Updated generated_resouces.grd #

Patch Set 4 : Added a comment about ifdefs #

Patch Set 5 : Stop compiling ntp_data_logger_unittest #

Patch Set 6 : Updated NTP Pref registration #

Patch Set 7 : newt's nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -7382 lines) Patch
M chrome/app/bookmarks_strings.grdp View 1 2 2 chunks +0 lines, -14 lines 0 comments Download
M chrome/app/generated_resources.grd View 3 chunks +10 lines, -88 lines 0 comments Download
M chrome/browser/android/new_tab_page_prefs.cc View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/browser_resources.grd View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 4 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc View 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/resources/ntp_android/OWNERS View 1 chunk +0 lines, -3 lines 0 comments Download
D chrome/browser/resources/ntp_android/bookmarks.css View 1 chunk +0 lines, -268 lines 0 comments Download
D chrome/browser/resources/ntp_android/bookmarks_tablet.css View 1 chunk +0 lines, -18 lines 0 comments Download
D chrome/browser/resources/ntp_android/images/bookmark_bg_hdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/bookmark_bg_mdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/bookmark_bg_tvdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/bookmark_bg_xhdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/bookmark_border_hdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/bookmark_border_mdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/bookmark_border_tvdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/bookmark_border_xhdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/bookmark_folder_hdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/bookmark_folder_mdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/bookmark_folder_tvdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/bookmark_folder_xhdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/breadcrumb_hdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/breadcrumb_mdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/breadcrumb_tvdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/breadcrumb_xhdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/default_thumbnail.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/disclosure_closed_hdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/disclosure_closed_mdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/disclosure_closed_xhdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/disclosure_open_hdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/disclosure_open_mdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/disclosure_open_xhdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/sent_hdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/sent_mdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/sent_xhdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/syncfographic_hdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/syncfographic_mdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/syncfographic_sw600dp_hdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/syncfographic_sw600dp_mdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/syncfographic_sw600dp_xhdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/syncfographic_xhdpi.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/images/welcome_thumb.png View Binary file 0 comments Download
D chrome/browser/resources/ntp_android/incognito_tab.css View 1 chunk +0 lines, -29 lines 0 comments Download
D chrome/browser/resources/ntp_android/mockdata.js View 1 chunk +0 lines, -1571 lines 0 comments Download
D chrome/browser/resources/ntp_android/mostvisited.css View 1 chunk +0 lines, -101 lines 0 comments Download
D chrome/browser/resources/ntp_android/mostvisited_tablet.css View 1 chunk +0 lines, -171 lines 0 comments Download
D chrome/browser/resources/ntp_android/new_tab.html View 1 chunk +0 lines, -79 lines 0 comments Download
D chrome/browser/resources/ntp_android/ntp_android.css View 1 chunk +0 lines, -87 lines 0 comments Download
D chrome/browser/resources/ntp_android/ntp_android.js View 1 chunk +0 lines, -2736 lines 0 comments Download
D chrome/browser/resources/ntp_android/opentabs.css View 1 chunk +0 lines, -239 lines 0 comments Download
D chrome/browser/resources/ntp_android/opentabs_tablet.css View 1 chunk +0 lines, -61 lines 0 comments Download
M chrome/browser/search/instant_service.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/metrics_handler.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
D chrome/browser/ui/webui/ntp/android/OWNERS View 1 chunk +0 lines, -3 lines 0 comments Download
D chrome/browser/ui/webui/ntp/android/bookmarks_handler.h View 1 2 3 4 1 chunk +0 lines, -176 lines 0 comments Download
D chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc View 1 chunk +0 lines, -583 lines 0 comments Download
D chrome/browser/ui/webui/ntp/android/context_menu_handler.h View 1 chunk +0 lines, -56 lines 0 comments Download
D chrome/browser/ui/webui/ntp/android/context_menu_handler.cc View 1 chunk +0 lines, -135 lines 0 comments Download
D chrome/browser/ui/webui/ntp/android/navigation_handler.h View 1 chunk +0 lines, -68 lines 0 comments Download
D chrome/browser/ui/webui/ntp/android/navigation_handler.cc View 1 chunk +0 lines, -69 lines 0 comments Download
D chrome/browser/ui/webui/ntp/android/new_tab_page_ready_handler.h View 1 chunk +0 lines, -38 lines 0 comments Download
D chrome/browser/ui/webui/ntp/android/new_tab_page_ready_handler.cc View 1 chunk +0 lines, -52 lines 0 comments Download
D chrome/browser/ui/webui/ntp/android/ntp_resource_cache_android.cc View 1 chunk +0 lines, -170 lines 0 comments Download
D chrome/browser/ui/webui/ntp/android/promo_handler.h View 1 chunk +0 lines, -84 lines 0 comments Download
D chrome/browser/ui/webui/ntp/android/promo_handler.cc View 1 chunk +0 lines, -337 lines 0 comments Download
M chrome/browser/ui/webui/ntp/most_visited_handler.cc View 1 2 3 4 5 3 chunks +0 lines, -9 lines 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_ui.h View 1 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_ui.cc View 1 2 3 4 5 6 5 chunks +12 lines, -60 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_login_handler.cc View 1 2 3 4 5 6 3 chunks +2 lines, -8 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache.h View 1 2 3 4 5 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc View 1 2 3 4 5 4 chunks +1 line, -23 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 4 chunks +1 line, -27 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
aurimas (slooooooooow)
tedchoc: PTAL
6 years, 8 months ago (2014-04-25 18:37:12 UTC) #1
Ted C
lgtm https://chromiumcodereview.appspot.com/256763004/diff/1/chrome/browser/ui/webui/ntp/new_tab_ui.cc File chrome/browser/ui/webui/ntp/new_tab_ui.cc (right): https://chromiumcodereview.appspot.com/256763004/diff/1/chrome/browser/ui/webui/ntp/new_tab_ui.cc#newcode234 chrome/browser/ui/webui/ntp/new_tab_ui.cc:234: bool NewTabUI::MightShowApps() { I think you can remove ...
6 years, 8 months ago (2014-04-25 19:50:57 UTC) #2
aurimas (slooooooooow)
https://chromiumcodereview.appspot.com/256763004/diff/1/chrome/browser/ui/webui/ntp/new_tab_ui.cc File chrome/browser/ui/webui/ntp/new_tab_ui.cc (right): https://chromiumcodereview.appspot.com/256763004/diff/1/chrome/browser/ui/webui/ntp/new_tab_ui.cc#newcode234 chrome/browser/ui/webui/ntp/new_tab_ui.cc:234: bool NewTabUI::MightShowApps() { On 2014/04/25 19:50:58, Ted C wrote: ...
6 years, 8 months ago (2014-04-25 20:10:47 UTC) #3
aurimas (slooooooooow)
+thakis for chrome/browser/ review. +isherman for tools/metrics/histograms/histograms.xml review.
6 years, 8 months ago (2014-04-25 20:13:00 UTC) #4
Nico
lgtm https://chromiumcodereview.appspot.com/256763004/diff/20001/chrome/browser/search/instant_service.cc File chrome/browser/search/instant_service.cc (right): https://chromiumcodereview.appspot.com/256763004/diff/20001/chrome/browser/search/instant_service.cc#newcode112 chrome/browser/search/instant_service.cc:112: #if !defined(OS_ANDROID) This change isn't obvious to me. ...
6 years, 8 months ago (2014-04-25 20:22:03 UTC) #5
aurimas (slooooooooow)
https://chromiumcodereview.appspot.com/256763004/diff/20001/chrome/browser/search/instant_service.cc File chrome/browser/search/instant_service.cc (right): https://chromiumcodereview.appspot.com/256763004/diff/20001/chrome/browser/search/instant_service.cc#newcode112 chrome/browser/search/instant_service.cc:112: #if !defined(OS_ANDROID) On 2014/04/25 20:22:04, Nico wrote: > This ...
6 years, 8 months ago (2014-04-25 21:23:37 UTC) #6
Nico
(My expectation for "lgtm with questions why stuff happens" is that you add a short ...
6 years, 8 months ago (2014-04-25 21:28:00 UTC) #7
aurimas (slooooooooow)
isherman: PTAL
6 years, 7 months ago (2014-04-28 16:14:27 UTC) #8
Ilya Sherman
histograms.xml lgtm
6 years, 7 months ago (2014-04-28 17:37:19 UTC) #9
aurimas (slooooooooow)
The CQ bit was checked by aurimas@chromium.org
6 years, 7 months ago (2014-04-28 17:38:07 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aurimas@chromium.org/256763004/60001
6 years, 7 months ago (2014-04-28 17:39:17 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 18:14:25 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on android_clang_dbg
6 years, 7 months ago (2014-04-28 18:14:25 UTC) #13
aurimas (slooooooooow)
The CQ bit was checked by aurimas@chromium.org
6 years, 7 months ago (2014-04-28 23:32:29 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aurimas@chromium.org/256763004/80001
6 years, 7 months ago (2014-04-28 23:33:57 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-29 05:26:44 UTC) #16
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test on builder ...
6 years, 7 months ago (2014-04-29 05:26:44 UTC) #17
aurimas (slooooooooow)
The CQ bit was checked by aurimas@chromium.org
6 years, 7 months ago (2014-04-29 17:25:28 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aurimas@chromium.org/256763004/100001
6 years, 7 months ago (2014-04-29 17:26:48 UTC) #19
aurimas (slooooooooow)
The CQ bit was unchecked by aurimas@chromium.org
6 years, 7 months ago (2014-04-29 17:52:23 UTC) #20
aurimas (slooooooooow)
The CQ bit was checked by aurimas@chromium.org
6 years, 7 months ago (2014-04-29 18:07:44 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aurimas@chromium.org/256763004/120001
6 years, 7 months ago (2014-04-29 18:08:47 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-29 18:56:38 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel on tryserver.chromium
6 years, 7 months ago (2014-04-29 18:56:38 UTC) #24
aurimas (slooooooooow)
The CQ bit was checked by aurimas@chromium.org
6 years, 7 months ago (2014-04-29 20:03:11 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aurimas@chromium.org/256763004/120001
6 years, 7 months ago (2014-04-29 20:04:59 UTC) #26
commit-bot: I haz the power
Change committed as 267095
6 years, 7 months ago (2014-04-30 05:43:35 UTC) #27
falken
6 years, 7 months ago (2014-04-30 06:12:28 UTC) #28
Message was sent while issue was closed.
On 2014/04/30 05:43:35, I haz the power (commit-bot) wrote:
> Change committed as 267095

chromium.webkit bot "Android Builder" has started failing and this change looks
suspicious. See:
http://build.chromium.org/p/chromium.webkit/builders/Android%20Builder/builds...

Powered by Google App Engine
This is Rietveld 408576698