Chromium Code Reviews| Index: chrome/browser/ui/search/instant_controller.cc |
| diff --git a/chrome/browser/ui/search/instant_controller.cc b/chrome/browser/ui/search/instant_controller.cc |
| index d01af5d992390385c60bd3bfa0da63f82dd122ff..12fadfc4a0a89894d4a5b92136f2ca44cdd8157a 100644 |
| --- a/chrome/browser/ui/search/instant_controller.cc |
| +++ b/chrome/browser/ui/search/instant_controller.cc |
| @@ -1248,6 +1248,18 @@ void InstantController::InstantPageRenderViewCreated( |
| UpdateMostVisitedItems(); |
| } |
| +void InstantController::InstantSupportChanged( |
| + const content::WebContents* contents, |
|
samarth
2013/06/19 05:25:02
This parameter is no longer necessary.
kmadhusu
2013/06/19 16:28:15
Fixed.
|
| + InstantSupportState instant_support) { |
| + // Handle INSTANT_SUPPORT_YES here because InstantPage is not hooked up to the |
| + // active tab. Search model changed listener in InstantPage will handle other |
| + // cases. |
| + if (instant_support != INSTANT_SUPPORT_YES) |
| + return; |
| + |
| + ResetInstantTab(); |
| +} |
| + |
| void InstantController::InstantSupportDetermined( |
| const content::WebContents* contents, |
| bool supports_instant) { |