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

Issue 11416187: Commit instant loader when the instant page navigates away from instant URL. (Closed)

Created:
8 years ago by Shishir
Modified:
8 years ago
CC:
chromium-reviews, joi+watch-content_chromium.org, melevin, samarth, sreeram, gideonwald, dominich, David Black, darin-cc_chromium.org, Jered
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Commit instant loader when the instant page navigates away from instant URL. BUG=161784 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=172168

Patch Set 1 #

Patch Set 2 : Merging in sreeram's changes. #

Total comments: 6

Patch Set 3 : Addressing sky's comments. #

Patch Set 4 : Minor spelling fix. #

Total comments: 13

Patch Set 5 : Addressing jam's and samarth's comments. #

Patch Set 6 : Removing content/* changes. #

Total comments: 2

Patch Set 7 : Fixing commit for cross process navigation. #

Total comments: 2

Patch Set 8 : Merging Sreeram's changes. #

Patch Set 9 : Fixing issue caused due to removal of TabContents. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -3 lines) Patch
M chrome/browser/instant/instant_client.h View 1 2 3 4 5 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/instant/instant_client.cc View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/instant/instant_commit_type.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/instant/instant_controller.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/instant/instant_controller.cc View 1 2 3 4 5 6 7 3 chunks +21 lines, -3 lines 0 comments Download
M chrome/browser/instant/instant_loader.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/instant/instant_loader.cc View 1 2 3 4 5 6 7 8 5 chunks +20 lines, -0 lines 0 comments Download
M chrome/browser/instant/instant_tab.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/instant/instant_tab.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
Shishir
PTAL.
8 years ago (2012-11-26 23:22:25 UTC) #1
Shishir
PTAL.
8 years ago (2012-12-06 21:03:39 UTC) #2
sky
https://codereview.chromium.org/11416187/diff/3001/chrome/browser/instant/instant_client.cc File chrome/browser/instant/instant_client.cc (right): https://codereview.chromium.org/11416187/diff/3001/chrome/browser/instant/instant_client.cc#newcode108 chrome/browser/instant/instant_client.cc:108: LOG(ERROR) << "***** DidCommitProvisionalLoadForFrame: " << url; remove logging. ...
8 years ago (2012-12-06 22:37:29 UTC) #3
Shishir
PTAL. https://codereview.chromium.org/11416187/diff/3001/chrome/browser/instant/instant_client.cc File chrome/browser/instant/instant_client.cc (right): https://codereview.chromium.org/11416187/diff/3001/chrome/browser/instant/instant_client.cc#newcode108 chrome/browser/instant/instant_client.cc:108: LOG(ERROR) << "***** DidCommitProvisionalLoadForFrame: " << url; On ...
8 years ago (2012-12-06 23:20:30 UTC) #4
sky
LGTM
8 years ago (2012-12-07 00:39:34 UTC) #5
Shishir
Adding jam for new API in content/..
8 years ago (2012-12-07 00:41:48 UTC) #6
samarth
lgtm https://codereview.chromium.org/11416187/diff/8012/chrome/browser/instant/instant_client.cc File chrome/browser/instant/instant_client.cc (right): https://codereview.chromium.org/11416187/diff/8012/chrome/browser/instant/instant_client.cc#newcode106 chrome/browser/instant/instant_client.cc:106: if (!is_main_frame) nit: fix indent https://codereview.chromium.org/11416187/diff/8012/chrome/browser/instant/instant_controller.cc File chrome/browser/instant/instant_controller.cc ...
8 years ago (2012-12-07 01:14:34 UTC) #7
jam
https://codereview.chromium.org/11416187/diff/8012/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/11416187/diff/8012/content/browser/web_contents/web_contents_impl.cc#newcode1564 content/browser/web_contents/web_contents_impl.cc:1564: AboutToOpenURL(params.url)); who's the WebContentsDelegate that gets called right below ...
8 years ago (2012-12-07 06:18:14 UTC) #8
Shishir
PTAL. https://codereview.chromium.org/11416187/diff/8012/chrome/browser/instant/instant_client.cc File chrome/browser/instant/instant_client.cc (right): https://codereview.chromium.org/11416187/diff/8012/chrome/browser/instant/instant_client.cc#newcode106 chrome/browser/instant/instant_client.cc:106: if (!is_main_frame) On 2012/12/07 01:14:34, samarth wrote: > ...
8 years ago (2012-12-07 21:01:25 UTC) #9
jam
https://codereview.chromium.org/11416187/diff/8012/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/11416187/diff/8012/content/browser/web_contents/web_contents_impl.cc#newcode1564 content/browser/web_contents/web_contents_impl.cc:1564: AboutToOpenURL(params.url)); On 2012/12/07 21:01:25, Shishir wrote: > On 2012/12/07 ...
8 years ago (2012-12-07 21:21:02 UTC) #10
Shishir
On 2012/12/07 21:21:02, John Abd-El-Malek wrote: > https://codereview.chromium.org/11416187/diff/8012/content/browser/web_contents/web_contents_impl.cc > File content/browser/web_contents/web_contents_impl.cc (right): > > https://codereview.chromium.org/11416187/diff/8012/content/browser/web_contents/web_contents_impl.cc#newcode1564 ...
8 years ago (2012-12-07 21:45:21 UTC) #11
samarth
FYI, sreeram renamed IsCurrent in 11476018, so you'll need to rebase on top of his ...
8 years ago (2012-12-07 21:47:29 UTC) #12
Shishir
On 2012/12/07 21:47:29, samarth wrote: > FYI, sreeram renamed IsCurrent in 11476018, so you'll need ...
8 years ago (2012-12-07 22:00:05 UTC) #13
sky
https://codereview.chromium.org/11416187/diff/9007/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): https://codereview.chromium.org/11416187/diff/9007/chrome/browser/ui/browser.cc#newcode1329 chrome/browser/ui/browser.cc:1329: if (instant_controller_) Does this really do what you want? ...
8 years ago (2012-12-07 22:01:45 UTC) #14
jam
> > maybe I wasn't clear. I'm not talking about changing the order of when ...
8 years ago (2012-12-07 22:11:53 UTC) #15
Shishir
PTAL. https://codereview.chromium.org/11416187/diff/9007/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): https://codereview.chromium.org/11416187/diff/9007/chrome/browser/ui/browser.cc#newcode1329 chrome/browser/ui/browser.cc:1329: if (instant_controller_) On 2012/12/07 22:01:46, sky wrote: > ...
8 years ago (2012-12-08 00:14:53 UTC) #16
sky
LGTM with the following change https://codereview.chromium.org/11416187/diff/16019/chrome/browser/instant/instant_loader.cc File chrome/browser/instant/instant_loader.cc (right): https://codereview.chromium.org/11416187/diff/16019/chrome/browser/instant/instant_loader.cc#newcode165 chrome/browser/instant/instant_loader.cc:165: if (loader_->controller_->CommitIfCurrent(INSTANT_COMMIT_NAVIGATED)) Style guide ...
8 years ago (2012-12-10 14:47:30 UTC) #17
Shishir
https://codereview.chromium.org/11416187/diff/16019/chrome/browser/instant/instant_loader.cc File chrome/browser/instant/instant_loader.cc (right): https://codereview.chromium.org/11416187/diff/16019/chrome/browser/instant/instant_loader.cc#newcode165 chrome/browser/instant/instant_loader.cc:165: if (loader_->controller_->CommitIfCurrent(INSTANT_COMMIT_NAVIGATED)) On 2012/12/10 14:47:30, sky wrote: > Style ...
8 years ago (2012-12-10 18:35:52 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shishir@chromium.org/11416187/21001
8 years ago (2012-12-10 18:37:01 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shishir@chromium.org/11416187/21001
8 years ago (2012-12-10 18:40:53 UTC) #20
Shishir
On 2012/12/10 18:40:53, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
8 years ago (2012-12-10 18:50:58 UTC) #21
Shishir
Fixed the crash that was caused due to removal of TabContents from the InstantLoader. Adding ...
8 years ago (2012-12-10 19:53:14 UTC) #22
Avi (use Gerrit)
LGTM
8 years ago (2012-12-10 19:55:51 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shishir@chromium.org/11416187/21006
8 years ago (2012-12-10 20:07:32 UTC) #24
commit-bot: I haz the power
8 years ago (2012-12-10 22:56:55 UTC) #25
Message was sent while issue was closed.
Change committed as 172168

Powered by Google App Engine
This is Rietveld 408576698