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

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: pass GURL to OpenNewTab 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
Index: ash/shell_delegate.h
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h
index c574cd16809e7140b8efe52a1382cab5c404819e..3c55f0f1e5fd9f382683478a4fbf734a1d13f921 100644
--- a/ash/shell_delegate.h
+++ b/ash/shell_delegate.h
@@ -12,6 +12,8 @@
#include "base/callback.h"
#include "base/string16.h"
+class GURL;
+
namespace aura {
class Window;
}
@@ -77,6 +79,9 @@ class ASH_EXPORT ShellDelegate {
CycleSource source,
CycleOrder order) const = 0;
+ // Invoked to open new browser tab with URL |url|.
+ virtual void OpenNewTab(const GURL& url) = 0;
+
// Launcher related methods --------------------------------------------------
// Invoked when the user clicks on button in the launcher to create a new

Powered by Google App Engine
This is Rietveld 408576698