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

Unified Diff: ash/shelf/shelf_widget.h

Issue 1851883002: Cleanup shelf initialization and observation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Check for shelf before setting prefs in ChromeLauncherController. Created 4 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/shelf/shelf_widget.h
diff --git a/ash/shelf/shelf_widget.h b/ash/shelf/shelf_widget.h
index 9872705ef90229d6d9feb0795f9fbfb1a90b769d..ddaa2bc5a653b78afab34f9fe83a16aab4da288e 100644
--- a/ash/shelf/shelf_widget.h
+++ b/ash/shelf/shelf_widget.h
@@ -32,12 +32,11 @@ class ASH_EXPORT ShelfWidget : public views::Widget,
WorkspaceController* workspace_controller);
~ShelfWidget() override;
- // Returns if shelf alignment option is enabled, and the user is able
- // to adjust the alignment (guest and supervised mode users cannot for
- // example).
+ // Returns if shelf alignment option is enabled, and the user is able to
+ // adjust the alignment (guest and supervised mode users cannot for example).
static bool ShelfAlignmentAllowed();
- void SetAlignment(ShelfAlignment alignmnet);
+ void OnShelfAlignmentChanged();
ShelfAlignment GetAlignment() const;
// Sets the shelf's background type.

Powered by Google App Engine
This is Rietveld 408576698