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

Unified Diff: ash/shell/shell_main.cc

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/shell_main.cc
diff --git a/ash/shell/shell_main.cc b/ash/shell/shell_main.cc
index 93029909995e58ede9cc7028bd47dde6a0071fea..1f76d051fd70271ea7346caffddebeb69e532bd1 100644
--- a/ash/shell/shell_main.cc
+++ b/ash/shell/shell_main.cc
@@ -30,6 +30,8 @@
#include "ui/views/widget/widget.h"
#include "ui/views/widget/widget_delegate.h"
+class GURL;
+
namespace {
class ShellViewsDelegate : public views::TestViewsDelegate {
@@ -155,6 +157,9 @@ class ShellDelegateImpl : public ash::ShellDelegate {
return windows;
}
+ virtual void OpenNewTab(const GURL& url) OVERRIDE {
+ }
+
virtual void LauncherItemClicked(
const ash::LauncherItem& item) OVERRIDE {
aura::Window* window = watcher_->GetWindowByID(item.id);

Powered by Google App Engine
This is Rietveld 408576698