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

Unified Diff: ash/shelf/overflow_button.h

Issue 1743493002: Cleanup ash shelf accessor functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert ash/shelf/shelf_widget.cc for browser_tests crash... Created 4 years, 10 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_view.cc ('k') | ash/shelf/overflow_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/overflow_button.h
diff --git a/ash/shelf/overflow_button.h b/ash/shelf/overflow_button.h
index 23270ddbbe7e4a6ab6572aed2bbe88d270521019..92cc6b7164e06cfae8f99aef0c4ed732bcbdbec1 100644
--- a/ash/shelf/overflow_button.h
+++ b/ash/shelf/overflow_button.h
@@ -13,12 +13,12 @@
namespace ash {
-class ShelfLayoutManager;
+class Shelf;
// Shelf overflow chevron button.
class OverflowButton : public views::CustomButton {
public:
- OverflowButton(views::ButtonListener* listener, ShelfLayoutManager* shelf);
+ OverflowButton(views::ButtonListener* listener, Shelf* shelf);
~OverflowButton() override;
void OnShelfAlignmentChanged();
@@ -35,7 +35,7 @@ class OverflowButton : public views::CustomButton {
gfx::ImageSkia right_image_;
// Bottom image is owned by the resource bundle.
const gfx::ImageSkia* bottom_image_;
- ShelfLayoutManager* shelf_;
+ Shelf* shelf_;
DISALLOW_COPY_AND_ASSIGN(OverflowButton);
};
« no previous file with comments | « ash/shelf/overflow_bubble_view.cc ('k') | ash/shelf/overflow_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698