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

Unified Diff: ash/shelf/overflow_bubble_view.h

Issue 1659283002: ash: Explicitly teach various components about ShelfLayoutManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ozone-ui-event-platform-event
Patch Set: fix-test Created 4 years, 11 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/overflow_bubble.cc ('k') | ash/shelf/overflow_bubble_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/overflow_bubble_view.h
diff --git a/ash/shelf/overflow_bubble_view.h b/ash/shelf/overflow_bubble_view.h
index 8859fe2e31cc79eeafb0d1c84ec373523009bfa1..5feeeed84af51ccdc487d02fb028c82197b53ffb 100644
--- a/ash/shelf/overflow_bubble_view.h
+++ b/ash/shelf/overflow_bubble_view.h
@@ -43,6 +43,8 @@ class ASH_EXPORT OverflowBubbleView : public views::BubbleDelegateView {
void ScrollByXOffset(int x_offset);
void ScrollByYOffset(int y_offset);
+ ShelfLayoutManager* GetShelfLayoutManager() const;
+
// views::View overrides:
gfx::Size GetPreferredSize() const override;
void Layout() override;
@@ -52,8 +54,6 @@ class ASH_EXPORT OverflowBubbleView : public views::BubbleDelegateView {
// ui::EventHandler overrides:
void OnScrollEvent(ui::ScrollEvent* event) override;
- ShelfLayoutManager* GetShelfLayoutManager() const;
-
ShelfView* shelf_view_; // Owned by views hierarchy.
gfx::Vector2d scroll_offset_;
« no previous file with comments | « ash/shelf/overflow_bubble.cc ('k') | ash/shelf/overflow_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698