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

Unified Diff: ash/aura/wm_window_aura.h

Issue 2042913002: Converts MruWindowTracker to work with common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: not equal Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/aura/wm_shell_aura.cc ('k') | ash/aura/wm_window_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/aura/wm_window_aura.h
diff --git a/ash/aura/wm_window_aura.h b/ash/aura/wm_window_aura.h
index eb3b1604fb0aa0dbd81ea6d6da7d1ca3c57e91af..c6cb429f3c42980998e264ee77c55fb4df4b8dfa 100644
--- a/ash/aura/wm_window_aura.h
+++ b/ash/aura/wm_window_aura.h
@@ -30,6 +30,8 @@ class ASH_EXPORT WmWindowAura : public WmWindow, public aura::WindowObserver {
static std::vector<WmWindow*> FromAuraWindows(
const std::vector<aura::Window*>& aura_windows);
+ static std::vector<aura::Window*> ToAuraWindows(
+ const std::vector<WmWindow*>& windows);
static aura::Window* GetAuraWindow(WmWindow* wm_window) {
return const_cast<aura::Window*>(
@@ -149,6 +151,7 @@ class ASH_EXPORT WmWindowAura : public WmWindow, public aura::WindowObserver {
private:
// aura::WindowObserver:
+ void OnWindowHierarchyChanging(const HierarchyChangeParams& params) override;
void OnWindowHierarchyChanged(const HierarchyChangeParams& params) override;
void OnWindowStackingChanged(aura::Window* window) override;
void OnWindowPropertyChanged(aura::Window* window,
@@ -158,6 +161,7 @@ class ASH_EXPORT WmWindowAura : public WmWindow, public aura::WindowObserver {
const gfx::Rect& old_bounds,
const gfx::Rect& new_bounds) override;
void OnWindowDestroying(aura::Window* window) override;
+ void OnWindowDestroyed(aura::Window* window) override;
void OnWindowVisibilityChanging(aura::Window* window, bool visible) override;
void OnWindowTitleChanged(aura::Window* window) override;
« no previous file with comments | « ash/aura/wm_shell_aura.cc ('k') | ash/aura/wm_window_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698