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

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

Issue 2147143002: [Chrome OS MD] Draw a 1px separator between 2 tray items (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge conflicts + comments Created 4 years, 4 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/common/shelf/wm_shelf.cc
diff --git a/ash/common/shelf/wm_shelf.cc b/ash/common/shelf/wm_shelf.cc
index 5ffbd4058ef9981a0efe0e91f8e97c05fd63cf64..68c77bc4210bbd1560a8a6329558eecd3376c4dc 100644
--- a/ash/common/shelf/wm_shelf.cc
+++ b/ash/common/shelf/wm_shelf.cc
@@ -161,6 +161,10 @@ void WmShelf::NotifyShelfIconPositionsChanged() {
FOR_EACH_OBSERVER(WmShelfObserver, observers_, OnShelfIconPositionsChanged());
}
+StatusAreaWidget* WmShelf::GetStatusAreaWidget() {
+ return shelf_layout_manager_->shelf_widget()->status_area_widget();
+}
+
void WmShelf::SetVirtualKeyboardBoundsForTesting(const gfx::Rect& bounds) {
shelf_layout_manager_->OnKeyboardBoundsChanging(bounds);
}

Powered by Google App Engine
This is Rietveld 408576698