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

Unified Diff: ash/wm/dock/docked_window_resizer.h

Issue 141053002: Avoids updating dock alignment when drag is cancelled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Avoids updating dock alignment when drag is cancelled (comments) Created 6 years, 11 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/dock/docked_window_layout_manager.cc ('k') | ash/wm/dock/docked_window_resizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/dock/docked_window_resizer.h
diff --git a/ash/wm/dock/docked_window_resizer.h b/ash/wm/dock/docked_window_resizer.h
index 6614e2da3ba2fc6415dd95a72d7a8cd4b60315b5..7797424ce6dba3ecae79d2e0974077f68be24519 100644
--- a/ash/wm/dock/docked_window_resizer.h
+++ b/ash/wm/dock/docked_window_resizer.h
@@ -58,8 +58,9 @@ class ASH_EXPORT DockedWindowResizer : public WindowResizer {
void StartedDragging();
// Informs the DockLayoutManager that the drag is complete if it was informed
- // of the drag start.
- void FinishedDragging();
+ // of the drag start. |move_result| specifies if the drag was completed or
+ // reverted.
+ void FinishedDragging(aura::client::WindowMoveResult move_result);
// Reparents dragged window as necessary to the docked container or back to
// workspace at the end of the drag. Calculates and returns action taken that
« no previous file with comments | « ash/wm/dock/docked_window_layout_manager.cc ('k') | ash/wm/dock/docked_window_resizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698