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

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

Issue 2350953009: Centralizes more shared code between ash and mash (Closed)
Patch Set: feedback Created 4 years, 3 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/mus/bridge/wm_shelf_mus.cc ('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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 void SetIntProperty(WmWindowProperty key, int value) override; 149 void SetIntProperty(WmWindowProperty key, int value) override;
150 ShelfItemDetails* GetShelfItemDetails() override; 150 ShelfItemDetails* GetShelfItemDetails() override;
151 void SetShelfItemDetails(const ShelfItemDetails& details) override; 151 void SetShelfItemDetails(const ShelfItemDetails& details) override;
152 void ClearShelfItemDetails() override; 152 void ClearShelfItemDetails() override;
153 const wm::WindowState* GetWindowState() const override; 153 const wm::WindowState* GetWindowState() const override;
154 WmWindow* GetToplevelWindow() override; 154 WmWindow* GetToplevelWindow() override;
155 WmWindow* GetToplevelWindowForFocus() override; 155 WmWindow* GetToplevelWindowForFocus() override;
156 void SetParentUsingContext(WmWindow* context, 156 void SetParentUsingContext(WmWindow* context,
157 const gfx::Rect& screen_bounds) override; 157 const gfx::Rect& screen_bounds) override;
158 void AddChild(WmWindow* window) override; 158 void AddChild(WmWindow* window) override;
159 void RemoveChild(WmWindow* child) override;
159 const WmWindow* GetParent() const override; 160 const WmWindow* GetParent() const override;
160 const WmWindow* GetTransientParent() const override; 161 const WmWindow* GetTransientParent() const override;
161 std::vector<WmWindow*> GetTransientChildren() override; 162 std::vector<WmWindow*> GetTransientChildren() override;
162 void SetLayoutManager( 163 void SetLayoutManager(
163 std::unique_ptr<WmLayoutManager> layout_manager) override; 164 std::unique_ptr<WmLayoutManager> layout_manager) override;
164 WmLayoutManager* GetLayoutManager() override; 165 WmLayoutManager* GetLayoutManager() override;
165 void SetVisibilityChangesAnimated() override; 166 void SetVisibilityChangesAnimated() override;
166 void SetVisibilityAnimationType(int type) override; 167 void SetVisibilityAnimationType(int type) override;
167 void SetVisibilityAnimationDuration(base::TimeDelta delta) override; 168 void SetVisibilityAnimationDuration(base::TimeDelta delta) override;
168 void SetVisibilityAnimationTransition( 169 void SetVisibilityAnimationTransition(
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 307
307 bool locked_to_root_ = false; 308 bool locked_to_root_ = false;
308 309
309 DISALLOW_COPY_AND_ASSIGN(WmWindowMus); 310 DISALLOW_COPY_AND_ASSIGN(WmWindowMus);
310 }; 311 };
311 312
312 } // namespace mus 313 } // namespace mus
313 } // namespace ash 314 } // namespace ash
314 315
315 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ 316 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_
OLDNEW
« no previous file with comments | « ash/mus/bridge/wm_shelf_mus.cc ('k') | ash/mus/bridge/wm_window_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698