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

Unified Diff: ash/shelf/shelf_delegate.h

Issue 107163005: [ash] Add TYPE_DIALOG and its item's LauncherContextMenu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/shelf/shelf_delegate.h
diff --git a/ash/shelf/shelf_delegate.h b/ash/shelf/shelf_delegate.h
index e168c47027707d2a66b57bf58cae755f6d452c4e..57f7321e6207f41bf0666ffb094abf1d171de5e0 100644
--- a/ash/shelf/shelf_delegate.h
+++ b/ash/shelf/shelf_delegate.h
@@ -8,6 +8,10 @@
#include "ash/ash_export.h"
#include "ash/launcher/launcher_types.h"
+namespace aura {
+class Window;
+}
+
namespace ash {
class Launcher;
@@ -45,6 +49,11 @@ class ASH_EXPORT ShelfDelegate {
// Unpins app item with |app_id|.
virtual void UnpinAppWithID(const std::string& app_id) = 0;
+
+ // Returns |true| if the user is allowed to modify the shelf auto-hide
+ // behavior on |root_window|.
+ virtual bool CanUserModifyShelfAutoHideBehavior(
+ aura::Window* root_window) const = 0;
};
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698