Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(559)

Unified Diff: ash/wm/overview/window_grid.h

Issue 2978273002: Revert of Cros Tablet Window management - Split Screen part II (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/wm/overview/scoped_transform_overview_window.cc ('k') | ash/wm/overview/window_grid.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/overview/window_grid.h
diff --git a/ash/wm/overview/window_grid.h b/ash/wm/overview/window_grid.h
index 7164cfda094f37fe94a79b3387567f210ef0871e..a0352d94aa4eb33af44d92b458b102127f1b3dfa 100644
--- a/ash/wm/overview/window_grid.h
+++ b/ash/wm/overview/window_grid.h
@@ -16,7 +16,6 @@
#include "base/macros.h"
#include "base/scoped_observer.h"
#include "ui/aura/window_observer.h"
-#include "ui/gfx/geometry/rect.h"
namespace views {
class Widget;
@@ -53,8 +52,7 @@
public:
WindowGrid(aura::Window* root_window,
const std::vector<aura::Window*>& window_list,
- WindowSelector* window_selector,
- const gfx::Rect& bounds_in_screen);
+ WindowSelector* window_selector);
~WindowGrid() override;
// Exits overview mode, fading out the |shield_widget_| if necessary.
@@ -90,9 +88,6 @@
// this grid owns.
bool Contains(const aura::Window* window) const;
- // Removes |selector_item| from the grid.
- void RemoveItem(WindowSelectorItem* selector_item);
-
// Dims the items whose titles do not contain |pattern| and prevents their
// selection. The pattern has its accents removed and is converted to
// lowercase in a l10n sensitive context.
@@ -103,9 +98,6 @@
// selected the implementation fades out |selection_widget_| to transparent
// opacity, effectively hiding the selector widget.
void WindowClosing(WindowSelectorItem* window);
-
- // Sets bounds for the window grid and positions all windows in the grid.
- void SetBoundsAndUpdatePositions(const gfx::Rect& bounds_in_screen);
// Returns true if the grid has no more windows.
bool empty() const { return window_list_.empty(); }
@@ -198,9 +190,6 @@
// True only after all windows have been prepared for overview.
bool prepared_for_overview_;
- // This WindowGrid's total bounds in screen coordinates.
- gfx::Rect bounds_;
-
DISALLOW_COPY_AND_ASSIGN(WindowGrid);
};
« no previous file with comments | « ash/wm/overview/scoped_transform_overview_window.cc ('k') | ash/wm/overview/window_grid.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698