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

Unified Diff: ash/shelf/shelf_widget.cc

Issue 2807693002: Make LogoutButtonTray a regular View (Closed)
Patch Set: Rebased Created 3 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
« no previous file with comments | « ash/shelf/shelf_layout_manager_unittest.cc ('k') | ash/system/date/tray_system_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_widget.cc
diff --git a/ash/shelf/shelf_widget.cc b/ash/shelf/shelf_widget.cc
index 3d0782861afae7a43947a1206316f878d91461f6..6a6b7c14dd2a0673c12f58fbaa0426fb307f2b27 100644
--- a/ash/shelf/shelf_widget.cc
+++ b/ash/shelf/shelf_widget.cc
@@ -221,8 +221,7 @@ bool ShelfWidget::IsShelfHiddenBehindBlackBar() const {
void ShelfWidget::OnShelfAlignmentChanged() {
shelf_view_->OnShelfAlignmentChanged();
- // TODO(jamescook): Status area should not cache alignment.
- status_area_widget_->SetShelfAlignment(wm_shelf_->GetAlignment());
+ status_area_widget_->UpdateAfterShelfAlignmentChange();
delegate_view_->SchedulePaint();
}
« no previous file with comments | « ash/shelf/shelf_layout_manager_unittest.cc ('k') | ash/system/date/tray_system_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698