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

Unified Diff: ash/wm/property_util.h

Issue 9566014: Attempt 2: Allows tab dragging when maximized on aura. To fix it I made it so (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Created 8 years, 10 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 | « no previous file | ash/wm/property_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/property_util.h
diff --git a/ash/wm/property_util.h b/ash/wm/property_util.h
index aa19dda4141ee149944ce567a11571ebb399e8a1..01ab2bc50836330f722f1da54ced3841dfd24ac8 100644
--- a/ash/wm/property_util.h
+++ b/ash/wm/property_util.h
@@ -10,6 +10,8 @@
namespace aura {
class Window;
+template<typename T>
+struct WindowProperty;
}
namespace gfx {
@@ -37,6 +39,16 @@ ASH_EXPORT void ClearRestoreBounds(aura::Window* window);
// Toggles the maximized state of the specified window.
ASH_EXPORT void ToggleMaximizedState(aura::Window* window);
+ASH_EXPORT extern const aura::WindowProperty<bool>* const
+ kWindowTrackedByWorkspaceSplitPropKey;
+
+// Sets whether the specified window is tracked by workspace code. Default is
+// true. If set to false the workspace does not switch the current workspace,
+// nor does it attempt to impose constraints on the bounds of the window. This
+// is intended for tab dragging.
+ASH_EXPORT void SetTrackedByWorkspace(aura::Window* window, bool value);
+ASH_EXPORT bool GetTrackedByWorkspace(aura::Window* window);
+
}
#endif // ASH_WM_PROPERTY_UTIL_H_
« no previous file with comments | « no previous file | ash/wm/property_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698