Chromium Code Reviews| Index: ash/wm/overview/window_selector_window.h |
| diff --git a/ash/wm/overview/window_selector_window.h b/ash/wm/overview/window_selector_window.h |
| index 0c6d7b84ff013ee381f130882a172e13b18b7a48..1e1c68f44c03231011f89ec0828d76f8eba33c18 100644 |
| --- a/ash/wm/overview/window_selector_window.h |
| +++ b/ash/wm/overview/window_selector_window.h |
| @@ -11,6 +11,7 @@ |
| #include "base/memory/scoped_ptr.h" |
| #include "ui/gfx/rect.h" |
| #include "ui/views/controls/button/button.h" |
| +#include "ui/views/controls/label.h" |
|
tdanderson
2014/04/09 20:35:17
This #include can be moved to the .cc file.
|
| namespace aura { |
| class Window; |
| @@ -47,17 +48,30 @@ class WindowSelectorWindow : public WindowSelectorItem, |
| virtual void ButtonPressed(views::Button* sender, |
| const ui::Event& event) OVERRIDE; |
| + // Foreground label color. Right now it's white |
| + const static int kLabelColor = 0xFFFFFFFF; |
|
tdanderson
2014/04/09 20:35:17
static const instead of const static.
Also, decla
|
| + |
| + // Background label color. Right now it's black. |
| + const static int kLabelBackground = 0x000000; |
| + |
| private: |
| // Creates the close button window if it does not exist and updates the bounds |
| // to match the window selector item. |
| void UpdateCloseButtonBounds(); |
| + // IDEM UpdateCloseButtonBounds, creates a label to display under the window |
| + // and/or updates the bounds accordingly |
| + void UpdateWindowLabels(const gfx::Rect& target_bounds); |
| + |
| // The window with a scoped transform represented by this selector item. |
| ScopedTransformOverviewWindow transform_window_; |
| // An easy to access close button for the window in this item. |
| scoped_ptr<views::Widget> close_button_; |
| + // Label under the window with the tab name. |
| + scoped_ptr<views::Widget> window_label_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(WindowSelectorWindow); |
| }; |