Index: ash/wm/overview/window_grid.h |
diff --git a/ash/wm/overview/window_grid.h b/ash/wm/overview/window_grid.h |
index fe4bf780ccc21a98c4ef46edd122fd684f5a437c..7c9deec0ec2ebf3db7b6ac612cba5e78fdfb8393 100644 |
--- a/ash/wm/overview/window_grid.h |
+++ b/ash/wm/overview/window_grid.h |
@@ -66,6 +66,11 @@ class ASH_EXPORT WindowGrid : public aura::WindowObserver { |
// this grid owns. |
bool Contains(const aura::Window* window) const; |
+ // Dims the items that do not match the given pattern and prevents their |
flackr
2014/06/26 17:33:07
nit:s/that do not match the given pattern/whose ti
Nina
2014/06/27 15:20:39
Done.
|
+ // selection. The pattern has its accents removed and is converted to |
+ // lowercase in a l10n sensitive context. |
+ void FilterItems(const base::string16& pattern); |
+ |
// Returns true if the grid has no more windows. |
bool empty() const { return window_list_.empty(); } |
@@ -124,6 +129,9 @@ class ASH_EXPORT WindowGrid : public aura::WindowObserver { |
// Current selected window position. |
size_t selected_index_; |
+ // Indicates if there is at least one undimmed item in the overview. |
+ bool has_active_item_; |
+ |
// Number of columns in the grid. |
size_t num_columns_; |