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

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

Issue 2550413004: Remove Ash shelf dimmer. (Closed)
Patch Set: jamescook review 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
« no previous file with comments | « ash/common/shelf/shelf_widget.cc ('k') | ash/common/shelf/wm_shelf.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/wm_dimmer_view.h
diff --git a/ash/common/shelf/wm_dimmer_view.h b/ash/common/shelf/wm_dimmer_view.h
deleted file mode 100644
index 379d3722b9fad1725de6d1f8d082c36960c07d29..0000000000000000000000000000000000000000
--- a/ash/common/shelf/wm_dimmer_view.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ASH_COMMON_SHELF_WM_DIMMER_VIEW_H_
-#define ASH_COMMON_SHELF_WM_DIMMER_VIEW_H_
-
-namespace views {
-class Widget;
-}
-
-namespace ash {
-
-// An interface around a widget and view that dim shelf items slightly when a
-// window is maximized and visible. See DimmerView for details. This interface
-// exists to avoid dependencies between ash common shelf code and the aura-only
-// implementation of DimmerView.
-// TODO(jamescook): Delete this after material design ships, as MD will not
-// require shelf dimming. http://crbug.com/614453
-class WmDimmerView {
- public:
- // Returns the widget that holds the dimmer view.
- virtual views::Widget* GetDimmerWidget() = 0;
-
- // Force the dimmer to be undimmed (e.g. by an open context menu).
- virtual void ForceUndimming(bool force) = 0;
-
- // Returns the current alpha used by the dimming bar.
- virtual int GetDimmingAlphaForTest() = 0;
-
- protected:
- virtual ~WmDimmerView() {}
-};
-
-} // namespace ash
-
-#endif // ASH_COMMON_SHELF_WM_DIMMER_VIEW_H_
« no previous file with comments | « ash/common/shelf/shelf_widget.cc ('k') | ash/common/shelf/wm_shelf.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698