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

Unified Diff: ash/shelf/shelf_layout_manager.h

Issue 2053113002: Replaced BackgroundAnimator with ShelfBackgroundAnimator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Made the ShelfView add/remove itself as an observer from the ShelfBackgroundAnimator. Created 4 years, 5 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/shelf/shelf_layout_manager.h
diff --git a/ash/shelf/shelf_layout_manager.h b/ash/shelf/shelf_layout_manager.h
index f68995f497ff7d6398e241acb0ecb0dfba591fa5..43dfceb005e79c0c7d84d1e1177055c20d6dc139 100644
--- a/ash/shelf/shelf_layout_manager.h
+++ b/ash/shelf/shelf_layout_manager.h
@@ -199,6 +199,9 @@ class ASH_EXPORT ShelfLayoutManager
// Is the shelf's alignment horizontal?
bool IsHorizontalAlignment() const;
+ // Returns how the shelf background is painted.
+ ShelfBackgroundType GetShelfBackgroundType() const;
+
// Set the height of the ChromeVox panel, which takes away space from the
// available work area from the top of the screen.
void SetChromeVoxPanelHeight(int height);
@@ -278,9 +281,6 @@ class ASH_EXPORT ShelfLayoutManager
// Updates the background of the shelf.
void UpdateShelfBackground(BackgroundAnimatorChangeType type);
- // Returns how the shelf background is painted.
- ShelfBackgroundType GetShelfBackgroundType() const;
-
// Updates the auto hide state immediately.
void UpdateAutoHideStateNow();
« ash/shelf/shelf.h ('K') | « ash/shelf/shelf.cc ('k') | ash/shelf/shelf_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698