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

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

Issue 2613863005: Removes/promotes functions from WmWindowMus to WmWindowAura (Closed)
Patch Set: Created 3 years, 11 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
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/aura/wm_window_aura.h" 10 #include "ash/aura/wm_window_aura.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 static const WmWindowMus* AsWmWindowMus(const WmWindow* window) { 55 static const WmWindowMus* AsWmWindowMus(const WmWindow* window) {
56 return static_cast<const WmWindowMus*>(window); 56 return static_cast<const WmWindowMus*>(window);
57 } 57 }
58 58
59 // Returns true if this window is considered a shell window container. 59 // Returns true if this window is considered a shell window container.
60 bool IsContainer() const; 60 bool IsContainer() const;
61 61
62 // WmWindow: 62 // WmWindow:
63 WmRootWindowController* GetRootWindowController() override; 63 WmRootWindowController* GetRootWindowController() override;
64 WmShell* GetShell() const override; 64 WmShell* GetShell() const override;
65 int GetIntProperty(WmWindowProperty key) override;
66 bool MoveToEventRoot(const ui::Event& event) override;
67 void SetBoundsInScreen(const gfx::Rect& bounds_in_screen,
68 const display::Display& dst_display) override;
69 void SetPinned(bool trusted) override;
70 void CloseWidget() override; 65 void CloseWidget() override;
71 bool CanActivate() const override;
72 void ShowResizeShadow(int component) override;
73 void HideResizeShadow() override;
74 void InstallResizeHandleWindowTargeter(
75 ImmersiveFullscreenController* immersive_fullscreen_controller) override;
76 void SetBoundsInScreenBehaviorForChildren(
77 BoundsInScreenBehavior behavior) override;
78 void AddLimitedPreTargetHandler(ui::EventHandler* handler) override; 66 void AddLimitedPreTargetHandler(ui::EventHandler* handler) override;
79 67
80 private: 68 private:
81 BoundsInScreenBehavior child_bounds_in_screen_behavior_ =
82 BoundsInScreenBehavior::USE_LOCAL_COORDINATES;
83
84 DISALLOW_COPY_AND_ASSIGN(WmWindowMus); 69 DISALLOW_COPY_AND_ASSIGN(WmWindowMus);
85 }; 70 };
86 71
87 } // namespace mus 72 } // namespace mus
88 } // namespace ash 73 } // namespace ash
89 74
90 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ 75 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698