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

Unified Diff: ash/aura/wm_shelf_aura.cc

Issue 2046843005: mash: Migrate shelf menus to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ash_shell_with_content Created 4 years, 6 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/aura/wm_shelf_aura.h ('k') | ash/common/shelf/wm_shelf.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/aura/wm_shelf_aura.cc
diff --git a/ash/aura/wm_shelf_aura.cc b/ash/aura/wm_shelf_aura.cc
index c5db74ba9cf1d9db4b52a408c330f0d7d9285ad6..25ffb6721edd3ad226d2f156a77043fc7d5f5d1e 100644
--- a/ash/aura/wm_shelf_aura.cc
+++ b/ash/aura/wm_shelf_aura.cc
@@ -59,6 +59,18 @@ ShelfAlignment WmShelfAura::GetAlignment() const {
return shelf_->alignment();
}
+void WmShelfAura::SetAlignment(ShelfAlignment alignment) {
+ shelf_->SetAlignment(alignment);
+}
+
+ShelfAutoHideBehavior WmShelfAura::GetAutoHideBehavior() const {
+ return shelf_->auto_hide_behavior();
+}
+
+void WmShelfAura::SetAutoHideBehavior(ShelfAutoHideBehavior behavior) {
+ shelf_->SetAutoHideBehavior(behavior);
+}
+
ShelfBackgroundType WmShelfAura::GetBackgroundType() const {
return shelf_->shelf_widget()->GetBackgroundType();
}
« no previous file with comments | « ash/aura/wm_shelf_aura.h ('k') | ash/common/shelf/wm_shelf.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698