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

Issue 10829326: Add the webui handler for Android's bookmark section on the NTP. (Closed)

Created:
8 years, 4 months ago by Ted C
Modified:
8 years, 4 months ago
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, estade+watch_chromium.org, newt (away)
Visibility:
Public.

Description

Add the webui handler for Android's bookmark section on the NTP. BUG=137011 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152226

Patch Set 1 #

Total comments: 38

Patch Set 2 : Resolve review comments #

Total comments: 8

Patch Set 3 : Resolving review comments. #

Patch Set 4 : Fix review comments I missed. #

Total comments: 14

Patch Set 5 : Resolving Review comments. #

Total comments: 8

Patch Set 6 : Review comments round 3 #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+538 lines, -3 lines) Patch
M chrome/browser/resources/ntp_android/ntp_android.js View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
A chrome/browser/ui/webui/ntp/android/bookmarks_handler.h View 1 2 3 4 5 6 1 chunk +139 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc View 1 2 3 4 5 6 1 chunk +389 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_ui.cc View 2 chunks +6 lines, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Ted C
estade and aruslan for review of webui/ntp code. Will add OWNER for gyp change once ...
8 years, 4 months ago (2012-08-14 19:44:26 UTC) #1
aruslan
Looks good to me.
8 years, 4 months ago (2012-08-14 20:01:36 UTC) #2
Evan Stade
http://codereview.chromium.org/10829326/diff/1/chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc File chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc (right): http://codereview.chromium.org/10829326/diff/1/chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc#newcode40 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc:40: return false; \n http://codereview.chromium.org/10829326/diff/1/chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc#newcode42 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc:42: return false; \n http://codereview.chromium.org/10829326/diff/1/chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc#newcode89 ...
8 years, 4 months ago (2012-08-14 22:04:54 UTC) #3
Ted C
Comments addressed, thanks. PTAL http://codereview.chromium.org/10829326/diff/1/chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc File chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc (right): http://codereview.chromium.org/10829326/diff/1/chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc#newcode40 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc:40: return false; On 2012/08/14 22:04:54, ...
8 years, 4 months ago (2012-08-14 23:24:28 UTC) #4
Evan Stade
http://codereview.chromium.org/10829326/diff/1/chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc File chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc (right): http://codereview.chromium.org/10829326/diff/1/chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc#newcode42 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc:42: return false; On 2012/08/14 23:24:28, Ted C wrote: > ...
8 years, 4 months ago (2012-08-15 00:05:10 UTC) #5
Ted C
http://codereview.chromium.org/10829326/diff/1/chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc File chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc (right): http://codereview.chromium.org/10829326/diff/1/chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc#newcode46 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc:46: } else { On 2012/08/15 00:05:10, Evan Stade wrote: ...
8 years, 4 months ago (2012-08-15 21:21:00 UTC) #6
Evan Stade
https://chromiumcodereview.appspot.com/10829326/diff/8003/chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc File chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc (right): https://chromiumcodereview.appspot.com/10829326/diff/8003/chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc#newcode130 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc:130: web_ui()->RegisterMessageCallback("shortcutToBookmark", update this string to match https://chromiumcodereview.appspot.com/10829326/diff/8003/chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc#newcode178 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc:178: + ...
8 years, 4 months ago (2012-08-15 22:24:00 UTC) #7
Ted C
Thanks for helping us clean up this cruft. Good to have a new set of ...
8 years, 4 months ago (2012-08-15 22:50:48 UTC) #8
Evan Stade
LGTM with outparam nit http://codereview.chromium.org/10829326/diff/8003/chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc File chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc (right): http://codereview.chromium.org/10829326/diff/8003/chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc#newcode130 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc:130: web_ui()->RegisterMessageCallback("shortcutToBookmark", On 2012/08/15 22:50:48, Ted ...
8 years, 4 months ago (2012-08-15 22:57:27 UTC) #9
Ted C
http://codereview.chromium.org/10829326/diff/12001/chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc File chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc (right): http://codereview.chromium.org/10829326/diff/12001/chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc#newcode152 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc:152: return; // is handled with a PartnerShimLoaded() callback On ...
8 years, 4 months ago (2012-08-16 00:33:04 UTC) #10
Ted C
http://codereview.chromium.org/10829326/diff/12001/chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc File chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc (right): http://codereview.chromium.org/10829326/diff/12001/chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc#newcode152 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc:152: return; // is handled with a PartnerShimLoaded() callback On ...
8 years, 4 months ago (2012-08-16 00:44:08 UTC) #11
Dan Beam
btw http://codereview.chromium.org/10829326/diff/12001/chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc File chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc (right): http://codereview.chromium.org/10829326/diff/12001/chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc#newcode152 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc:152: return; // is handled with a PartnerShimLoaded() callback ...
8 years, 4 months ago (2012-08-16 00:47:16 UTC) #12
Evan Stade
lgtm http://codereview.chromium.org/10829326/diff/12001/chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc File chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc (right): http://codereview.chromium.org/10829326/diff/12001/chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc#newcode152 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc:152: return; // is handled with a PartnerShimLoaded() callback ...
8 years, 4 months ago (2012-08-16 03:02:28 UTC) #13
Dan Beam
http://codereview.chromium.org/10829326/diff/12001/chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc File chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc (right): http://codereview.chromium.org/10829326/diff/12001/chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc#newcode152 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc:152: return; // is handled with a PartnerShimLoaded() callback On ...
8 years, 4 months ago (2012-08-16 03:30:34 UTC) #14
Ted C
+thakis for OWNERS of chrome_browser.gypi
8 years, 4 months ago (2012-08-17 17:25:04 UTC) #15
Nico
gpyi change lgtm
8 years, 4 months ago (2012-08-17 18:14:04 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tedchoc@chromium.org/10829326/6
8 years, 4 months ago (2012-08-17 21:19:44 UTC) #17
commit-bot: I haz the power
8 years, 4 months ago (2012-08-18 02:57:26 UTC) #18
Change committed as 152226

Powered by Google App Engine
This is Rietveld 408576698