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 d3e654553b22918bb55bde6dfd1710d6fe874a4d..dfcc3ba644570d4ce2ac4867104dc9a9342fb3d5 100644 |
| --- a/chrome/browser/instant/instant_controller.cc |
| +++ b/chrome/browser/instant/instant_controller.cc |
| @@ -810,6 +810,11 @@ void InstantController::InstantLoaderAboutToNavigateMainFrame(const GURL& url) { |
| CommitIfPossible(INSTANT_COMMIT_NAVIGATED); |
| } |
| +void InstantController::NavigateToURL(const GURL& url) { |
|
samarth
2012/12/12 16:32:27
Let's check for extended_enabled_ here to be safe.
Shishir
2012/12/12 20:04:47
Done.
|
| + HideLoader(); |
|
samarth
2012/12/12 16:32:27
If (loader_)
Shishir
2012/12/12 20:04:47
This can come from the instant_tab also. Also to r
samarth
2012/12/12 22:05:36
When it's coming from InstantTab, there's nothing
Shishir
2012/12/12 22:21:08
Done.
|
| + browser_->OpenURLInCurrentTab(url); |
| +} |
| + |
| bool InstantController::ResetLoader(const TemplateURL* template_url, |
| const content::WebContents* active_tab) { |
| std::string instant_url; |