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

Issue 14843002: InstantExtended: don't reset InstantTab if not ready. (Closed)

Created:
7 years, 7 months ago by samarth
Modified:
7 years, 7 months ago
Reviewers:
sreeram
CC:
chromium-reviews, melevin, dhollowa+watch_chromium.org, dougw+watch_chromium.org, sreeram, gideonwald, dominich, David Black, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, Jered
Visibility:
Public.

Description

InstantExtended: don't reset InstantTab if not ready. Currently, we reset InstantTab if it's not ready by the time user starts typing. With this change, we switch over to using the overlay, but leave the tab connected so it has a chacne to finish loading. We'll try the tab again when the overlay is hidden or committed. BUG=236594 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198460

Patch Set 1 #

Patch Set 2 : Rebase. #

Total comments: 2

Patch Set 3 : Add test. #

Total comments: 2

Patch Set 4 : Address comment. #

Patch Set 5 : Rebase. #

Patch Set 6 : Rebase. #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -30 lines) Patch
M chrome/browser/ui/search/instant_controller.h View 1 2 3 4 5 6 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/search/instant_controller.cc View 1 2 3 4 5 22 chunks +37 lines, -30 lines 0 comments Download
M chrome/browser/ui/search/instant_extended_interactive_uitest.cc View 1 2 3 4 5 6 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
samarth
This fixes the open-tab-and-type-quickly case. Thanks, Samarth
7 years, 7 months ago (2013-05-02 05:48:58 UTC) #1
sreeram
looks good; please add tests. https://codereview.chromium.org/14843002/diff/3001/chrome/browser/ui/search/instant_controller.cc File chrome/browser/ui/search/instant_controller.cc (right): https://codereview.chromium.org/14843002/diff/3001/chrome/browser/ui/search/instant_controller.cc#newcode266 chrome/browser/ui/search/instant_controller.cc:266: return; I wrote this ...
7 years, 7 months ago (2013-05-05 19:44:42 UTC) #2
samarth
Added test. PTAL. Thanks! Samarth https://codereview.chromium.org/14843002/diff/3001/chrome/browser/ui/search/instant_controller.cc File chrome/browser/ui/search/instant_controller.cc (right): https://codereview.chromium.org/14843002/diff/3001/chrome/browser/ui/search/instant_controller.cc#newcode266 chrome/browser/ui/search/instant_controller.cc:266: return; On 2013/05/05 19:44:42, ...
7 years, 7 months ago (2013-05-05 21:00:08 UTC) #3
sreeram
https://codereview.chromium.org/14843002/diff/6002/chrome/browser/ui/search/instant_extended_interactive_uitest.cc File chrome/browser/ui/search/instant_extended_interactive_uitest.cc (right): https://codereview.chromium.org/14843002/diff/6002/chrome/browser/ui/search/instant_extended_interactive_uitest.cc#newcode2306 chrome/browser/ui/search/instant_extended_interactive_uitest.cc:2306: instant()->instant_tab_->supports_instant_ = false; Why do this? If you removed ...
7 years, 7 months ago (2013-05-05 21:06:41 UTC) #4
samarth
https://codereview.chromium.org/14843002/diff/6002/chrome/browser/ui/search/instant_extended_interactive_uitest.cc File chrome/browser/ui/search/instant_extended_interactive_uitest.cc (right): https://codereview.chromium.org/14843002/diff/6002/chrome/browser/ui/search/instant_extended_interactive_uitest.cc#newcode2306 chrome/browser/ui/search/instant_extended_interactive_uitest.cc:2306: instant()->instant_tab_->supports_instant_ = false; On 2013/05/05 21:06:41, sreeram wrote: > ...
7 years, 7 months ago (2013-05-05 21:18:33 UTC) #5
sreeram
lgtm
7 years, 7 months ago (2013-05-05 21:24:07 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/samarth@chromium.org/14843002/11001
7 years, 7 months ago (2013-05-05 21:24:28 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/samarth@chromium.org/14843002/10003
7 years, 7 months ago (2013-05-05 21:35:48 UTC) #8
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ui/search/instant_controller.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 7 months ago (2013-05-06 08:09:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/samarth@chromium.org/14843002/26001
7 years, 7 months ago (2013-05-06 08:19:14 UTC) #10
commit-bot: I haz the power
7 years, 7 months ago (2013-05-06 15:32:21 UTC) #11
Message was sent while issue was closed.
Change committed as 198460

Powered by Google App Engine
This is Rietveld 408576698