| 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_MUS_BRIDGE_WM_WINDOW_MUS_H_ | 5 #ifndef ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ |
| 6 #define ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ | 6 #define ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "ash/common/shell_window_ids.h" | 10 #include "ash/common/shell_window_ids.h" |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 void SetTitle(const base::string16& title) override; | 119 void SetTitle(const base::string16& title) override; |
| 120 base::string16 GetTitle() const override; | 120 base::string16 GetTitle() const override; |
| 121 void SetShellWindowId(int id) override; | 121 void SetShellWindowId(int id) override; |
| 122 int GetShellWindowId() const override; | 122 int GetShellWindowId() const override; |
| 123 WmWindow* GetChildByShellWindowId(int id) override; | 123 WmWindow* GetChildByShellWindowId(int id) override; |
| 124 ui::wm::WindowType GetType() const override; | 124 ui::wm::WindowType GetType() const override; |
| 125 int GetAppType() const override; | 125 int GetAppType() const override; |
| 126 void SetAppType(int app_type) const override; | 126 void SetAppType(int app_type) const override; |
| 127 bool IsBubble() override; | 127 bool IsBubble() override; |
| 128 ui::Layer* GetLayer() override; | 128 ui::Layer* GetLayer() override; |
| 129 bool GetLayerTargetVisibility() override; |
| 130 bool GetLayerVisible() override; |
| 129 display::Display GetDisplayNearestWindow() override; | 131 display::Display GetDisplayNearestWindow() override; |
| 130 bool HasNonClientArea() override; | 132 bool HasNonClientArea() override; |
| 131 int GetNonClientComponent(const gfx::Point& location) override; | 133 int GetNonClientComponent(const gfx::Point& location) override; |
| 132 gfx::Point ConvertPointToTarget(const WmWindow* target, | 134 gfx::Point ConvertPointToTarget(const WmWindow* target, |
| 133 const gfx::Point& point) const override; | 135 const gfx::Point& point) const override; |
| 134 gfx::Point ConvertPointToScreen(const gfx::Point& point) const override; | 136 gfx::Point ConvertPointToScreen(const gfx::Point& point) const override; |
| 135 gfx::Point ConvertPointFromScreen(const gfx::Point& point) const override; | 137 gfx::Point ConvertPointFromScreen(const gfx::Point& point) const override; |
| 136 gfx::Rect ConvertRectToScreen(const gfx::Rect& rect) const override; | 138 gfx::Rect ConvertRectToScreen(const gfx::Rect& rect) const override; |
| 137 gfx::Rect ConvertRectFromScreen(const gfx::Rect& rect) const override; | 139 gfx::Rect ConvertRectFromScreen(const gfx::Rect& rect) const override; |
| 138 gfx::Size GetMinimumSize() const override; | 140 gfx::Size GetMinimumSize() const override; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 ui::WindowShowState GetShowState() const override; | 194 ui::WindowShowState GetShowState() const override; |
| 193 void SetRestoreShowState(ui::WindowShowState show_state) override; | 195 void SetRestoreShowState(ui::WindowShowState show_state) override; |
| 194 void SetRestoreOverrides(const gfx::Rect& bounds_override, | 196 void SetRestoreOverrides(const gfx::Rect& bounds_override, |
| 195 ui::WindowShowState window_state_override) override; | 197 ui::WindowShowState window_state_override) override; |
| 196 void SetLockedToRoot(bool value) override; | 198 void SetLockedToRoot(bool value) override; |
| 197 bool IsLockedToRoot() const override; | 199 bool IsLockedToRoot() const override; |
| 198 void SetCapture() override; | 200 void SetCapture() override; |
| 199 bool HasCapture() override; | 201 bool HasCapture() override; |
| 200 void ReleaseCapture() override; | 202 void ReleaseCapture() override; |
| 201 bool HasRestoreBounds() const override; | 203 bool HasRestoreBounds() const override; |
| 204 void SetPinned(bool trusted) override; |
| 202 void SetAlwaysOnTop(bool value) override; | 205 void SetAlwaysOnTop(bool value) override; |
| 203 bool IsAlwaysOnTop() const override; | 206 bool IsAlwaysOnTop() const override; |
| 204 void Hide() override; | 207 void Hide() override; |
| 205 void Show() override; | 208 void Show() override; |
| 206 views::Widget* GetInternalWidget() override; | 209 views::Widget* GetInternalWidget() override; |
| 207 void CloseWidget() override; | 210 void CloseWidget() override; |
| 208 void SetFocused() override; | 211 void SetFocused() override; |
| 209 bool IsFocused() const override; | 212 bool IsFocused() const override; |
| 210 bool IsActive() const override; | 213 bool IsActive() const override; |
| 211 void Activate() override; | 214 void Activate() override; |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 | 310 |
| 308 bool locked_to_root_ = false; | 311 bool locked_to_root_ = false; |
| 309 | 312 |
| 310 DISALLOW_COPY_AND_ASSIGN(WmWindowMus); | 313 DISALLOW_COPY_AND_ASSIGN(WmWindowMus); |
| 311 }; | 314 }; |
| 312 | 315 |
| 313 } // namespace mus | 316 } // namespace mus |
| 314 } // namespace ash | 317 } // namespace ash |
| 315 | 318 |
| 316 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ | 319 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ |
| OLD | NEW |