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

Side by Side Diff: ash/mus/bridge/wm_window_mus.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 | « ash/common/wm_window_property.h ('k') | ash/mus/bridge/wm_window_mus.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_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/shell_window_ids.h" 10 #include "ash/common/shell_window_ids.h"
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 gfx::Size GetMaximumSize() const override; 125 gfx::Size GetMaximumSize() const override;
126 bool GetTargetVisibility() const override; 126 bool GetTargetVisibility() const override;
127 bool IsVisible() const override; 127 bool IsVisible() const override;
128 void SetOpacity(float opacity) override; 128 void SetOpacity(float opacity) override;
129 float GetTargetOpacity() const override; 129 float GetTargetOpacity() const override;
130 void SetTransform(const gfx::Transform& transform) override; 130 void SetTransform(const gfx::Transform& transform) override;
131 gfx::Transform GetTargetTransform() const override; 131 gfx::Transform GetTargetTransform() const override;
132 bool IsSystemModal() const override; 132 bool IsSystemModal() const override;
133 bool GetBoolProperty(WmWindowProperty key) override; 133 bool GetBoolProperty(WmWindowProperty key) override;
134 int GetIntProperty(WmWindowProperty key) override; 134 int GetIntProperty(WmWindowProperty key) override;
135 void SetIntProperty(WmWindowProperty key, int value) override;
136 ShelfItemDetails* GetShelfItemDetails() override;
135 const wm::WindowState* GetWindowState() const override; 137 const wm::WindowState* GetWindowState() const override;
136 WmWindow* GetToplevelWindow() override; 138 WmWindow* GetToplevelWindow() override;
137 WmWindow* GetToplevelWindowForFocus() override; 139 WmWindow* GetToplevelWindowForFocus() override;
138 void SetParentUsingContext(WmWindow* context, 140 void SetParentUsingContext(WmWindow* context,
139 const gfx::Rect& screen_bounds) override; 141 const gfx::Rect& screen_bounds) override;
140 void AddChild(WmWindow* window) override; 142 void AddChild(WmWindow* window) override;
141 WmWindow* GetParent() override; 143 WmWindow* GetParent() override;
142 const WmWindow* GetTransientParent() const override; 144 const WmWindow* GetTransientParent() const override;
143 std::vector<WmWindow*> GetTransientChildren() override; 145 std::vector<WmWindow*> GetTransientChildren() override;
144 void SetLayoutManager( 146 void SetLayoutManager(
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 // resizing easier. 263 // resizing easier.
262 bool children_use_extended_hit_region_ = false; 264 bool children_use_extended_hit_region_ = false;
263 265
264 DISALLOW_COPY_AND_ASSIGN(WmWindowMus); 266 DISALLOW_COPY_AND_ASSIGN(WmWindowMus);
265 }; 267 };
266 268
267 } // namespace mus 269 } // namespace mus
268 } // namespace ash 270 } // namespace ash
269 271
270 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ 272 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_
OLDNEW
« no previous file with comments | « ash/common/wm_window_property.h ('k') | ash/mus/bridge/wm_window_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698