| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ASH_WM_WINDOW_STATE_H_ | 5 #ifndef ASH_WM_WINDOW_STATE_H_ |
| 6 #define ASH_WM_WINDOW_STATE_H_ | 6 #define ASH_WM_WINDOW_STATE_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/wm/drag_details.h" | 9 #include "ash/wm/drag_details.h" |
| 10 #include "ash/wm/wm_types.h" | 10 #include "ash/wm/wm_types.h" |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 // Sets the currently stored restore bounds and clears the restore bounds. | 293 // Sets the currently stored restore bounds and clears the restore bounds. |
| 294 void SetAndClearRestoreBounds(); | 294 void SetAndClearRestoreBounds(); |
| 295 | 295 |
| 296 // Returns a pointer to DragDetails during drag operations. | 296 // Returns a pointer to DragDetails during drag operations. |
| 297 const DragDetails* drag_details() const { return drag_details_.get(); } | 297 const DragDetails* drag_details() const { return drag_details_.get(); } |
| 298 DragDetails* drag_details() { return drag_details_.get(); } | 298 DragDetails* drag_details() { return drag_details_.get(); } |
| 299 | 299 |
| 300 // aura::WindowObserver overrides: | 300 // aura::WindowObserver overrides: |
| 301 virtual void OnWindowPropertyChanged(aura::Window* window, | 301 virtual void OnWindowPropertyChanged(aura::Window* window, |
| 302 const void* key, | 302 const void* key, |
| 303 intptr_t old) OVERRIDE; | 303 intptr_t old) override; |
| 304 | 304 |
| 305 private: | 305 private: |
| 306 friend class DefaultState; | 306 friend class DefaultState; |
| 307 friend class ash::LockWindowState; | 307 friend class ash::LockWindowState; |
| 308 friend class ash::MaximizeModeWindowState; | 308 friend class ash::MaximizeModeWindowState; |
| 309 friend ASH_EXPORT WindowState* GetWindowState(aura::Window*); | 309 friend ASH_EXPORT WindowState* GetWindowState(aura::Window*); |
| 310 FRIEND_TEST_ALL_PREFIXES(WindowAnimationsTest, CrossFadeToBounds); | 310 FRIEND_TEST_ALL_PREFIXES(WindowAnimationsTest, CrossFadeToBounds); |
| 311 FRIEND_TEST_ALL_PREFIXES(WindowAnimationsTest, | 311 FRIEND_TEST_ALL_PREFIXES(WindowAnimationsTest, |
| 312 CrossFadeToBoundsFromTransform); | 312 CrossFadeToBoundsFromTransform); |
| 313 | 313 |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 ASH_EXPORT WindowState* GetWindowState(aura::Window* window); | 390 ASH_EXPORT WindowState* GetWindowState(aura::Window* window); |
| 391 | 391 |
| 392 // const version of GetWindowState. | 392 // const version of GetWindowState. |
| 393 ASH_EXPORT const WindowState* | 393 ASH_EXPORT const WindowState* |
| 394 GetWindowState(const aura::Window* window); | 394 GetWindowState(const aura::Window* window); |
| 395 | 395 |
| 396 } // namespace wm | 396 } // namespace wm |
| 397 } // namespace ash | 397 } // namespace ash |
| 398 | 398 |
| 399 #endif // ASH_WM_WINDOW_STATE_H_ | 399 #endif // ASH_WM_WINDOW_STATE_H_ |
| OLD | NEW |