Index: chrome/browser/instant/instant_controller.cc |
diff --git a/chrome/browser/instant/instant_controller.cc b/chrome/browser/instant/instant_controller.cc |
index e0fc9e77fef1b23103ee22eca53921410a28aee3..6dbc4041142d8b0ebae51478ea941b15d7044875 100644 |
--- a/chrome/browser/instant/instant_controller.cc |
+++ b/chrome/browser/instant/instant_controller.cc |
@@ -391,6 +391,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 << " '" |
@@ -840,6 +841,15 @@ void InstantController::OmniboxLostFocus(gfx::NativeView view_gaining_focus) { |
#endif |
} |
+void InstantController::NavigateToURL(const GURL& url, |
+ content::PageTransition transition) { |
+ if (!extended_enabled_) |
+ return; |
+ if (loader_) |
+ HideLoader(); |
+ browser_->OpenURLInCurrentTab(url, transition); |
+} |
+ |
bool InstantController::ResetLoader(const TemplateURL* template_url, |
const content::WebContents* active_tab) { |
std::string instant_url; |