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

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

Issue 2625843002: Folds WmRootWindowController into RootWindowController (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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 return static_cast<WmWindowMus*>(window); 45 return static_cast<WmWindowMus*>(window);
46 } 46 }
47 static const WmWindowMus* AsWmWindowMus(const WmWindow* window) { 47 static const WmWindowMus* AsWmWindowMus(const WmWindow* window) {
48 return static_cast<const WmWindowMus*>(window); 48 return static_cast<const WmWindowMus*>(window);
49 } 49 }
50 50
51 // Returns true if this window is considered a shell window container. 51 // Returns true if this window is considered a shell window container.
52 bool IsContainer() const; 52 bool IsContainer() const;
53 53
54 // WmWindow: 54 // WmWindow:
55 WmRootWindowController* GetRootWindowController() override; 55 ash::RootWindowController* GetRootWindowController() override;
56 WmShell* GetShell() const override; 56 WmShell* GetShell() const override;
57 void CloseWidget() override; 57 void CloseWidget() override;
58 void AddLimitedPreTargetHandler(ui::EventHandler* handler) override; 58 void AddLimitedPreTargetHandler(ui::EventHandler* handler) override;
59 59
60 private: 60 private:
61 DISALLOW_COPY_AND_ASSIGN(WmWindowMus); 61 DISALLOW_COPY_AND_ASSIGN(WmWindowMus);
62 }; 62 };
63 63
64 } // namespace mus 64 } // namespace mus
65 } // namespace ash 65 } // namespace ash
66 66
67 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ 67 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698