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

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

Issue 2192553002: mash: Convert ShelfWindowWatcher to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits and better test Created 4 years, 4 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 | « no previous file | ash/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_AURA_WM_WINDOW_AURA_H_ 5 #ifndef ASH_AURA_WM_WINDOW_AURA_H_
6 #define ASH_AURA_WM_WINDOW_AURA_H_ 6 #define ASH_AURA_WM_WINDOW_AURA_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/common/wm_window.h" 9 #include "ash/common/wm_window.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 gfx::Size GetMaximumSize() const override; 67 gfx::Size GetMaximumSize() const override;
68 bool GetTargetVisibility() const override; 68 bool GetTargetVisibility() const override;
69 bool IsVisible() const override; 69 bool IsVisible() const override;
70 void SetOpacity(float opacity) override; 70 void SetOpacity(float opacity) override;
71 float GetTargetOpacity() const override; 71 float GetTargetOpacity() const override;
72 void SetTransform(const gfx::Transform& transform) override; 72 void SetTransform(const gfx::Transform& transform) override;
73 gfx::Transform GetTargetTransform() const override; 73 gfx::Transform GetTargetTransform() const override;
74 bool IsSystemModal() const override; 74 bool IsSystemModal() const override;
75 bool GetBoolProperty(WmWindowProperty key) override; 75 bool GetBoolProperty(WmWindowProperty key) override;
76 int GetIntProperty(WmWindowProperty key) override; 76 int GetIntProperty(WmWindowProperty key) override;
77 void SetIntProperty(WmWindowProperty key, int value) override;
78 ShelfItemDetails* GetShelfItemDetails() override;
77 const wm::WindowState* GetWindowState() const override; 79 const wm::WindowState* GetWindowState() const override;
78 WmWindow* GetToplevelWindow() override; 80 WmWindow* GetToplevelWindow() override;
79 WmWindow* GetToplevelWindowForFocus() override; 81 WmWindow* GetToplevelWindowForFocus() override;
80 void SetParentUsingContext(WmWindow* context, 82 void SetParentUsingContext(WmWindow* context,
81 const gfx::Rect& screen_bounds) override; 83 const gfx::Rect& screen_bounds) override;
82 void AddChild(WmWindow* window) override; 84 void AddChild(WmWindow* window) override;
83 WmWindow* GetParent() override; 85 WmWindow* GetParent() override;
84 const WmWindow* GetTransientParent() const override; 86 const WmWindow* GetTransientParent() const override;
85 std::vector<WmWindow*> GetTransientChildren() override; 87 std::vector<WmWindow*> GetTransientChildren() override;
86 void SetLayoutManager( 88 void SetLayoutManager(
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 aura::Window* window_; 181 aura::Window* window_;
180 182
181 base::ObserverList<WmWindowObserver> observers_; 183 base::ObserverList<WmWindowObserver> observers_;
182 184
183 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); 185 DISALLOW_COPY_AND_ASSIGN(WmWindowAura);
184 }; 186 };
185 187
186 } // namespace ash 188 } // namespace ash
187 189
188 #endif // ASH_AURA_WM_WINDOW_AURA_H_ 190 #endif // ASH_AURA_WM_WINDOW_AURA_H_
OLDNEW
« no previous file with comments | « no previous file | ash/aura/wm_window_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698