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

Unified Diff: ui/aura/client/window_stacking_client.h

Issue 115453004: Moves management of transients out of Window (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix MRUWindowTracker and MultiProfileMultiBrowserShelfLayoutChromeLauncherControllerTest Created 7 years 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
Index: ui/aura/client/window_stacking_client.h
diff --git a/ui/aura/client/window_stacking_client.h b/ui/aura/client/window_stacking_client.h
index 35772ed71c4cb7b7dd0725a2af2e0ce861a21db8..3434fd71ca9871f30ae853492898b90adb725376 100644
--- a/ui/aura/client/window_stacking_client.h
+++ b/ui/aura/client/window_stacking_client.h
@@ -19,7 +19,9 @@ class AURA_EXPORT WindowStackingClient {
// Invoked from the various Window stacking functions. Allows the
// WindowStackingClient to alter the source, target and/or direction to stack.
- virtual void AdjustStacking(Window** child,
+ // Returns true if stacking should continue; false if the stacking should not
+ // happen.
+ virtual bool AdjustStacking(Window** child,
Window** target,
Window::StackDirection* direction) = 0;
};

Powered by Google App Engine
This is Rietveld 408576698