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

Issue 5073002: Modifies the Instant loader to listen for RENDER_VIEW_HOST_CHANGED notificati... (Closed)

Created:
10 years, 1 month ago by rohitrao (ping after 24h)
Modified:
9 years, 7 months ago
Reviewers:
sky
CC:
chromium-reviews, ben+cc_chromium.org
Visibility:
Public.

Description

Modifies the Instant loader to listen for RENDER_VIEW_HOST_CHANGED notifications on Mac. This notification is sent when a given TabContents changes its renderer, and on Mac we need to call SetTakesFocusOnlyOnMouseDown() on the new RWHV. BUG=63330 TEST=Type in omnibox with Instant on. Arrow down through results, then click on preview contents. Preview contents should not disappear. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=66312

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 7

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -8 lines) Patch
M chrome/browser/instant/instant_loader.h View 1 4 chunks +11 lines, -2 lines 0 comments Download
M chrome/browser/instant/instant_loader.cc View 1 2 3 4 5 5 chunks +37 lines, -6 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
rohitrao (ping after 24h)
10 years, 1 month ago (2010-11-16 17:26:54 UTC) #1
sky
http://codereview.chromium.org/5073002/diff/8001/chrome/browser/instant/instant_loader.cc File chrome/browser/instant/instant_loader.cc (right): http://codereview.chromium.org/5073002/diff/8001/chrome/browser/instant/instant_loader.cc#newcode394 chrome/browser/instant/instant_loader.cc:394: registrar_.RemoveAll(); Is this needed? http://codereview.chromium.org/5073002/diff/8001/chrome/browser/instant/instant_loader.cc#newcode619 chrome/browser/instant/instant_loader.cc:619: registrar_.Add( Any reason ...
10 years, 1 month ago (2010-11-16 17:41:04 UTC) #2
rohitrao (ping after 24h)
Moved the notification registration to be up at preview contents creation time. Verified that this ...
10 years, 1 month ago (2010-11-16 18:33:59 UTC) #3
sky
http://codereview.chromium.org/5073002/diff/8001/chrome/browser/instant/instant_loader.cc File chrome/browser/instant/instant_loader.cc (right): http://codereview.chromium.org/5073002/diff/8001/chrome/browser/instant/instant_loader.cc#newcode394 chrome/browser/instant/instant_loader.cc:394: registrar_.RemoveAll(); On 2010/11/16 18:33:59, rohitrao wrote: > On 2010/11/16 ...
10 years, 1 month ago (2010-11-16 18:42:29 UTC) #4
sky
10 years, 1 month ago (2010-11-16 18:43:27 UTC) #5
Add back the explicit remove, and LGTM

Powered by Google App Engine
This is Rietveld 408576698