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

Side by Side Diff: ash/mus/bridge/wm_window_mus.h

Issue 2462753002: Use Ash's ShelfWindowWatcher for app panel windows. (Closed)
Patch Set: Add ShelfWindowWatcherTest, remove ChromeLauncherControllerImplTest panel use. Created 4 years, 1 month 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_MUS_BRIDGE_WM_WINDOW_MUS_H_ 5 #ifndef ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_
6 #define ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ 6 #define ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/common/wm_window.h" 10 #include "ash/common/wm_window.h"
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 float GetTargetOpacity() const override; 145 float GetTargetOpacity() const override;
146 gfx::Rect GetMinimizeAnimationTargetBoundsInScreen() const override; 146 gfx::Rect GetMinimizeAnimationTargetBoundsInScreen() const override;
147 void SetTransform(const gfx::Transform& transform) override; 147 void SetTransform(const gfx::Transform& transform) override;
148 gfx::Transform GetTargetTransform() const override; 148 gfx::Transform GetTargetTransform() const override;
149 bool IsSystemModal() const override; 149 bool IsSystemModal() const override;
150 bool GetBoolProperty(WmWindowProperty key) override; 150 bool GetBoolProperty(WmWindowProperty key) override;
151 SkColor GetColorProperty(WmWindowProperty key) override; 151 SkColor GetColorProperty(WmWindowProperty key) override;
152 void SetColorProperty(WmWindowProperty key, SkColor value) override; 152 void SetColorProperty(WmWindowProperty key, SkColor value) override;
153 int GetIntProperty(WmWindowProperty key) override; 153 int GetIntProperty(WmWindowProperty key) override;
154 void SetIntProperty(WmWindowProperty key, int value) override; 154 void SetIntProperty(WmWindowProperty key, int value) override;
155 gfx::ImageSkia GetWindowIcon() override;
156 gfx::ImageSkia GetAppIcon() override;
155 const wm::WindowState* GetWindowState() const override; 157 const wm::WindowState* GetWindowState() const override;
156 WmWindow* GetToplevelWindow() override; 158 WmWindow* GetToplevelWindow() override;
157 WmWindow* GetToplevelWindowForFocus() override; 159 WmWindow* GetToplevelWindowForFocus() override;
158 void SetParentUsingContext(WmWindow* context, 160 void SetParentUsingContext(WmWindow* context,
159 const gfx::Rect& screen_bounds) override; 161 const gfx::Rect& screen_bounds) override;
160 void AddChild(WmWindow* window) override; 162 void AddChild(WmWindow* window) override;
161 void RemoveChild(WmWindow* child) override; 163 void RemoveChild(WmWindow* child) override;
162 const WmWindow* GetParent() const override; 164 const WmWindow* GetParent() const override;
163 const WmWindow* GetTransientParent() const override; 165 const WmWindow* GetTransientParent() const override;
164 std::vector<WmWindow*> GetTransientChildren() override; 166 std::vector<WmWindow*> GetTransientChildren() override;
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 312
311 bool locked_to_root_ = false; 313 bool locked_to_root_ = false;
312 314
313 DISALLOW_COPY_AND_ASSIGN(WmWindowMus); 315 DISALLOW_COPY_AND_ASSIGN(WmWindowMus);
314 }; 316 };
315 317
316 } // namespace mus 318 } // namespace mus
317 } // namespace ash 319 } // namespace ash
318 320
319 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ 321 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698