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

Unified Diff: ash/shell/launcher_delegate_impl.cc

Issue 9854009: Add tooltip text for chrome shortcut (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add method to ash_shell Created 8 years, 9 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/launcher_delegate_impl.h ('k') | chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/launcher_delegate_impl.cc
diff --git a/ash/shell/launcher_delegate_impl.cc b/ash/shell/launcher_delegate_impl.cc
index 91ec431bec5f55cd2ed726d4a4fcde534ba72a27..f5933b1d85f5893aeea56f9eaae28d1dd27a7767 100644
--- a/ash/shell/launcher_delegate_impl.cc
+++ b/ash/shell/launcher_delegate_impl.cc
@@ -20,7 +20,12 @@ LauncherDelegateImpl::LauncherDelegateImpl(WindowWatcher* watcher)
LauncherDelegateImpl::~LauncherDelegateImpl() {
}
+// In the shell we'll create a window all the time.
void LauncherDelegateImpl::CreateNewTab() {
+ CreateNewWindow();
+}
+
+void LauncherDelegateImpl::CreateNewWindow() {
ash::shell::ToplevelWindow::CreateParams create_params;
create_params.can_resize = true;
create_params.can_maximize = true;
« no previous file with comments | « ash/shell/launcher_delegate_impl.h ('k') | chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698