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

Issue 11833043: Instant Extended: Fallback to local preview if the remote instant page is not ready on user input. (Closed)

Created:
7 years, 11 months ago by Shishir
Modified:
7 years, 10 months ago
Reviewers:
sreeram, Evan Stade
CC:
chromium-reviews, melevin, samarth, gideonwald, dominich, arv (Not doing code reviews), David Black, Jered
Base URL:
https://chromium.googlesource.com/chromium/src.git@refactor
Visibility:
Public.

Description

Instant Extended: Fallback to local preview if the remote instant page is not ready on user input. Reverts back to the remote URL when the preview is not showing and the omnibox looses focus. BUG=159289 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180520

Patch Set 1 #

Patch Set 2 : Removing LOG messages. #

Total comments: 8

Patch Set 3 : Moving font initialization to RenderViewCreated. #

Patch Set 4 : Resolved conflicts with HEAD. #

Patch Set 5 : Moving fallback mode check to Update. #

Patch Set 6 : Fixing tests. #

Total comments: 4

Patch Set 7 : Addressing sreeram's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -28 lines) Patch
M chrome/browser/instant/instant_client.h View 1 2 3 4 5 6 3 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/instant/instant_client.cc View 1 2 3 4 5 6 3 chunks +15 lines, -11 lines 0 comments Download
M chrome/browser/instant/instant_controller.h View 1 2 3 4 5 6 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/instant/instant_controller.cc View 1 2 3 4 5 6 8 chunks +40 lines, -11 lines 0 comments Download
M chrome/browser/instant/instant_loader.h View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/instant/instant_loader.cc View 1 2 3 4 5 6 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/instant/instant_tab.h View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/instant/instant_tab.cc View 1 2 3 4 5 6 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/instant/instant_test_utils.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/local_omnibox_popup/local_omnibox_popup.js View 2 chunks +4 lines, -6 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Shishir
This CL is built on top of 11829062. PTAL.
7 years, 11 months ago (2013-01-10 22:26:28 UTC) #1
sreeram
https://chromiumcodereview.appspot.com/11833043/diff/2001/chrome/browser/instant/instant_loader.h File chrome/browser/instant/instant_loader.h (right): https://chromiumcodereview.appspot.com/11833043/diff/2001/chrome/browser/instant/instant_loader.h#newcode87 chrome/browser/instant/instant_loader.h:87: bool is_in_fallback_mode() const { return is_in_fallback_mode_; } Do we ...
7 years, 11 months ago (2013-01-22 03:58:03 UTC) #2
Shishir
https://codereview.chromium.org/11833043/diff/2001/chrome/browser/instant/instant_loader.h File chrome/browser/instant/instant_loader.h (right): https://codereview.chromium.org/11833043/diff/2001/chrome/browser/instant/instant_loader.h#newcode87 chrome/browser/instant/instant_loader.h:87: bool is_in_fallback_mode() const { return is_in_fallback_mode_; } On 2013/01/22 ...
7 years, 10 months ago (2013-01-25 22:11:25 UTC) #3
sreeram
https://codereview.chromium.org/11833043/diff/2001/chrome/browser/instant/instant_loader.h File chrome/browser/instant/instant_loader.h (right): https://codereview.chromium.org/11833043/diff/2001/chrome/browser/instant/instant_loader.h#newcode87 chrome/browser/instant/instant_loader.h:87: bool is_in_fallback_mode() const { return is_in_fallback_mode_; } On 2013/01/25 ...
7 years, 10 months ago (2013-01-29 17:02:21 UTC) #4
Shishir
https://codereview.chromium.org/11833043/diff/2001/chrome/browser/instant/instant_loader.h File chrome/browser/instant/instant_loader.h (right): https://codereview.chromium.org/11833043/diff/2001/chrome/browser/instant/instant_loader.h#newcode87 chrome/browser/instant/instant_loader.h:87: bool is_in_fallback_mode() const { return is_in_fallback_mode_; } On 2013/01/29 ...
7 years, 10 months ago (2013-01-29 20:06:31 UTC) #5
Shishir
Fixed tests. PTAL.
7 years, 10 months ago (2013-01-29 21:52:25 UTC) #6
sreeram
On 2013/01/29 20:06:31, Shishir wrote: > As discussed, we want to keep the EnsureLoaderIsCurrent call ...
7 years, 10 months ago (2013-01-30 19:28:01 UTC) #7
sreeram
https://codereview.chromium.org/11833043/diff/16003/chrome/browser/instant/instant_controller.h File chrome/browser/instant/instant_controller.h (right): https://codereview.chromium.org/11833043/diff/16003/chrome/browser/instant/instant_controller.h#newcode196 chrome/browser/instant/instant_controller.h:196: int end_margin() const { return end_margin_; } Won't it ...
7 years, 10 months ago (2013-01-30 19:28:07 UTC) #8
sreeram
https://codereview.chromium.org/11833043/diff/16003/chrome/browser/instant/instant_test_utils.cc File chrome/browser/instant/instant_test_utils.cc (right): https://codereview.chromium.org/11833043/diff/16003/chrome/browser/instant/instant_test_utils.cc#newcode61 chrome/browser/instant/instant_test_utils.cc:61: instant()->SetInstantEnabled(true); Yuck. Okay, I'll clean this up soon. Please ...
7 years, 10 months ago (2013-01-30 19:29:25 UTC) #9
Shishir
PTAL. https://codereview.chromium.org/11833043/diff/16003/chrome/browser/instant/instant_controller.h File chrome/browser/instant/instant_controller.h (right): https://codereview.chromium.org/11833043/diff/16003/chrome/browser/instant/instant_controller.h#newcode196 chrome/browser/instant/instant_controller.h:196: int end_margin() const { return end_margin_; } On ...
7 years, 10 months ago (2013-01-31 23:46:47 UTC) #10
sreeram
lgtm
7 years, 10 months ago (2013-02-01 21:21:42 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shishir@chromium.org/11833043/7014
7 years, 10 months ago (2013-02-01 21:31:52 UTC) #12
commit-bot: I haz the power
Presubmit check for 11833043-7014 failed and returned exit status 1. Running presubmit commit checks ...
7 years, 10 months ago (2013-02-01 21:32:10 UTC) #13
Shishir
Adding estade for chrome/browser/resources. PTAL.
7 years, 10 months ago (2013-02-01 21:33:44 UTC) #14
Evan Stade
lgtm
7 years, 10 months ago (2013-02-04 19:14:44 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shishir@chromium.org/11833043/7014
7 years, 10 months ago (2013-02-04 19:18:27 UTC) #16
commit-bot: I haz the power
7 years, 10 months ago (2013-02-04 21:27:58 UTC) #17
Message was sent while issue was closed.
Change committed as 180520

Powered by Google App Engine
This is Rietveld 408576698