Index: ash/shell_delegate.h |
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h |
index 65696887ae573c569f4668410deb71724607d4af..4a17a7692f25a909f35dc1d87996d2c3a6ee5d16 100644 |
--- a/ash/shell_delegate.h |
+++ b/ash/shell_delegate.h |
@@ -12,6 +12,8 @@ |
#include "base/callback.h" |
#include "base/strings/string16.h" |
+class GURL; |
+ |
namespace app_list { |
class AppListViewDelegate; |
} |
@@ -107,6 +109,9 @@ class ASH_EXPORT ShellDelegate { |
virtual void RemoveVirtualKeyboardStateObserver( |
VirtualKeyboardStateObserver* observer) = 0; |
+ // Opens the |url| in a new browser tab. |
+ virtual void OpenUrl(const GURL& url) = 0; |
+ |
// Get the AppListViewDelegate, creating one if it does not yet exist. |
// Ownership stays with Chrome's AppListService, or the ShellDelegate. |
virtual app_list::AppListViewDelegate* GetAppListViewDelegate() = 0; |