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

Unified Diff: ash/launcher/launcher_delegate.h

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
« no previous file with comments | « no previous file | ash/launcher/launcher_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/launcher/launcher_delegate.h
diff --git a/ash/launcher/launcher_delegate.h b/ash/launcher/launcher_delegate.h
index 9e5fdc679c85fc1bade2388967ad6165c4f22598..acc1e926b67156d967136f5d0d8ba566c8214fe7 100644
--- a/ash/launcher/launcher_delegate.h
+++ b/ash/launcher/launcher_delegate.h
@@ -28,6 +28,9 @@ class ASH_EXPORT LauncherDelegate {
// Invoked when the user clicks on button in the launcher to create a new
// window.
virtual void CreateNewWindow() = 0;
+ // Invoked when the user clicks on button in the launcher to create a new
+ // incognito window.
+ virtual void CreateNewIncognitoWindow() = 0;
sky 2012/04/23 14:15:27 Since this and IsLogginedInAsGuest is only needed
DaveMoore 2012/04/23 17:48:08 Done.
// Invoked when the user clicks on a window entry in the launcher.
virtual void ItemClicked(const LauncherItem& item) = 0;
@@ -51,6 +54,9 @@ class ASH_EXPORT LauncherDelegate {
// Returns the id of the item associated with the specified window, or 0 if
// there isn't one.
virtual ash::LauncherID GetIDByWindow(aura::Window* window) = 0;
+
+ // Returns true if the user is currently logged in as a guest.
+ virtual bool IsLoggedInAsGuest() = 0;
};
} // namespace ash
« no previous file with comments | « no previous file | ash/launcher/launcher_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698