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

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

Issue 1924703002: Rename gfx::Display/Screen to display::Display/Screen in ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « ash/wm/ash_native_cursor_manager_unittest.cc ('k') | ash/wm/aura/wm_window_aura.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 29 matching lines...) Expand all
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() 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 gfx::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;
57 gfx::Rect ConvertRectToScreen(const gfx::Rect& rect) const override; 57 gfx::Rect ConvertRectToScreen(const gfx::Rect& rect) const override;
58 gfx::Rect ConvertRectFromScreen(const gfx::Rect& rect) const override; 58 gfx::Rect ConvertRectFromScreen(const gfx::Rect& rect) const override;
59 gfx::Size GetMinimumSize() const override; 59 gfx::Size GetMinimumSize() const override;
60 gfx::Size GetMaximumSize() const override; 60 gfx::Size GetMaximumSize() const override;
(...skipping 15 matching lines...) Expand all
76 void SetVisibilityAnimationType(int type) override; 76 void SetVisibilityAnimationType(int type) override;
77 void SetVisibilityAnimationDuration(base::TimeDelta delta) override; 77 void SetVisibilityAnimationDuration(base::TimeDelta delta) override;
78 void Animate(::wm::WindowAnimationType type) override; 78 void Animate(::wm::WindowAnimationType type) override;
79 void SetBounds(const gfx::Rect& bounds) override; 79 void SetBounds(const gfx::Rect& bounds) override;
80 void SetBoundsWithTransitionDelay(const gfx::Rect& bounds, 80 void SetBoundsWithTransitionDelay(const gfx::Rect& bounds,
81 base::TimeDelta delta) override; 81 base::TimeDelta delta) override;
82 void SetBoundsDirect(const gfx::Rect& bounds) override; 82 void SetBoundsDirect(const gfx::Rect& bounds) override;
83 void SetBoundsDirectAnimated(const gfx::Rect& bounds) override; 83 void SetBoundsDirectAnimated(const gfx::Rect& bounds) override;
84 void SetBoundsDirectCrossFade(const gfx::Rect& bounds) override; 84 void SetBoundsDirectCrossFade(const gfx::Rect& bounds) override;
85 void SetBoundsInScreen(const gfx::Rect& bounds_in_screen, 85 void SetBoundsInScreen(const gfx::Rect& bounds_in_screen,
86 const gfx::Display& dst_display) override; 86 const display::Display& dst_display) override;
87 gfx::Rect GetBoundsInScreen() const override; 87 gfx::Rect GetBoundsInScreen() const override;
88 const gfx::Rect& GetBounds() const override; 88 const gfx::Rect& GetBounds() const override;
89 gfx::Rect GetTargetBounds() override; 89 gfx::Rect GetTargetBounds() override;
90 void ClearRestoreBounds() override; 90 void ClearRestoreBounds() override;
91 void SetRestoreBoundsInScreen(const gfx::Rect& bounds) override; 91 void SetRestoreBoundsInScreen(const gfx::Rect& bounds) override;
92 gfx::Rect GetRestoreBoundsInScreen() const override; 92 gfx::Rect GetRestoreBoundsInScreen() const override;
93 void OnWMEvent(const wm::WMEvent* event) override; 93 void OnWMEvent(const wm::WMEvent* event) override;
94 bool Contains(const WmWindow* other) const override; 94 bool Contains(const WmWindow* other) const override;
95 void SetShowState(ui::WindowShowState show_state) override; 95 void SetShowState(ui::WindowShowState show_state) override;
96 ui::WindowShowState GetShowState() const override; 96 ui::WindowShowState GetShowState() const override;
(...skipping 45 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
« no previous file with comments | « ash/wm/ash_native_cursor_manager_unittest.cc ('k') | ash/wm/aura/wm_window_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698