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

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

Issue 2001623003: Splits ToplevelWindowEventHandler into two (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gyp 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/aura/wm_globals_aura.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/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/wm/common/wm_window.h" 9 #include "ash/wm/common/wm_window.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 void Show() override; 114 void Show() override;
115 bool IsFocused() const override; 115 bool IsFocused() const override;
116 bool IsActive() const override; 116 bool IsActive() const override;
117 void Activate() override; 117 void Activate() override;
118 void Deactivate() override; 118 void Deactivate() override;
119 void SetFullscreen() override; 119 void SetFullscreen() override;
120 void Maximize() override; 120 void Maximize() override;
121 void Minimize() override; 121 void Minimize() override;
122 void Unminimize() override; 122 void Unminimize() override;
123 std::vector<WmWindow*> GetChildren() override; 123 std::vector<WmWindow*> GetChildren() override;
124 void ShowResizeShadow(int component) override;
125 void HideResizeShadow() override;
124 void SnapToPixelBoundaryIfNecessary() override; 126 void SnapToPixelBoundaryIfNecessary() override;
125 void AddObserver(WmWindowObserver* observer) override; 127 void AddObserver(WmWindowObserver* observer) override;
126 void RemoveObserver(WmWindowObserver* observer) override; 128 void RemoveObserver(WmWindowObserver* observer) override;
127 129
128 private: 130 private:
129 // aura::WindowObserver: 131 // aura::WindowObserver:
130 void OnWindowHierarchyChanged(const HierarchyChangeParams& params) override; 132 void OnWindowHierarchyChanged(const HierarchyChangeParams& params) override;
131 void OnWindowStackingChanged(aura::Window* window) override; 133 void OnWindowStackingChanged(aura::Window* window) override;
132 void OnWindowPropertyChanged(aura::Window* window, 134 void OnWindowPropertyChanged(aura::Window* window,
133 const void* key, 135 const void* key,
134 intptr_t old) override; 136 intptr_t old) override;
135 void OnWindowBoundsChanged(aura::Window* window, 137 void OnWindowBoundsChanged(aura::Window* window,
136 const gfx::Rect& old_bounds, 138 const gfx::Rect& old_bounds,
137 const gfx::Rect& new_bounds) override; 139 const gfx::Rect& new_bounds) override;
138 void OnWindowDestroying(aura::Window* window) override; 140 void OnWindowDestroying(aura::Window* window) override;
139 void OnWindowVisibilityChanging(aura::Window* window, bool visible) override; 141 void OnWindowVisibilityChanging(aura::Window* window, bool visible) override;
140 142
141 aura::Window* window_; 143 aura::Window* window_;
142 144
143 base::ObserverList<WmWindowObserver> observers_; 145 base::ObserverList<WmWindowObserver> observers_;
144 146
145 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); 147 DISALLOW_COPY_AND_ASSIGN(WmWindowAura);
146 }; 148 };
147 149
148 } // namespace wm 150 } // namespace wm
149 } // namespace ash 151 } // namespace ash
150 152
151 #endif // ASH_WM_AURA_WM_WINDOW_AURA_H_ 153 #endif // ASH_WM_AURA_WM_WINDOW_AURA_H_
OLDNEW
« no previous file with comments | « ash/wm/aura/wm_globals_aura.cc ('k') | ash/wm/aura/wm_window_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698