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 4e7f00e4974fe0fbb9310b978df83dcef5c78bbd..6e77d73f8beff17812b244910bc405040c72af2f 100644 |
--- a/ash/wm/overview/window_selector_item.h |
+++ b/ash/wm/overview/window_selector_item.h |
@@ -29,7 +29,6 @@ |
namespace ash { |
class WindowSelector; |
-class WindowGrid; |
// This class represents an item in overview mode. |
class ASH_EXPORT WindowSelectorItem : public views::ButtonListener, |
@@ -48,9 +47,7 @@ |
DISALLOW_COPY_AND_ASSIGN(OverviewCloseButton); |
}; |
- WindowSelectorItem(aura::Window* window, |
- WindowSelector* window_selector, |
- WindowGrid* window_grid); |
+ WindowSelectorItem(aura::Window* window, WindowSelector* window_selector); |
~WindowSelectorItem() override; |
aura::Window* GetWindow(); |
@@ -122,11 +119,6 @@ |
// aura::WindowObserver: |
void OnWindowDestroying(aura::Window* window) override; |
void OnWindowTitleChanged(aura::Window* window) override; |
- |
- // Handle the mouse/gesture event and facilitate dragging the item. |
- void HandlePressEvent(const gfx::Point& location_in_screen); |
- void HandleReleaseEvent(const gfx::Point& location_in_screen); |
- void HandleDragEvent(const gfx::Point& location_in_screen); |
private: |
class CaptionContainerView; |
@@ -174,15 +166,6 @@ |
aura::Window* GetOverviewWindowForMinimizedStateForTest(); |
- // Called before dragging. Scales up the window a little bit to indicate its |
- // selection and stacks the window at the top of the Z order in order to keep |
- // it visible while dragging around. |
- void StartDrag(); |
- |
- // Called after dragging. Inserts the window back to its original stacking |
- // order so that the order of windows is the same as when entering overview. |
- void EndDrag(); |
- |
// True if the item is being shown in the overview, false if it's being |
// filtered. |
bool dimmed_; |
@@ -232,10 +215,6 @@ |
// which is the only textured layer used by the |item_widget_|. |
RoundedContainerView* background_view_; |
- // Pointer to the WindowGrid that contains |this|. Guaranteed to be non-null |
- // for the lifetime of |this|. |
- WindowGrid* window_grid_; |
- |
DISALLOW_COPY_AND_ASSIGN(WindowSelectorItem); |
}; |