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

Issue 12840003: Implement local NTP for fallback. (Closed)

Created:
7 years, 9 months ago by jeremycho
Modified:
7 years, 9 months ago
Reviewers:
samarth, sky, Dan Beam
CC:
chromium-reviews, melevin, sreeram, gideonwald, dominich, David Black, arv+watch_chromium.org, samarth+watch_chromium.org, Jered, Shishir
Base URL:
https://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Implement local NTP for fallback. BUG=178775 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190589

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase #

Patch Set 3 : Rebase again #

Total comments: 4

Patch Set 4 : Respond to Samarth's comments. #

Total comments: 12

Patch Set 5 : Rebase following instant->search #

Patch Set 6 : Respond to Samarth's comments. #

Total comments: 6

Patch Set 7 : Respond to Samarth's comments. #

Total comments: 56

Patch Set 8 : Respond to comments. #

Patch Set 9 : Rebase #

Patch Set 10 : Fix typo. #

Patch Set 11 : Add placeholder title. #

Patch Set 12 : Respond to comments #

Total comments: 45

Patch Set 13 : Respond. #

Total comments: 41

Patch Set 14 : Rebase. #

Patch Set 15 : Respond to comments. #

Total comments: 14

Patch Set 16 : Respond to comments. #

Patch Set 17 : Rebase. #

Patch Set 18 : Fix compile. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+880 lines, -34 lines) Patch
M chrome/browser/browser_resources.grd View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/browser/resources/local_ntp/local_ntp.css View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +194 lines, -0 lines 0 comments Download
A chrome/browser/resources/local_ntp/local_ntp.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +28 lines, -0 lines 0 comments Download
A chrome/browser/resources/local_ntp/local_ntp.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +519 lines, -0 lines 0 comments Download
M chrome/browser/search/instant_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -0 lines 0 comments Download
A + chrome/browser/search/local_ntp_source.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +12 lines, -13 lines 0 comments Download
A chrome/browser/search/local_ntp_source.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +93 lines, -0 lines 0 comments Download
M chrome/browser/search/local_omnibox_popup_source.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/search/local_omnibox_popup_source.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +13 lines, -13 lines 0 comments Download
M chrome/browser/search/search.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/search/search_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/url_constants.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/url_constants.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (0 generated)
jeremycho
This is ready for review. Feel free to stop by for a demo.
7 years, 9 months ago (2013-03-13 22:54:09 UTC) #1
jeremycho
On 2013/03/13 22:54:09, jeremycho wrote: > This is ready for review. Feel free to stop ...
7 years, 9 months ago (2013-03-15 19:15:42 UTC) #2
Shishir
I am not too familiar with the js,css stuff and since I wrote the C++ ...
7 years, 9 months ago (2013-03-15 19:20:15 UTC) #3
jeremycho
David - perhaps you could do a quick look at the JS/CSS? It's mostly a ...
7 years, 9 months ago (2013-03-15 19:27:09 UTC) #4
samarth
Just some drive-by comments. Thanks, Samarth https://codereview.chromium.org/12840003/diff/1/chrome/browser/instant/search.cc File chrome/browser/instant/search.cc (right): https://codereview.chromium.org/12840003/diff/1/chrome/browser/instant/search.cc#newcode306 chrome/browser/instant/search.cc:306: entry->GetVirtualURL() == GURL(chrome::kChromeSearchLocalNTPURL)) ...
7 years, 9 months ago (2013-03-15 22:14:29 UTC) #5
jeremycho
https://codereview.chromium.org/12840003/diff/1/chrome/browser/instant/search.cc File chrome/browser/instant/search.cc (right): https://codereview.chromium.org/12840003/diff/1/chrome/browser/instant/search.cc#newcode306 chrome/browser/instant/search.cc:306: entry->GetVirtualURL() == GURL(chrome::kChromeSearchLocalNTPURL)) && On 2013/03/15 22:14:29, samarth wrote: ...
7 years, 9 months ago (2013-03-16 00:09:56 UTC) #6
jeremycho
Evan - can you review for chrome/browser/resources? Thanks.
7 years, 9 months ago (2013-03-18 21:38:02 UTC) #7
sreeram
Removing myself as reviewer. Samarth can handle this.
7 years, 9 months ago (2013-03-18 21:46:49 UTC) #8
samarth
Mostly nits below. Can you also sync and rebase? I'd like to patch it in ...
7 years, 9 months ago (2013-03-18 22:09:19 UTC) #9
jeremycho
Rebased too. Feel free to also stop by for a demo. https://codereview.chromium.org/12840003/diff/16002/chrome/browser/instant/local_ntp_source.cc File chrome/browser/instant/local_ntp_source.cc (right): ...
7 years, 9 months ago (2013-03-18 23:18:52 UTC) #10
samarth
lgtm for c/b/search/ with some comments. I think you'll need someone from chrome/OWNERS for the ...
7 years, 9 months ago (2013-03-19 02:35:52 UTC) #11
jeremycho
Scott - can you review for browser_resources.grd?
7 years, 9 months ago (2013-03-19 03:05:02 UTC) #12
jeremycho
Thanks for reviewing. https://codereview.chromium.org/12840003/diff/38001/chrome/browser/search/local_ntp_source.h File chrome/browser/search/local_ntp_source.h (right): https://codereview.chromium.org/12840003/diff/38001/chrome/browser/search/local_ntp_source.h#newcode21 chrome/browser/search/local_ntp_source.h:21: // Overriden from content::URLDataSource: On 2013/03/19 ...
7 years, 9 months ago (2013-03-19 03:30:34 UTC) #13
jeremycho
Friendly ping - we're hoping to get this by the branch point. The JS/CSS is ...
7 years, 9 months ago (2013-03-20 02:09:43 UTC) #14
sky
.grd LGTM
7 years, 9 months ago (2013-03-20 14:16:21 UTC) #15
jeremycho
On 2013/03/20 14:16:21, sky wrote: > .grd LGTM Looks like Evan is OOO today and ...
7 years, 9 months ago (2013-03-20 21:50:50 UTC) #16
jeremycho
Or James - do you think you'd be able to review the JS/CSS? We're hoping ...
7 years, 9 months ago (2013-03-20 22:23:29 UTC) #17
jeremycho
Oops, jhawkins is also OOO. Erik - would you be able to review for resources/*? ...
7 years, 9 months ago (2013-03-20 22:38:44 UTC) #18
sky
I'm not terribly knowledgable about the code in resources/local_ntp. You should get a more local ...
7 years, 9 months ago (2013-03-20 23:46:17 UTC) #19
jeremycho
Dan - would you be able to review for resources/local_ntp?
7 years, 9 months ago (2013-03-21 02:13:54 UTC) #20
Dan Beam
I got part way there https://codereview.chromium.org/12840003/diff/42001/chrome/browser/resources/local_ntp/local_ntp.css File chrome/browser/resources/local_ntp/local_ntp.css (right): https://codereview.chromium.org/12840003/diff/42001/chrome/browser/resources/local_ntp/local_ntp.css#newcode5 chrome/browser/resources/local_ntp/local_ntp.css:5: background-attachment: fixed!important fixed !important ...
7 years, 9 months ago (2013-03-21 02:45:08 UTC) #21
jeremycho
Thanks for the quick feedback! https://codereview.chromium.org/12840003/diff/42001/chrome/browser/resources/local_ntp/local_ntp.css File chrome/browser/resources/local_ntp/local_ntp.css (right): https://codereview.chromium.org/12840003/diff/42001/chrome/browser/resources/local_ntp/local_ntp.css#newcode5 chrome/browser/resources/local_ntp/local_ntp.css:5: background-attachment: fixed!important On 2013/03/21 ...
7 years, 9 months ago (2013-03-21 05:28:42 UTC) #22
jeremycho
Friendly ping :)
7 years, 9 months ago (2013-03-22 05:29:57 UTC) #23
Dan Beam
https://codereview.chromium.org/12840003/diff/42001/chrome/browser/resources/local_ntp/local_ntp.css File chrome/browser/resources/local_ntp/local_ntp.css (right): https://codereview.chromium.org/12840003/diff/42001/chrome/browser/resources/local_ntp/local_ntp.css#newcode20 chrome/browser/resources/local_ntp/local_ntp.css:20: .custom-theme #mv-noti-lks span { On 2013/03/21 05:28:42, jeremycho wrote: ...
7 years, 9 months ago (2013-03-22 05:37:02 UTC) #24
jeremycho
Thanks, PTAL. https://codereview.chromium.org/12840003/diff/42001/chrome/browser/resources/local_ntp/local_ntp.css File chrome/browser/resources/local_ntp/local_ntp.css (right): https://codereview.chromium.org/12840003/diff/42001/chrome/browser/resources/local_ntp/local_ntp.css#newcode20 chrome/browser/resources/local_ntp/local_ntp.css:20: .custom-theme #mv-noti-lks span { On 2013/03/22 05:37:02, ...
7 years, 9 months ago (2013-03-22 17:50:55 UTC) #25
Dan Beam
https://codereview.chromium.org/12840003/diff/63003/chrome/browser/resources/local_ntp/local_ntp.css File chrome/browser/resources/local_ntp/local_ntp.css (right): https://codereview.chromium.org/12840003/diff/63003/chrome/browser/resources/local_ntp/local_ntp.css#newcode26 chrome/browser/resources/local_ntp/local_ntp.css:26: -webkit-transform: translate3d(0, 0, 0); + /* Use GPU compositing ...
7 years, 9 months ago (2013-03-22 19:32:49 UTC) #26
jeremycho
Thanks Dan. PTAL - if it's at possible to approve this today that'd be awesome! ...
7 years, 9 months ago (2013-03-22 21:33:30 UTC) #27
jeremycho
ping
7 years, 9 months ago (2013-03-25 16:44:24 UTC) #28
Dan Beam
https://codereview.chromium.org/12840003/diff/71002/chrome/browser/resources/local_ntp/local_ntp.css File chrome/browser/resources/local_ntp/local_ntp.css (right): https://codereview.chromium.org/12840003/diff/71002/chrome/browser/resources/local_ntp/local_ntp.css#newcode145 chrome/browser/resources/local_ntp/local_ntp.css:145: position: absolute; ^ how does this deal with text ...
7 years, 9 months ago (2013-03-25 18:13:49 UTC) #29
jeremycho
Addressed comments. PTAL. https://codereview.chromium.org/12840003/diff/71002/chrome/browser/resources/local_ntp/local_ntp.css File chrome/browser/resources/local_ntp/local_ntp.css (right): https://codereview.chromium.org/12840003/diff/71002/chrome/browser/resources/local_ntp/local_ntp.css#newcode145 chrome/browser/resources/local_ntp/local_ntp.css:145: position: absolute; On 2013/03/25 18:13:49, Dan ...
7 years, 9 months ago (2013-03-25 21:27:16 UTC) #30
Dan Beam
lgtm https://codereview.chromium.org/12840003/diff/71002/chrome/browser/search/local_ntp_source.h File chrome/browser/search/local_ntp_source.h (right): https://codereview.chromium.org/12840003/diff/71002/chrome/browser/search/local_ntp_source.h#newcode21 chrome/browser/search/local_ntp_source.h:21: // Overridden from content::URLDataSource: On 2013/03/25 21:27:16, jeremycho ...
7 years, 9 months ago (2013-03-25 21:37:38 UTC) #31
jeremycho
Thanks for the review! https://codereview.chromium.org/12840003/diff/93002/chrome/browser/resources/local_ntp/local_ntp.css File chrome/browser/resources/local_ntp/local_ntp.css (right): https://codereview.chromium.org/12840003/diff/93002/chrome/browser/resources/local_ntp/local_ntp.css#newcode113 chrome/browser/resources/local_ntp/local_ntp.css:113: background: transparent url('images/close_bar.png'); On 2013/03/25 ...
7 years, 9 months ago (2013-03-25 21:51:20 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jeremycho@chromium.org/12840003/85003
7 years, 9 months ago (2013-03-25 21:57:02 UTC) #33
commit-bot: I haz the power
Failed to trigger a try job on win_rel HTTP Error 400: Bad Request
7 years, 9 months ago (2013-03-25 22:40:31 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jeremycho@chromium.org/12840003/104001
7 years, 9 months ago (2013-03-25 22:40:55 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jeremycho@chromium.org/12840003/104001
7 years, 9 months ago (2013-03-26 07:01:32 UTC) #36
commit-bot: I haz the power
7 years, 9 months ago (2013-03-26 08:14:35 UTC) #37
Message was sent while issue was closed.
Change committed as 190589

Powered by Google App Engine
This is Rietveld 408576698