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

Unified Diff: ash/common/shelf/shelf_widget.h

Issue 2274333002: ash: Move more code from Shelf to WmShelf (Closed)
Patch Set: review 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
« no previous file with comments | « ash/common/shelf/shelf_navigator_unittest.cc ('k') | ash/common/shelf/shelf_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/shelf_widget.h
diff --git a/ash/common/shelf/shelf_widget.h b/ash/common/shelf/shelf_widget.h
index d87e61a0b87ddf375f4fcd03fa04d8c97c5aa029..ac43c023ea1b8ea464e2fc67b2f4f134e37e3e40 100644
--- a/ash/common/shelf/shelf_widget.h
+++ b/ash/common/shelf/shelf_widget.h
@@ -90,6 +90,12 @@ class ASH_EXPORT ShelfWidget : public views::Widget,
// Force the shelf to be presented in an undimmed state.
void ForceUndimming(bool force);
+ // See WmShelf::UpdateIconPositionForPanel().
+ void UpdateIconPositionForPanel(WmWindow* panel);
+
+ // See WmShelf::GetScreenBoundsOfItemIconForWindow().
+ gfx::Rect GetScreenBoundsOfItemIconForWindow(WmWindow* window);
+
// Overridden from views::WidgetObserver:
void OnWidgetActivationChanged(views::Widget* widget, bool active) override;
« no previous file with comments | « ash/common/shelf/shelf_navigator_unittest.cc ('k') | ash/common/shelf/shelf_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698