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 eedf3e1f9153c56f33d0073018cb147bbf2e091a..ff31c49b03f14dbb2a92ebdf2ca8794aaba00fb0 100644 |
--- a/ash/wm/overview/window_selector_item.h |
+++ b/ash/wm/overview/window_selector_item.h |
@@ -6,7 +6,9 @@ |
#define ASH_WM_OVERVIEW_WINDOW_SELECTOR_ITEM_H_ |
#include "base/compiler_specific.h" |
+#include "base/memory/scoped_ptr.h" |
#include "ui/gfx/rect.h" |
+#include "ui/views/widget/widget.h" |
tdanderson
2014/04/10 22:37:12
You can forward-declare the Widget class here inst
Nina
2014/04/14 16:24:04
Done.
|
namespace aura { |
class Window; |
@@ -74,6 +76,12 @@ class WindowSelectorItem { |
// Sets the bounds used by the selector item's windows. |
void set_bounds(const gfx::Rect& bounds) { bounds_ = bounds; } |
+ // Creates a label to display under the window selector item. |
+ void UpdateWindowLabels(const gfx::Rect& target_bounds); |
+ |
+ // Returns the label name |
tdanderson
2014/04/10 22:37:12
nit: . at end of comment.
Nina
2014/04/14 16:24:04
Done.
|
+ virtual base::string16 GetLabelName() = 0; |
+ |
private: |
// The root window this item is being displayed on. |
aura::Window* root_window_; |
@@ -90,6 +98,12 @@ class WindowSelectorItem { |
// a window layer for display on another monitor. |
bool in_bounds_update_; |
+ // Title to show under the label |
tdanderson
2014/04/10 22:37:12
nit: . at end of comment
Nina
2014/04/14 16:24:04
Done.
|
+ base::string16 item_title_; |
tdanderson
2014/04/10 22:37:12
It doesn't look like this member variable is being
Nina
2014/04/14 16:24:04
Done.
|
+ |
+ // Label under the window with the tab name. |
+ scoped_ptr<views::Widget> window_label_; |
+ |
DISALLOW_COPY_AND_ASSIGN(WindowSelectorItem); |
}; |