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

Unified Diff: ash/common/shelf/wm_shelf.h

Issue 2391253004: Use mojo Shelf interfaces for both mash and classic ash. (Closed)
Patch Set: Address comments. Created 4 years, 2 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/common/shelf/shelf_widget.cc ('k') | ash/common/shelf/wm_shelf.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/wm_shelf.h
diff --git a/ash/common/shelf/wm_shelf.h b/ash/common/shelf/wm_shelf.h
index e273c033959dc3097f76e8d48dabf5c23cf42fa7..526b9c5f6878d4cda7f38e73ff08e52d0534d32f 100644
--- a/ash/common/shelf/wm_shelf.h
+++ b/ash/common/shelf/wm_shelf.h
@@ -39,6 +39,10 @@ class ASH_EXPORT WmShelf : public ShelfLayoutManagerObserver {
// widget may not exist, or the shelf may not be visible.
static WmShelf* ForWindow(WmWindow* window);
+ // Returns if shelf alignment options are enabled, and the user is able to
+ // adjust the alignment (eg. not allowed in guest and supervised user modes).
+ static bool CanChangeShelfAlignment();
+
virtual void CreateShelfWidget(WmWindow* root);
void ShutdownShelfWidget();
void DestroyShelfWidget();
« no previous file with comments | « ash/common/shelf/shelf_widget.cc ('k') | ash/common/shelf/wm_shelf.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698