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 30157cc8a5cfd439b8b64e4eea605e6fab9d797c..1ce6fa102353ad4036b1720e13bee4b9b35abf56 100644 |
--- a/ash/wm/overview/window_selector_item.h |
+++ b/ash/wm/overview/window_selector_item.h |
@@ -26,8 +26,6 @@ class Widget; |
namespace ash { |
-class OverviewWindowButton; |
- |
// This class represents an item in overview mode. |
class ASH_EXPORT WindowSelectorItem : public views::ButtonListener, |
public aura::WindowObserver { |
@@ -94,6 +92,13 @@ class ASH_EXPORT WindowSelectorItem : public views::ButtonListener, |
// Changes the opacity of all the windows the item owns. |
void SetOpacity(float opacity); |
+ // Updates the window label bounds. |
+ void UpdateWindowLabel(const gfx::Rect& window_bounds, |
+ OverviewAnimationType animation_type); |
+ |
+ // Creates the window label. |
+ void CreateWindowLabel(const base::string16& title); |
+ |
// Updates the close button's bounds. Any change in bounds will be animated |
// from the current bounds to the new bounds as per the |animation_type|. |
void UpdateCloseButtonLayout(OverviewAnimationType animation_type); |
@@ -119,6 +124,12 @@ class ASH_EXPORT WindowSelectorItem : public views::ButtonListener, |
// a window layer for display on another monitor. |
bool in_bounds_update_; |
+ // Label under the window displaying its active tab name. |
+ scoped_ptr<views::Widget> window_label_; |
+ |
+ // View for the label under the window. |
+ views::LabelButton* window_label_button_view_; |
+ |
// The close buttons widget container. |
views::Widget close_button_widget_; |
@@ -126,9 +137,6 @@ class ASH_EXPORT WindowSelectorItem : public views::ButtonListener, |
// close_button_widget_. |
views::ImageButton* close_button_; |
- // Button that handles window activation. |
- scoped_ptr<OverviewWindowButton> overview_window_button_; |
- |
DISALLOW_COPY_AND_ASSIGN(WindowSelectorItem); |
}; |