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

Issue 1459593002: Added a UI for the Interests Prototype. (Closed)

Created:
5 years, 1 month ago by PEConn
Modified:
5 years ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added a UI for the Interests Prototype. It is added as a third (middle) option to the new tab page. When an interest is clicked, the user is taken to a news search. This is a continuation of https://codereview.chromium.org/1351303003/ . To get this to work, use the flags: --enable-ntp-interests --interests-url=http://localhost:8788/v1/interests You must also be signed in. BUG=537145 Committed: https://crrev.com/7397a0cb47eeac9e92181ff8faf85bcb74f00f16 Cr-Commit-Position: refs/heads/master@{#365264}

Patch Set 1 #

Patch Set 2 : #

Total comments: 26

Patch Set 3 : #

Patch Set 4 : #

Total comments: 17

Patch Set 5 : #

Total comments: 74

Patch Set 6 : #

Total comments: 12

Patch Set 7 : #

Total comments: 4

Patch Set 8 : #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+641 lines, -124 lines) Patch
A chrome/android/java/res/layout/interests_page.xml View 1 2 3 4 5 6 7 1 chunk +25 lines, -0 lines 0 comments Download
M chrome/android/java/res/layout/new_tab_page.xml View 1 2 3 4 5 6 7 1 chunk +20 lines, -0 lines 0 comments Download
M chrome/android/java/res/values/colors.xml View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M chrome/android/java/res/values/dimens.xml View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ChromeSwitches.java View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/UrlConstants.java View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ntp/InterestsService.java View 1 2 3 4 5 6 7 1 chunk +0 lines, -101 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPage.java View 1 2 3 4 5 6 7 5 chunks +35 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageToolbar.java View 1 2 3 4 5 3 chunks +8 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageView.java View 1 2 3 4 5 6 7 4 chunks +17 lines, -0 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/ntp/interests/InterestsItemView.java View 1 2 3 4 5 6 7 8 1 chunk +278 lines, -0 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/ntp/interests/InterestsPage.java View 1 2 3 4 5 6 7 1 chunk +120 lines, -0 lines 0 comments Download
A + chrome/android/java/src/org/chromium/chrome/browser/ntp/interests/InterestsService.java View 1 2 3 4 5 6 7 4 chunks +4 lines, -10 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/ntp/interests/InterestsView.java View 1 2 3 4 5 6 7 1 chunk +90 lines, -0 lines 0 comments Download
M chrome/android/java/strings/android_chrome_strings.grd View 1 2 3 4 5 6 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/interests/android/interests_service.cc View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/interests/interests_fetcher.cc View 1 2 3 4 4 chunks +9 lines, -3 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 1 chunk +5 lines, -5 lines 0 comments Download
M tools/metrics/actions/actions.xml View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 48 (19 generated)
PEConn
5 years, 1 month ago (2015-11-18 15:27:27 UTC) #2
Marc Treib
Some small comments. https://codereview.chromium.org/1459593002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ntp/InterestsItemView.java File chrome/android/java/src/org/chromium/chrome/browser/ntp/InterestsItemView.java (right): https://codereview.chromium.org/1459593002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ntp/InterestsItemView.java#newcode80 chrome/android/java/src/org/chromium/chrome/browser/ntp/InterestsItemView.java:80: * @param imageUrl The URL for ...
5 years, 1 month ago (2015-11-19 12:42:19 UTC) #3
Bernhard Bauer
https://codereview.chromium.org/1459593002/diff/20001/chrome/android/java/res/layout/interests_page.xml File chrome/android/java/res/layout/interests_page.xml (right): https://codereview.chromium.org/1459593002/diff/20001/chrome/android/java/res/layout/interests_page.xml#newcode12 chrome/android/java/res/layout/interests_page.xml:12: android:focusable="true" Sort these alphabetically? https://codereview.chromium.org/1459593002/diff/20001/chrome/android/java/res/layout/new_tab_page.xml File chrome/android/java/res/layout/new_tab_page.xml (right): https://codereview.chromium.org/1459593002/diff/20001/chrome/android/java/res/layout/new_tab_page.xml#newcode192 ...
5 years, 1 month ago (2015-11-19 17:15:15 UTC) #4
PEConn
https://codereview.chromium.org/1459593002/diff/20001/chrome/android/java/res/layout/interests_page.xml File chrome/android/java/res/layout/interests_page.xml (right): https://codereview.chromium.org/1459593002/diff/20001/chrome/android/java/res/layout/interests_page.xml#newcode12 chrome/android/java/res/layout/interests_page.xml:12: android:focusable="true" On 2015/11/19 17:15:15, Bernhard Bauer wrote: > Sort ...
5 years, 1 month ago (2015-11-20 11:23:41 UTC) #5
knn
Unrelated to your current patch but since you are touching this already :) https://codereview.chromium.org/1459593002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/ntp/InterestsService.java File ...
5 years ago (2015-12-02 13:30:44 UTC) #7
Bernhard Bauer
https://codereview.chromium.org/1459593002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/ntp/InterestsItemView.java File chrome/android/java/src/org/chromium/chrome/browser/ntp/InterestsItemView.java (right): https://codereview.chromium.org/1459593002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/ntp/InterestsItemView.java#newcode133 chrome/android/java/src/org/chromium/chrome/browser/ntp/InterestsItemView.java:133: // Cache miss, download the image and use a ...
5 years ago (2015-12-02 14:09:47 UTC) #8
Bernhard Bauer
https://codereview.chromium.org/1459593002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/ntp/InterestsItemView.java File chrome/android/java/src/org/chromium/chrome/browser/ntp/InterestsItemView.java (right): https://codereview.chromium.org/1459593002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/ntp/InterestsItemView.java#newcode133 chrome/android/java/src/org/chromium/chrome/browser/ntp/InterestsItemView.java:133: // Cache miss, download the image and use a ...
5 years ago (2015-12-02 14:10:40 UTC) #9
knn
Some nits. https://codereview.chromium.org/1459593002/diff/60001/chrome/android/java/res/values/dimens.xml File chrome/android/java/res/values/dimens.xml (left): https://codereview.chromium.org/1459593002/diff/60001/chrome/android/java/res/values/dimens.xml#oldcode1 chrome/android/java/res/values/dimens.xml:1: <?xml version="1.0" encoding="utf-8"?> Unintentional? https://codereview.chromium.org/1459593002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/ntp/InterestsItemView.java File chrome/android/java/src/org/chromium/chrome/browser/ntp/InterestsItemView.java ...
5 years ago (2015-12-02 14:18:59 UTC) #10
PEConn
https://codereview.chromium.org/1459593002/diff/60001/chrome/android/java/res/values/dimens.xml File chrome/android/java/res/values/dimens.xml (left): https://codereview.chromium.org/1459593002/diff/60001/chrome/android/java/res/values/dimens.xml#oldcode1 chrome/android/java/res/values/dimens.xml:1: <?xml version="1.0" encoding="utf-8"?> On 2015/12/02 14:18:59, knn wrote: > ...
5 years ago (2015-12-08 17:27:50 UTC) #13
knn
Thanks lgtm! I missed this the first time but you could put all the interests ...
5 years ago (2015-12-09 07:13:39 UTC) #14
PEConn
@asvitkine, could you please look over actions.xml
5 years ago (2015-12-09 11:50:01 UTC) #16
Alexei Svitkine (slow)
lgtm
5 years ago (2015-12-09 16:09:59 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1459593002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1459593002/80001
5 years ago (2015-12-11 13:26:26 UTC) #19
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/135333) mac_chromium_gn_rel on ...
5 years ago (2015-12-11 13:28:41 UTC) #21
newt (away)
Lots of (mostly) small comments, but generally this looks good :) One bigger comment, that ...
5 years ago (2015-12-12 00:30:32 UTC) #22
PEConn
https://codereview.chromium.org/1459593002/diff/80001/chrome/android/java/res/layout/interests_page.xml File chrome/android/java/res/layout/interests_page.xml (right): https://codereview.chromium.org/1459593002/diff/80001/chrome/android/java/res/layout/interests_page.xml#newcode12 chrome/android/java/res/layout/interests_page.xml:12: android:orientation="vertical" On 2015/12/12 00:30:30, newt wrote: > remove this; ...
5 years ago (2015-12-14 17:05:16 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1459593002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1459593002/100001
5 years ago (2015-12-14 17:06:04 UTC) #25
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_android on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_android/builds/91989) ios_dbg_simulator_ninja on ...
5 years ago (2015-12-14 17:09:36 UTC) #27
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1459593002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1459593002/120001
5 years ago (2015-12-14 17:46:00 UTC) #29
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/159355)
5 years ago (2015-12-14 18:16:00 UTC) #31
newt (away)
lgtm after final comments https://codereview.chromium.org/1459593002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/ntp/InterestsItemView.java File chrome/android/java/src/org/chromium/chrome/browser/ntp/InterestsItemView.java (right): https://codereview.chromium.org/1459593002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/ntp/InterestsItemView.java#newcode125 chrome/android/java/src/org/chromium/chrome/browser/ntp/InterestsItemView.java:125: && TextUtils.equals(interest.getName(), mInterest.getName()) On 2015/12/14 ...
5 years ago (2015-12-14 21:18:39 UTC) #32
PEConn
https://codereview.chromium.org/1459593002/diff/100001/chrome/android/java/res/layout/new_tab_page.xml File chrome/android/java/res/layout/new_tab_page.xml (right): https://codereview.chromium.org/1459593002/diff/100001/chrome/android/java/res/layout/new_tab_page.xml#newcode194 chrome/android/java/res/layout/new_tab_page.xml:194: android:layout_weight="1" On 2015/12/14 21:18:39, newt wrote: > nit: layout_width, ...
5 years ago (2015-12-15 11:50:15 UTC) #33
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1459593002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1459593002/140001
5 years ago (2015-12-15 11:51:15 UTC) #35
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/159844)
5 years ago (2015-12-15 12:18:35 UTC) #37
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1459593002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1459593002/160001
5 years ago (2015-12-15 15:49:40 UTC) #39
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-15 16:37:26 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1459593002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1459593002/160001
5 years ago (2015-12-15 16:39:21 UTC) #44
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years ago (2015-12-15 16:45:05 UTC) #46
commit-bot: I haz the power
5 years ago (2015-12-15 16:45:50 UTC) #48
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/7397a0cb47eeac9e92181ff8faf85bcb74f00f16
Cr-Commit-Position: refs/heads/master@{#365264}

Powered by Google App Engine
This is Rietveld 408576698