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

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

Issue 2550413004: Remove Ash shelf dimmer. (Closed)
Patch Set: Created 4 years 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.h
diff --git a/ash/common/shelf/wm_shelf.h b/ash/common/shelf/wm_shelf.h
index b2800772eb3ad2720a9119c681683e4b774df511..4b96c01cba014617a17e84cd398f4638dbde6194 100644
--- a/ash/common/shelf/wm_shelf.h
+++ b/ash/common/shelf/wm_shelf.h
@@ -28,7 +28,6 @@ class ShelfLockingManager;
class ShelfView;
class ShelfWidget;
class StatusAreaWidget;
-class WmDimmerView;
class WmShelfObserver;
class WmWindow;
@@ -91,17 +90,6 @@ class ASH_EXPORT WmShelf : public ShelfLayoutManagerObserver {
ShelfBackgroundType GetBackgroundType() const;
- // Creates a view that dims shelf items. The returned view is owned by its
- // widget. Returns null if shelf dimming is not supported (e.g. on mus).
- // TODO(jamescook): Delete this after material design ships, as MD will not
- // require shelf dimming. http://crbug.com/614453
- virtual WmDimmerView* CreateDimmerView(bool disable_animations_for_test);
-
- // Shelf items are slightly dimmed (e.g. when a window is maximized).
- // TODO(jamescook): Delete this after material design ships, as MD will not
- // require shelf dimming. http://crbug.com/614453
- bool IsDimmed() const;
-
// Whether the shelf view is visible.
// TODO(jamescook): Consolidate this with GetVisibilityState().
bool IsVisible() const;

Powered by Google App Engine
This is Rietveld 408576698