Index: chrome/browser/ui/app_list/app_list_controller_delegate.h |
diff --git a/chrome/browser/ui/app_list/app_list_controller_delegate.h b/chrome/browser/ui/app_list/app_list_controller_delegate.h |
index b3a340329f0d68ef9b1a2729d5de1fc505c019f6..c419c8fe2386dc9213319f597774b322e351ebe5 100644 |
--- a/chrome/browser/ui/app_list/app_list_controller_delegate.h |
+++ b/chrome/browser/ui/app_list/app_list_controller_delegate.h |
@@ -8,6 +8,8 @@ |
#include <string> |
#include "chrome/common/extensions/extension_constants.h" |
+#include "ui/base/page_transition_types.h" |
+#include "ui/base/window_open_disposition.h" |
#include "ui/gfx/native_widget_types.h" |
class Profile; |
@@ -100,6 +102,12 @@ class AppListControllerDelegate { |
// |incognito| is true to create an incognito window. |
virtual void CreateNewWindow(Profile* profile, bool incognito) = 0; |
+ // Opens the URL. |
+ virtual void OpenURL(Profile* profile, |
+ const GURL& url, |
+ ui::PageTransition transition, |
+ WindowOpenDisposition disposition) = 0; |
+ |
// Show the app's most recent window, or launch it if it is not running. |
virtual void ActivateApp(Profile* profile, |
const extensions::Extension* extension, |