Chromium Code Reviews| Index: chrome/browser/ui/browser_instant_controller.cc |
| diff --git a/chrome/browser/ui/browser_instant_controller.cc b/chrome/browser/ui/browser_instant_controller.cc |
| index 9b8204994fd1436220b588d895528755bbde7b95..d3810cd7e5ea2a0d94cd549376fa9e4402a55334 100644 |
| --- a/chrome/browser/ui/browser_instant_controller.cc |
| +++ b/chrome/browser/ui/browser_instant_controller.cc |
| @@ -154,6 +154,16 @@ void BrowserInstantController::UpdateThemeInfoForPreview() { |
| OnThemeChanged(NULL); |
| } |
| +void BrowserInstantController::OpenURLInCurrentTab(const GURL& url) { |
| + browser_->OpenURL(content::OpenURLParams( |
| + url, |
| + content::Referrer(), |
|
samarth
2012/12/07 02:01:35
This is fine for now, but there might be cases whe
Shishir
2012/12/10 20:40:39
Sure. It's easy to add params and maybe we could e
|
| + CURRENT_TAB, |
| + content::PAGE_TRANSITION_TYPED, |
| + //content::PAGE_TRANSITION_FROM_ADDRESS_BAR, |
|
samarth
2012/12/07 02:01:35
remove?
Shishir
2012/12/10 20:40:39
Not 100% sure what transition we want to label thi
|
| + false)); |
| +} |
| + |
| void BrowserInstantController::ResetInstant() { |
| instant_.SetInstantEnabled(IsInstantEnabled(browser_->profile())); |
| } |