| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 void SetTitle(const base::string16& title) override; | 55 void SetTitle(const base::string16& title) override; |
| 56 base::string16 GetTitle() const override; | 56 base::string16 GetTitle() const override; |
| 57 void SetShellWindowId(int id) override; | 57 void SetShellWindowId(int id) override; |
| 58 int GetShellWindowId() const override; | 58 int GetShellWindowId() const override; |
| 59 WmWindow* GetChildByShellWindowId(int id) override; | 59 WmWindow* GetChildByShellWindowId(int id) override; |
| 60 ui::wm::WindowType GetType() const override; | 60 ui::wm::WindowType GetType() const override; |
| 61 int GetAppType() const override; | 61 int GetAppType() const override; |
| 62 void SetAppType(int app_type) const override; | 62 void SetAppType(int app_type) const override; |
| 63 bool IsBubble() override; | 63 bool IsBubble() override; |
| 64 ui::Layer* GetLayer() override; | 64 ui::Layer* GetLayer() override; |
| 65 bool GetLayerTargetVisibility() override; |
| 66 bool GetLayerVisible() override; |
| 65 display::Display GetDisplayNearestWindow() override; | 67 display::Display GetDisplayNearestWindow() override; |
| 66 bool HasNonClientArea() override; | 68 bool HasNonClientArea() override; |
| 67 int GetNonClientComponent(const gfx::Point& location) override; | 69 int GetNonClientComponent(const gfx::Point& location) override; |
| 68 gfx::Point ConvertPointToTarget(const WmWindow* target, | 70 gfx::Point ConvertPointToTarget(const WmWindow* target, |
| 69 const gfx::Point& point) const override; | 71 const gfx::Point& point) const override; |
| 70 gfx::Point ConvertPointToScreen(const gfx::Point& point) const override; | 72 gfx::Point ConvertPointToScreen(const gfx::Point& point) const override; |
| 71 gfx::Point ConvertPointFromScreen(const gfx::Point& point) const override; | 73 gfx::Point ConvertPointFromScreen(const gfx::Point& point) const override; |
| 72 gfx::Rect ConvertRectToScreen(const gfx::Rect& rect) const override; | 74 gfx::Rect ConvertRectToScreen(const gfx::Rect& rect) const override; |
| 73 gfx::Rect ConvertRectFromScreen(const gfx::Rect& rect) const override; | 75 gfx::Rect ConvertRectFromScreen(const gfx::Rect& rect) const override; |
| 74 gfx::Size GetMinimumSize() const override; | 76 gfx::Size GetMinimumSize() const override; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 void ReleaseCapture() override; | 138 void ReleaseCapture() override; |
| 137 bool HasRestoreBounds() const override; | 139 bool HasRestoreBounds() const override; |
| 138 bool CanMaximize() const override; | 140 bool CanMaximize() const override; |
| 139 bool CanMinimize() const override; | 141 bool CanMinimize() const override; |
| 140 bool CanResize() const override; | 142 bool CanResize() const override; |
| 141 bool CanActivate() const override; | 143 bool CanActivate() const override; |
| 142 void StackChildAtTop(WmWindow* child) override; | 144 void StackChildAtTop(WmWindow* child) override; |
| 143 void StackChildAtBottom(WmWindow* child) override; | 145 void StackChildAtBottom(WmWindow* child) override; |
| 144 void StackChildAbove(WmWindow* child, WmWindow* target) override; | 146 void StackChildAbove(WmWindow* child, WmWindow* target) override; |
| 145 void StackChildBelow(WmWindow* child, WmWindow* target) override; | 147 void StackChildBelow(WmWindow* child, WmWindow* target) override; |
| 148 void SetPinned(bool trusted) override; |
| 146 void SetAlwaysOnTop(bool value) override; | 149 void SetAlwaysOnTop(bool value) override; |
| 147 bool IsAlwaysOnTop() const override; | 150 bool IsAlwaysOnTop() const override; |
| 148 void Hide() override; | 151 void Hide() override; |
| 149 void Show() override; | 152 void Show() override; |
| 150 views::Widget* GetInternalWidget() override; | 153 views::Widget* GetInternalWidget() override; |
| 151 void CloseWidget() override; | 154 void CloseWidget() override; |
| 152 void SetFocused() override; | 155 void SetFocused() override; |
| 153 bool IsFocused() const override; | 156 bool IsFocused() const override; |
| 154 bool IsActive() const override; | 157 bool IsActive() const override; |
| 155 void Activate() override; | 158 void Activate() override; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 | 211 |
| 209 bool added_transient_observer_ = false; | 212 bool added_transient_observer_ = false; |
| 210 base::ObserverList<WmTransientWindowObserver> transient_observers_; | 213 base::ObserverList<WmTransientWindowObserver> transient_observers_; |
| 211 | 214 |
| 212 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); | 215 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); |
| 213 }; | 216 }; |
| 214 | 217 |
| 215 } // namespace ash | 218 } // namespace ash |
| 216 | 219 |
| 217 #endif // ASH_AURA_WM_WINDOW_AURA_H_ | 220 #endif // ASH_AURA_WM_WINDOW_AURA_H_ |
| OLD | NEW |