Index: chrome/browser/ui/app_list/app_list_controller_delegate_impl.cc |
diff --git a/chrome/browser/ui/app_list/app_list_controller_delegate_impl.cc b/chrome/browser/ui/app_list/app_list_controller_delegate_impl.cc |
index 3373b4cc6be9b39197b39e81efb97c7e6a07bb1e..0dfe72750350eca7d638481acb843e00379d3837 100644 |
--- a/chrome/browser/ui/app_list/app_list_controller_delegate_impl.cc |
+++ b/chrome/browser/ui/app_list/app_list_controller_delegate_impl.cc |
@@ -10,6 +10,7 @@ |
#include "chrome/browser/ui/app_list/app_list_service_impl.h" |
#include "chrome/browser/ui/browser_commands.h" |
#include "chrome/browser/ui/browser_dialogs.h" |
+#include "chrome/browser/ui/browser_navigator.h" |
#include "chrome/browser/ui/extensions/application_launch.h" |
#include "chrome/common/extensions/manifest_handlers/app_launch_info.h" |
#include "extensions/browser/extension_system.h" |
@@ -86,6 +87,15 @@ void AppListControllerDelegateImpl::CreateNewWindow(Profile* profile, |
chrome::NewEmptyWindow(window_profile, chrome::HOST_DESKTOP_TYPE_NATIVE); |
} |
+void AppListControllerDelegateImpl::OpenURL(Profile* profile, |
+ const GURL& url, |
+ ui::PageTransition transition, |
+ WindowOpenDisposition disposition) { |
+ chrome::NavigateParams params(profile, url, transition); |
+ params.disposition = disposition; |
+ chrome::Navigate(¶ms); |
+} |
+ |
void AppListControllerDelegateImpl::ActivateApp( |
Profile* profile, |
const extensions::Extension* extension, |