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

Issue 5701008: Fixes bug in instant that resulted in flickery fade. The problem would (Closed)

Created:
10 years ago by sky
Modified:
9 years, 7 months ago
Reviewers:
Jay Civelli
CC:
chromium-reviews, pam+watch_chromium.org, Paweł Hajdan Jr., Evan Stade
Visibility:
Public.

Description

Fixes bug in instant that resulted in flickery fade. The problem would happen if instant wouldn't load the current url and you continued typing. For example, if the search engine doesn't support the instant API on each key press you would see the page fade out, then snap in. The fix is to make sure instant stays active until destroyed. That way if the preview is no longer valid, but instant is still active the page can remain faded out. This also adds a couple more tests for better coverage. BUG=66720 66539 TEST=see bug Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69201

Patch Set 1 #

Patch Set 2 : Cleanup #

Patch Set 3 : Adds content to 403.html as bots seem to have problem with empty file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+331 lines, -71 lines) Patch
M chrome/browser/gtk/browser_window_gtk.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/gtk/browser_window_gtk.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/instant/instant_browsertest.cc View 8 chunks +155 lines, -13 lines 0 comments Download
M chrome/browser/instant/instant_controller.h View 1 4 chunks +20 lines, -3 lines 0 comments Download
M chrome/browser/instant/instant_controller.cc View 1 9 chunks +51 lines, -21 lines 0 comments Download
M chrome/browser/instant/instant_delegate.h View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/browser.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser_window.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.mm View 1 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm View 1 1 chunk +5 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 chunk +6 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/frame/contents_container.h View 3 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/contents_container.cc View 5 chunks +61 lines, -15 lines 0 comments Download
A chrome/test/data/instant/403.html View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/test/data/instant/403.html.mock-http-headers View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/test_browser_window.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
sky
10 years ago (2010-12-14 17:27:23 UTC) #1
Jay Civelli
10 years ago (2010-12-14 23:58:15 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698