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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 WmRootWindowController* GetRootWindowController() override; | 115 WmRootWindowController* GetRootWindowController() override; |
116 WmShell* GetShell() const override; | 116 WmShell* GetShell() const override; |
117 void SetName(const char* name) override; | 117 void SetName(const char* name) override; |
118 std::string GetName() const override; | 118 std::string GetName() const override; |
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; |
| 126 void SetAppType(int app_type) const override; |
125 bool IsBubble() override; | 127 bool IsBubble() override; |
126 ui::Layer* GetLayer() override; | 128 ui::Layer* GetLayer() override; |
127 display::Display GetDisplayNearestWindow() override; | 129 display::Display GetDisplayNearestWindow() override; |
128 bool HasNonClientArea() override; | 130 bool HasNonClientArea() override; |
129 int GetNonClientComponent(const gfx::Point& location) override; | 131 int GetNonClientComponent(const gfx::Point& location) override; |
130 gfx::Point ConvertPointToTarget(const WmWindow* target, | 132 gfx::Point ConvertPointToTarget(const WmWindow* target, |
131 const gfx::Point& point) const override; | 133 const gfx::Point& point) const override; |
132 gfx::Point ConvertPointToScreen(const gfx::Point& point) const override; | 134 gfx::Point ConvertPointToScreen(const gfx::Point& point) const override; |
133 gfx::Point ConvertPointFromScreen(const gfx::Point& point) const override; | 135 gfx::Point ConvertPointFromScreen(const gfx::Point& point) const override; |
134 gfx::Rect ConvertRectToScreen(const gfx::Rect& rect) const override; | 136 gfx::Rect ConvertRectToScreen(const gfx::Rect& rect) const override; |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 | 309 |
308 bool locked_to_root_ = false; | 310 bool locked_to_root_ = false; |
309 | 311 |
310 DISALLOW_COPY_AND_ASSIGN(WmWindowMus); | 312 DISALLOW_COPY_AND_ASSIGN(WmWindowMus); |
311 }; | 313 }; |
312 | 314 |
313 } // namespace mus | 315 } // namespace mus |
314 } // namespace ash | 316 } // namespace ash |
315 | 317 |
316 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ | 318 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ |
OLD | NEW |