Index: ash/wm/overview/window_selector_item.h |
diff --git a/ash/wm/overview/window_selector_item.h b/ash/wm/overview/window_selector_item.h |
index ac57266c12266fba0482d92dc692c8e82dbdb17a..d76912ea0ca7f9bc32608d103b4f808056f10113 100644 |
--- a/ash/wm/overview/window_selector_item.h |
+++ b/ash/wm/overview/window_selector_item.h |
@@ -83,6 +83,11 @@ class WindowSelectorItem : public views::ButtonListener { |
virtual void ButtonPressed(views::Button* sender, |
const ui::Event& event) OVERRIDE; |
+ // Sets if the item is dimmed in the overview. Changing the value will also |
+ // change the visibility of the transform windows. |
+ void SetDimmed(bool dimmed); |
+ bool dimmed() const { return dimmed_; } |
+ |
protected: |
// Sets the bounds of this selector's items to |target_bounds| in |
// |root_window|. If |animate| the windows are animated from their current |
@@ -91,9 +96,16 @@ class WindowSelectorItem : public views::ButtonListener { |
const gfx::Rect& target_bounds, |
bool animate) = 0; |
+ // Changes the visibility of the item. |
+ virtual void ChangeItemVisibility(bool visible) = 0; |
flackr
2014/06/26 17:33:08
nit: Items aren't becoming invisible, just not ful
Nina
2014/06/27 15:20:39
Done.
|
+ |
// Sets the bounds used by the selector item's windows. |
void set_bounds(const gfx::Rect& bounds) { bounds_ = bounds; } |
+ // True if the item is being shown in the overview, false if it's being |
+ // filtered. |
+ bool dimmed_; |
+ |
private: |
friend class WindowSelectorTest; |