Chromium Code Reviews| Index: chrome/browser/instant/instant_controller.cc |
| diff --git a/chrome/browser/instant/instant_controller.cc b/chrome/browser/instant/instant_controller.cc |
| index be835bb3703cd3a495288b0474c4388424f5e257..d30decc3f2a2b539c8789096ef378303b05e29e3 100644 |
| --- a/chrome/browser/instant/instant_controller.cc |
| +++ b/chrome/browser/instant/instant_controller.cc |
| @@ -792,6 +792,11 @@ void InstantController::InstantLoaderRenderViewGone() { |
| CreateDefaultLoader(); |
| } |
| +void InstantController::NavigateToURL(const GURL& url) { |
| + CommitIfPossible(INSTANT_COMMIT_REQUESTED_NAVIGATION); |
|
samarth
2012/12/11 04:42:10
Do we want to commit here? If a URL suggestion wa
Shishir
2012/12/11 20:22:39
Like we discussed, we will keep the committing log
|
| + browser_->OpenURLInCurrentTab(url); |
| +} |
| + |
| bool InstantController::ResetLoader(const TemplateURL* template_url, |
| const content::WebContents* active_tab) { |
| std::string instant_url; |