Index: ash/wm/overview/window_selector.h |
diff --git a/ash/wm/overview/window_selector.h b/ash/wm/overview/window_selector.h |
index 2b44700305a76bfd9e871fdf8c0aa19e88937358..989cc08875805be0fb992a6e508251c032e84b97 100644 |
--- a/ash/wm/overview/window_selector.h |
+++ b/ash/wm/overview/window_selector.h |
@@ -66,6 +66,9 @@ class ASH_EXPORT WindowSelector |
WindowSelectorDelegate* delegate); |
virtual ~WindowSelector(); |
+ // Returns the height of the textfield used for text filtering. |
+ int TextFilterHeight() const; |
+ |
// Cancels window selection. |
void CancelSelection(); |
@@ -114,6 +117,11 @@ class ASH_EXPORT WindowSelector |
// corresponding window grid. |
void Move(Direction direction, bool animate); |
+ // Instantiates and returns the widget hosting the textfield used in |
+ // text filtering. |
+ views::Widget* CreateTextFilter(views::TextfieldController* controller, |
+ aura::Window* root_window); |
+ |
// Tracks observed windows. |
std::set<aura::Window*> observed_windows_; |
@@ -159,6 +167,9 @@ class ASH_EXPORT WindowSelector |
// such as enter key to select. |
scoped_ptr<views::Widget> text_filter_widget_; |
+ // The height in pixels of the text used in text filtering. |
+ int text_height_; |
+ |
DISALLOW_COPY_AND_ASSIGN(WindowSelector); |
}; |