| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_AURA_WM_WINDOW_AURA_H_ | 5 #ifndef ASH_AURA_WM_WINDOW_AURA_H_ |
| 6 #define ASH_AURA_WM_WINDOW_AURA_H_ | 6 #define ASH_AURA_WM_WINDOW_AURA_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/common/wm_window.h" | 9 #include "ash/common/wm_window.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 float GetTargetOpacity() const override; | 81 float GetTargetOpacity() const override; |
| 82 gfx::Rect GetMinimizeAnimationTargetBoundsInScreen() const override; | 82 gfx::Rect GetMinimizeAnimationTargetBoundsInScreen() const override; |
| 83 void SetTransform(const gfx::Transform& transform) override; | 83 void SetTransform(const gfx::Transform& transform) override; |
| 84 gfx::Transform GetTargetTransform() const override; | 84 gfx::Transform GetTargetTransform() const override; |
| 85 bool IsSystemModal() const override; | 85 bool IsSystemModal() const override; |
| 86 bool GetBoolProperty(WmWindowProperty key) override; | 86 bool GetBoolProperty(WmWindowProperty key) override; |
| 87 SkColor GetColorProperty(WmWindowProperty key) override; | 87 SkColor GetColorProperty(WmWindowProperty key) override; |
| 88 void SetColorProperty(WmWindowProperty key, SkColor value) override; | 88 void SetColorProperty(WmWindowProperty key, SkColor value) override; |
| 89 int GetIntProperty(WmWindowProperty key) override; | 89 int GetIntProperty(WmWindowProperty key) override; |
| 90 void SetIntProperty(WmWindowProperty key, int value) override; | 90 void SetIntProperty(WmWindowProperty key, int value) override; |
| 91 std::string GetStringProperty(WmWindowProperty key) override; |
| 92 void SetStringProperty(WmWindowProperty key, |
| 93 const std::string& value) override; |
| 94 gfx::ImageSkia GetWindowIcon() override; |
| 95 gfx::ImageSkia GetAppIcon() override; |
| 91 const wm::WindowState* GetWindowState() const override; | 96 const wm::WindowState* GetWindowState() const override; |
| 92 WmWindow* GetToplevelWindow() override; | 97 WmWindow* GetToplevelWindow() override; |
| 93 WmWindow* GetToplevelWindowForFocus() override; | 98 WmWindow* GetToplevelWindowForFocus() override; |
| 94 void SetParentUsingContext(WmWindow* context, | 99 void SetParentUsingContext(WmWindow* context, |
| 95 const gfx::Rect& screen_bounds) override; | 100 const gfx::Rect& screen_bounds) override; |
| 96 void AddChild(WmWindow* window) override; | 101 void AddChild(WmWindow* window) override; |
| 97 void RemoveChild(WmWindow* child) override; | 102 void RemoveChild(WmWindow* child) override; |
| 98 const WmWindow* GetParent() const override; | 103 const WmWindow* GetParent() const override; |
| 99 const WmWindow* GetTransientParent() const override; | 104 const WmWindow* GetTransientParent() const override; |
| 100 std::vector<WmWindow*> GetTransientChildren() override; | 105 std::vector<WmWindow*> GetTransientChildren() override; |
| 106 bool MoveToEventRoot(const ui::Event& event) override; |
| 101 void SetLayoutManager( | 107 void SetLayoutManager( |
| 102 std::unique_ptr<WmLayoutManager> layout_manager) override; | 108 std::unique_ptr<WmLayoutManager> layout_manager) override; |
| 103 WmLayoutManager* GetLayoutManager() override; | 109 WmLayoutManager* GetLayoutManager() override; |
| 104 void SetVisibilityChangesAnimated() override; | 110 void SetVisibilityChangesAnimated() override; |
| 105 void SetVisibilityAnimationType(int type) override; | 111 void SetVisibilityAnimationType(int type) override; |
| 106 void SetVisibilityAnimationDuration(base::TimeDelta delta) override; | 112 void SetVisibilityAnimationDuration(base::TimeDelta delta) override; |
| 107 void SetVisibilityAnimationTransition( | 113 void SetVisibilityAnimationTransition( |
| 108 ::wm::WindowVisibilityAnimationTransition transition) override; | 114 ::wm::WindowVisibilityAnimationTransition transition) override; |
| 109 void Animate(::wm::WindowAnimationType type) override; | 115 void Animate(::wm::WindowAnimationType type) override; |
| 110 void StopAnimatingProperty( | 116 void StopAnimatingProperty( |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 | 217 |
| 212 bool added_transient_observer_ = false; | 218 bool added_transient_observer_ = false; |
| 213 base::ObserverList<WmTransientWindowObserver> transient_observers_; | 219 base::ObserverList<WmTransientWindowObserver> transient_observers_; |
| 214 | 220 |
| 215 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); | 221 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); |
| 216 }; | 222 }; |
| 217 | 223 |
| 218 } // namespace ash | 224 } // namespace ash |
| 219 | 225 |
| 220 #endif // ASH_AURA_WM_WINDOW_AURA_H_ | 226 #endif // ASH_AURA_WM_WINDOW_AURA_H_ |
| OLD | NEW |