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

Issue 12001002: InstantExtended: Transient naventry for preview. (Closed)

Created:
7 years, 11 months ago by Jered
Modified:
7 years, 8 months ago
Reviewers:
brettw, sreeram, sky
CC:
chromium-reviews, joi+watch-content_chromium.org, melevin, jam, gideonwald, dominich, David Black, samarth+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

InstantExtended: Transient naventry for preview. Adds a transient navigation entry to the active tab when an uncommited preview is made full height. This makes the back button go back to the page the user searched from, rather than the page before it; and causes the tab title to show "Google" when it is previewing search results, rather than the title of the page the user searched from. BUG=170479

Patch Set 1 #

Patch Set 2 : Rebase. #

Patch Set 3 : Save old transient entry; update URL. #

Total comments: 2

Patch Set 4 : Rebase. #

Patch Set 5 : Address comment. #

Total comments: 4

Patch Set 6 : Address comments. #

Total comments: 2

Patch Set 7 : Leave existing transient entry alone. #

Patch Set 8 : Rebase. #

Patch Set 9 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -24 lines) Patch
M chrome/browser/instant/instant_controller.h View 1 2 3 4 5 6 7 8 3 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/instant/instant_controller.cc View 1 2 3 4 5 6 7 8 4 chunks +43 lines, -1 line 0 comments Download
M chrome/browser/instant/instant_loader.h View 1 2 3 4 5 6 7 8 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/instant/instant_loader.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/instant/instant_overlay.h View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/web_contents/navigation_controller_impl.h View 1 2 3 4 5 6 7 8 2 chunks +1 line, -11 lines 0 comments Download
M content/browser/web_contents/navigation_controller_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +13 lines, -12 lines 0 comments Download
M content/public/browser/navigation_controller.h View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Jered
Please review sreeram -> instant sky -> content samarth fyi
7 years, 11 months ago (2013-01-17 19:21:05 UTC) #1
sky
sky->brettw . Brett, only look at the content changes.
7 years, 11 months ago (2013-01-17 20:28:39 UTC) #2
sreeram
This change scares me a bit, because the transient entry is what is returned by ...
7 years, 11 months ago (2013-01-17 22:00:08 UTC) #3
brettw
I'm scared about adding a transient entry. I'd also like more info on the "blowing ...
7 years, 11 months ago (2013-01-18 21:44:11 UTC) #4
Jered
On 2013/01/18 21:44:11, brettw wrote: > I'm scared about adding a transient entry. I'd also ...
7 years, 11 months ago (2013-01-19 00:09:29 UTC) #5
sreeram
I'm still worried :) Convince me that this change is safe. In particular, now I ...
7 years, 11 months ago (2013-01-22 05:28:34 UTC) #6
Jered
On 2013/01/22 05:28:34, sreeram wrote: > I'm still worried :) Convince me that this change ...
7 years, 11 months ago (2013-01-23 21:52:00 UTC) #7
Jered
https://chromiumcodereview.appspot.com/12001002/diff/9001/chrome/browser/instant/instant_controller.cc File chrome/browser/instant/instant_controller.cc (right): https://chromiumcodereview.appspot.com/12001002/diff/9001/chrome/browser/instant/instant_controller.cc#newcode1186 chrome/browser/instant/instant_controller.cc:1186: instant_set_transient_entry_ = true; On 2013/01/22 05:28:34, sreeram wrote: > ...
7 years, 11 months ago (2013-01-23 21:52:07 UTC) #8
sreeram
On 2013/01/23 21:52:07, Jered wrote: > Navigating after 3 seconds is a very Google-specific behavior, ...
7 years, 11 months ago (2013-01-23 22:07:09 UTC) #9
Jered
On 2013/01/23 22:07:09, sreeram wrote: > On 2013/01/23 21:52:07, Jered wrote: > > Navigating after ...
7 years, 11 months ago (2013-01-24 19:25:08 UTC) #10
sreeram
On 2013/01/24 19:25:08, Jered wrote: > This seems reasonable, provided that we're ok with the ...
7 years, 11 months ago (2013-01-24 19:39:03 UTC) #11
Jered
PTAL sreeram. PS5 has the new behavior we talked about. I spent a long time ...
7 years, 11 months ago (2013-01-25 00:17:52 UTC) #12
sreeram
On 2013/01/25 00:17:52, Jered wrote: > I think we're really only concerned with actions that ...
7 years, 11 months ago (2013-01-25 18:17:13 UTC) #13
sreeram
https://codereview.chromium.org/12001002/diff/12002/chrome/browser/instant/instant_controller.cc File chrome/browser/instant/instant_controller.cc (right): https://codereview.chromium.org/12001002/diff/12002/chrome/browser/instant/instant_controller.cc#newcode8 chrome/browser/instant/instant_controller.cc:8: #include "base/debug/stack_trace.h" Remove this before submitting. https://codereview.chromium.org/12001002/diff/12002/chrome/browser/instant/instant_controller.h File chrome/browser/instant/instant_controller.h ...
7 years, 11 months ago (2013-01-25 18:17:28 UTC) #14
Jered
Thanks for catching the tab close issue, fixed. https://chromiumcodereview.appspot.com/12001002/diff/12002/chrome/browser/instant/instant_controller.cc File chrome/browser/instant/instant_controller.cc (right): https://chromiumcodereview.appspot.com/12001002/diff/12002/chrome/browser/instant/instant_controller.cc#newcode8 chrome/browser/instant/instant_controller.cc:8: #include ...
7 years, 11 months ago (2013-01-25 19:27:18 UTC) #15
sreeram
https://codereview.chromium.org/12001002/diff/11002/chrome/browser/instant/instant_controller.cc File chrome/browser/instant/instant_controller.cc (right): https://codereview.chromium.org/12001002/diff/11002/chrome/browser/instant/instant_controller.cc#newcode699 chrome/browser/instant/instant_controller.cc:699: saved_transient_entry_.reset(); Doesn't this break tab-restore? Quoting myself from earlier: ...
7 years, 11 months ago (2013-01-25 21:28:02 UTC) #16
Jered
Hey Sreeram, I am just coming back to this today. New PS leaves the transient ...
7 years, 10 months ago (2013-02-04 16:35:42 UTC) #17
Jered
PS9 rebases on top of the committed NTP change. On 2013/02/04 16:35:42, Jered wrote: > ...
7 years, 10 months ago (2013-02-08 20:09:57 UTC) #18
sreeram
Just a quick update: There's an offline discussion going on about the right thing to ...
7 years, 9 months ago (2013-03-15 19:44:29 UTC) #19
Jered
7 years, 8 months ago (2013-04-19 22:41:08 UTC) #20
On 2013/03/15 19:44:29, sreeram wrote:
> Just a quick update: There's an offline discussion going on about the right
> thing to do with respect to nav entries, Escape, Back button, etc. Let's
revisit
> this CL after the dust has settled on that thread.

I still think we should do this, but am abandoning this patch as it's hopelessly
old. I'll rebuild this when we have time.

Powered by Google App Engine
This is Rietveld 408576698