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

Unified Diff: ash/wm/window_resizer.h

Issue 13896026: Stick windows to sides of workspaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Dock with zero width (rebase) Created 7 years, 6 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/panels/panel_window_resizer_unittest.cc ('k') | ash/wm/workspace/workspace_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_resizer.h
diff --git a/ash/wm/window_resizer.h b/ash/wm/window_resizer.h
index 02d3b3cdcebfb31ef5e297eea76e6949f2baf021..6583d8913b0cd0bfac041e8bbb1eca487d19c52c 100644
--- a/ash/wm/window_resizer.h
+++ b/ash/wm/window_resizer.h
@@ -52,6 +52,9 @@ class ASH_EXPORT WindowResizer {
// Returns the target window the resizer was created for.
virtual aura::Window* GetTarget() = 0;
+ // See comment for |Details::initial_location_in_parent|.
+ virtual const gfx::Point& GetInitialLocation() const = 0;
+
protected:
struct Details {
Details();
@@ -141,6 +144,6 @@ ASH_EXPORT scoped_ptr<WindowResizer> CreateWindowResizer(
int window_component,
aura::client::WindowMoveSource source);
-} // namespace aura
+} // namespace ash
#endif // ASH_WM_WINDOW_RESIZER_H_
« no previous file with comments | « ash/wm/panels/panel_window_resizer_unittest.cc ('k') | ash/wm/workspace/workspace_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698