Chromium Code Reviews| Index: ash/wm/property_util.cc |
| diff --git a/ash/wm/property_util.cc b/ash/wm/property_util.cc |
| index d1240b68154304c65a8b597e9340aca37f0fb64c..0b3db8870774535b82c9078910e71ef92fa5ea4e 100644 |
| --- a/ash/wm/property_util.cc |
| +++ b/ash/wm/property_util.cc |
| @@ -43,6 +43,15 @@ void ClearRestoreBounds(aura::Window* window) { |
| window->ClearProperty(aura::client::kRestoreBoundsKey); |
| } |
| +void SetStuckToEdge(aura::Window* window, int64 value) { |
| + LOG(INFO) << "SetStuckToEdge " << value; |
|
flackr
2013/05/22 02:00:56
Probably shouldn't land with this.
|
| + window->SetProperty(internal::kWindowStuckToEdge, value); |
| +} |
| + |
| +int64 GetStuckToEdge(const aura::Window* window) { |
| + return window->GetProperty(internal::kWindowStuckToEdge); |
| +} |
| + |
| void SetTrackedByWorkspace(aura::Window* window, bool value) { |
| window->SetProperty(internal::kWindowTrackedByWorkspaceKey, value); |
| } |