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

Unified Diff: ash/shell/launcher_delegate_impl.cc

Issue 10139025: Add support for a context menu on the browser shortcut icon (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/launcher_delegate_impl.cc
diff --git a/ash/shell/launcher_delegate_impl.cc b/ash/shell/launcher_delegate_impl.cc
index ddf4add67081a7a2b5c13a6cac5ac742ef81c406..1e1b5c23a62e018a3d9e1460e1c966a2bf6e4026 100644
--- a/ash/shell/launcher_delegate_impl.cc
+++ b/ash/shell/launcher_delegate_impl.cc
@@ -33,6 +33,10 @@ void LauncherDelegateImpl::CreateNewWindow() {
ash::shell::ToplevelWindow::CreateToplevelWindow(create_params);
}
+void LauncherDelegateImpl::CreateNewIncognitoWindow() {
+ CreateNewWindow();
+}
+
void LauncherDelegateImpl::ItemClicked(const ash::LauncherItem& item) {
aura::Window* window = watcher_->GetWindowByID(item.id);
window->Show();
@@ -60,5 +64,9 @@ ash::LauncherID LauncherDelegateImpl::GetIDByWindow(aura::Window* window) {
return watcher_->GetIDByWindow(window);
}
+bool LauncherDelegateImpl::IsLoggedInAsGuest() {
+ return false;
+}
+
} // namespace shell
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698