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

Unified Diff: ash/wm/panels/panel_window_resizer.h

Issue 2897993003: chromeos: converts WindowResizer to aura::Window (Closed)
Patch Set: remove include from exo Created 3 years, 7 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/window_selector_unittest.cc ('k') | ash/wm/panels/panel_window_resizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/panels/panel_window_resizer.h
diff --git a/ash/wm/panels/panel_window_resizer.h b/ash/wm/panels/panel_window_resizer.h
index 09aef1929828f293120d669cc9a59aaa9fe933a1..f32d871798487d96ee573dd9cb5bd24cf8ff57a4 100644
--- a/ash/wm/panels/panel_window_resizer.h
+++ b/ash/wm/panels/panel_window_resizer.h
@@ -19,6 +19,8 @@ class Point;
namespace ash {
+class PanelLayoutManager;
+
// PanelWindowResizer is used by ToplevelWindowEventFilter to handle dragging,
// moving or resizing panel window. These can be attached and detached from the
// launcher.
@@ -60,6 +62,9 @@ class ASH_EXPORT PanelWindowResizer : public WindowResizer {
// Updates the dragged panel's index in the launcher.
void UpdateLauncherPosition();
+ // Returns the PanelLayoutManager associated with |panel_container_|.
+ PanelLayoutManager* GetPanelLayoutManager();
+
// Last pointer location in screen coordinates.
gfx::Point last_location_;
@@ -68,8 +73,8 @@ class ASH_EXPORT PanelWindowResizer : public WindowResizer {
std::unique_ptr<WindowResizer> next_window_resizer_;
// Panel container window.
- WmWindow* panel_container_;
- WmWindow* initial_panel_container_;
+ aura::Window* panel_container_;
+ aura::Window* initial_panel_container_;
// Set to true once Drag() is invoked and the bounds of the window change.
bool did_move_or_resize_;
« no previous file with comments | « ash/wm/overview/window_selector_unittest.cc ('k') | ash/wm/panels/panel_window_resizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698