Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: ash/wm/aura/wm_window_aura.h

Issue 1923983003: Makes WorkspaceLayoutManager use ash/wm/common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix always-on-top and remove mus changes Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_WM_AURA_WM_WINDOW_AURA_H_ 5 #ifndef ASH_WM_AURA_WM_WINDOW_AURA_H_
6 #define ASH_WM_AURA_WM_WINDOW_AURA_H_ 6 #define ASH_WM_AURA_WM_WINDOW_AURA_H_
7 7
8 #include "ash/wm/common/wm_window.h" 8 #include "ash/wm/common/wm_window.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 25 matching lines...) Expand all
36 36
37 aura::Window* aura_window() { return window_; } 37 aura::Window* aura_window() { return window_; }
38 const aura::Window* aura_window() const { return window_; } 38 const aura::Window* aura_window() const { return window_; }
39 39
40 // WmWindow: 40 // WmWindow:
41 const WmWindow* GetRootWindow() const override; 41 const WmWindow* GetRootWindow() const override;
42 WmRootWindowController* GetRootWindowController() override; 42 WmRootWindowController* GetRootWindowController() override;
43 WmGlobals* GetGlobals() const override; 43 WmGlobals* GetGlobals() const override;
44 void SetName(const std::string& name) override; 44 void SetName(const std::string& name) override;
45 void SetShellWindowId(int id) override; 45 void SetShellWindowId(int id) override;
46 int GetShellWindowId() override; 46 int GetShellWindowId() const override;
47 WmWindow* GetChildByShellWindowId(int id) override; 47 WmWindow* GetChildByShellWindowId(int id) override;
48 ui::wm::WindowType GetType() const override; 48 ui::wm::WindowType GetType() const override;
49 ui::Layer* GetLayer() override; 49 ui::Layer* GetLayer() override;
50 display::Display GetDisplayNearestWindow() override; 50 display::Display GetDisplayNearestWindow() override;
51 bool HasNonClientArea() override; 51 bool HasNonClientArea() override;
52 int GetNonClientComponent(const gfx::Point& location) override; 52 int GetNonClientComponent(const gfx::Point& location) override;
53 gfx::Point ConvertPointToTarget(const WmWindow* target, 53 gfx::Point ConvertPointToTarget(const WmWindow* target,
54 const gfx::Point& point) const override; 54 const gfx::Point& point) const override;
55 gfx::Point ConvertPointToScreen(const gfx::Point& point) const override; 55 gfx::Point ConvertPointToScreen(const gfx::Point& point) const override;
56 gfx::Point ConvertPointFromScreen(const gfx::Point& point) const override; 56 gfx::Point ConvertPointFromScreen(const gfx::Point& point) const override;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 142
143 base::ObserverList<WmWindowObserver> observers_; 143 base::ObserverList<WmWindowObserver> observers_;
144 144
145 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); 145 DISALLOW_COPY_AND_ASSIGN(WmWindowAura);
146 }; 146 };
147 147
148 } // namespace wm 148 } // namespace wm
149 } // namespace ash 149 } // namespace ash
150 150
151 #endif // ASH_WM_AURA_WM_WINDOW_AURA_H_ 151 #endif // ASH_WM_AURA_WM_WINDOW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698