Index: ash/shell_delegate.h |
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h |
index c574cd16809e7140b8efe52a1382cab5c404819e..3b493cac21b8cbfc3618899e826ecb6bd6f167ac 100644 |
--- a/ash/shell_delegate.h |
+++ b/ash/shell_delegate.h |
@@ -47,6 +47,12 @@ class ASH_EXPORT ShellDelegate { |
SOURCE_LAUNCHER, |
}; |
+ // Type of content to be shown when opening new tab. |
+ enum NewTabContentType { |
+ // Crosh should ber opened in the new tab. |
+ NEW_TAB_CONTENT_CROSH |
+ }; |
+ |
// The Shell owns the delegate. |
virtual ~ShellDelegate() {} |
@@ -77,6 +83,8 @@ class ASH_EXPORT ShellDelegate { |
CycleSource source, |
CycleOrder order) const = 0; |
+ virtual void OpenNewTab(NewTabContentType type) = 0; |
Ben Goodger (Google)
2012/01/30 19:06:16
This function should take a const GURL& instead of
|
+ |
// Launcher related methods -------------------------------------------------- |
// Invoked when the user clicks on button in the launcher to create a new |