Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2519)

Unified Diff: ash/shell_delegate.h

Issue 9297008: [HTerm-Crosh] Add key shortcut for opening Crosh on ChromeOS Aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/shell/shell_main.cc ('k') | ash/test/test_shell_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ash/shell/shell_main.cc ('k') | ash/test/test_shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698