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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 WmRootWindowController* GetRootWindowController() override; | 51 WmRootWindowController* GetRootWindowController() override; |
52 WmShell* GetShell() const override; | 52 WmShell* GetShell() const override; |
53 void SetName(const char* name) override; | 53 void SetName(const char* name) override; |
54 std::string GetName() const override; | 54 std::string GetName() const override; |
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; |
| 62 void SetAppType(int app_type) const override; |
61 bool IsBubble() override; | 63 bool IsBubble() override; |
62 ui::Layer* GetLayer() override; | 64 ui::Layer* GetLayer() override; |
63 display::Display GetDisplayNearestWindow() override; | 65 display::Display GetDisplayNearestWindow() override; |
64 bool HasNonClientArea() override; | 66 bool HasNonClientArea() override; |
65 int GetNonClientComponent(const gfx::Point& location) override; | 67 int GetNonClientComponent(const gfx::Point& location) override; |
66 gfx::Point ConvertPointToTarget(const WmWindow* target, | 68 gfx::Point ConvertPointToTarget(const WmWindow* target, |
67 const gfx::Point& point) const override; | 69 const gfx::Point& point) const override; |
68 gfx::Point ConvertPointToScreen(const gfx::Point& point) const override; | 70 gfx::Point ConvertPointToScreen(const gfx::Point& point) const override; |
69 gfx::Point ConvertPointFromScreen(const gfx::Point& point) const override; | 71 gfx::Point ConvertPointFromScreen(const gfx::Point& point) const override; |
70 gfx::Rect ConvertRectToScreen(const gfx::Rect& rect) const override; | 72 gfx::Rect ConvertRectToScreen(const gfx::Rect& rect) const override; |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 | 208 |
207 bool added_transient_observer_ = false; | 209 bool added_transient_observer_ = false; |
208 base::ObserverList<WmTransientWindowObserver> transient_observers_; | 210 base::ObserverList<WmTransientWindowObserver> transient_observers_; |
209 | 211 |
210 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); | 212 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); |
211 }; | 213 }; |
212 | 214 |
213 } // namespace ash | 215 } // namespace ash |
214 | 216 |
215 #endif // ASH_AURA_WM_WINDOW_AURA_H_ | 217 #endif // ASH_AURA_WM_WINDOW_AURA_H_ |
OLD | NEW |