| Index: chrome/browser/instant/instant_controller.cc
|
| diff --git a/chrome/browser/instant/instant_controller.cc b/chrome/browser/instant/instant_controller.cc
|
| index f0241917dd04ac53212ea1a86d935a033c692cb8..8a6d0a4d8045b981b2c073019dd51839242ba5ea 100644
|
| --- a/chrome/browser/instant/instant_controller.cc
|
| +++ b/chrome/browser/instant/instant_controller.cc
|
| @@ -387,6 +387,7 @@ void InstantController::HandleAutocompleteResults(
|
| result.type = UTF8ToUTF16(AutocompleteMatch::TypeToString(match->type));
|
| result.description = match->description;
|
| result.destination_url = UTF8ToUTF16(match->destination_url.spec());
|
| + result.transition = match->transition;
|
| result.relevance = match->relevance;
|
| DVLOG(1) << " " << result.relevance << " " << result.type << " "
|
| << result.provider << " " << result.destination_url << " '"
|
| @@ -835,6 +836,14 @@ void InstantController::OmniboxLostFocus(gfx::NativeView view_gaining_focus) {
|
| #endif
|
| }
|
|
|
| +void InstantController::NavigateToURL(const GURL& url,
|
| + content::PageTransition transition) {
|
| + if (!extended_enabled_)
|
| + return;
|
| + HideLoader();
|
| + browser_->OpenURLInCurrentTab(url, transition);
|
| +}
|
| +
|
| bool InstantController::ResetLoader(const TemplateURL* template_url,
|
| const content::WebContents* active_tab) {
|
| std::string instant_url;
|
|
|