| 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..dc18d36f8aa36586a0006455ce1968a971328bd1 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 active, i.e. shown in the overview. Changing the value
|
| + // will also change the visibility of the transform windows.
|
| + void SetActive(bool active);
|
| + bool active() const { return active_; }
|
| +
|
| 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;
|
| +
|
| // 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 active_;
|
| +
|
| private:
|
| friend class WindowSelectorTest;
|
|
|
|
|