Index: ash/shelf/shelf.cc |
diff --git a/ash/shelf/shelf.cc b/ash/shelf/shelf.cc |
index 58904c42a14adc29db4160e82e11acd114e2acfb..384eacaebe7d737317c18d9be5e964e2c7c6c207 100644 |
--- a/ash/shelf/shelf.cc |
+++ b/ash/shelf/shelf.cc |
@@ -72,6 +72,7 @@ void Shelf::SetAlignment(ShelfAlignment alignment) { |
alignment_ = alignment; |
shelf_view_->OnShelfAlignmentChanged(); |
// ShelfLayoutManager will resize the shelf. |
+ delegate_->OnAlignmentChanged(alignment); |
} |
bool Shelf::IsHorizontalAlignment() const { |
@@ -81,6 +82,7 @@ bool Shelf::IsHorizontalAlignment() const { |
void Shelf::SetAutoHideBehavior(ShelfAutoHideBehavior behavior) { |
shelf_widget_->shelf_layout_manager()->SetAutoHideBehavior(behavior); |
+ delegate_->OnAutoHideBehaviorChanged(behavior); |
} |
ShelfAutoHideBehavior Shelf::GetAutoHideBehavior() const { |