| 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_COMMON_WM_WINDOW_H_ | 5 #ifndef ASH_COMMON_WM_WINDOW_H_ |
| 6 #define ASH_COMMON_WM_WINDOW_H_ | 6 #define ASH_COMMON_WM_WINDOW_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 | 86 |
| 87 // See shell_window_ids.h for list of known ids. | 87 // See shell_window_ids.h for list of known ids. |
| 88 virtual void SetShellWindowId(int id) = 0; | 88 virtual void SetShellWindowId(int id) = 0; |
| 89 virtual int GetShellWindowId() const = 0; | 89 virtual int GetShellWindowId() const = 0; |
| 90 virtual WmWindow* GetChildByShellWindowId(int id) = 0; | 90 virtual WmWindow* GetChildByShellWindowId(int id) = 0; |
| 91 | 91 |
| 92 virtual ui::wm::WindowType GetType() const = 0; | 92 virtual ui::wm::WindowType GetType() const = 0; |
| 93 virtual int GetAppType() const = 0; | 93 virtual int GetAppType() const = 0; |
| 94 virtual void SetAppType(int app_type) const = 0; | 94 virtual void SetAppType(int app_type) const = 0; |
| 95 | 95 |
| 96 virtual bool IsBubble() = 0; | |
| 97 | |
| 98 virtual ui::Layer* GetLayer() = 0; | 96 virtual ui::Layer* GetLayer() = 0; |
| 99 | 97 |
| 100 // TODO(sky): these are temporary until GetLayer() always returns non-null. | 98 // TODO(sky): these are temporary until GetLayer() always returns non-null. |
| 101 virtual bool GetLayerTargetVisibility() = 0; | 99 virtual bool GetLayerTargetVisibility() = 0; |
| 102 virtual bool GetLayerVisible() = 0; | 100 virtual bool GetLayerVisible() = 0; |
| 103 | 101 |
| 104 virtual display::Display GetDisplayNearestWindow() = 0; | 102 virtual display::Display GetDisplayNearestWindow() = 0; |
| 105 | 103 |
| 106 virtual bool HasNonClientArea() = 0; | 104 virtual bool HasNonClientArea() = 0; |
| 107 virtual int GetNonClientComponent(const gfx::Point& location) = 0; | 105 virtual int GetNonClientComponent(const gfx::Point& location) = 0; |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 virtual void AddLimitedPreTargetHandler(ui::EventHandler* handler) = 0; | 338 virtual void AddLimitedPreTargetHandler(ui::EventHandler* handler) = 0; |
| 341 virtual void RemoveLimitedPreTargetHandler(ui::EventHandler* handler) = 0; | 339 virtual void RemoveLimitedPreTargetHandler(ui::EventHandler* handler) = 0; |
| 342 | 340 |
| 343 protected: | 341 protected: |
| 344 virtual ~WmWindow() {} | 342 virtual ~WmWindow() {} |
| 345 }; | 343 }; |
| 346 | 344 |
| 347 } // namespace ash | 345 } // namespace ash |
| 348 | 346 |
| 349 #endif // ASH_COMMON_WM_WINDOW_H_ | 347 #endif // ASH_COMMON_WM_WINDOW_H_ |
| OLD | NEW |