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

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

Issue 2623703002: Removes WmRootWindowController::GetShell() (Closed)
Patch Set: not relative 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
« no previous file with comments | « ash/common/wm_root_window_controller.h ('k') | ash/mus/bridge/wm_root_window_controller_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_ROOT_WINDOW_CONTROLLER_MUS_H_ 5 #ifndef ASH_MUS_BRIDGE_WM_ROOT_WINDOW_CONTROLLER_MUS_H_
6 #define ASH_MUS_BRIDGE_WM_ROOT_WINDOW_CONTROLLER_MUS_H_ 6 #define ASH_MUS_BRIDGE_WM_ROOT_WINDOW_CONTROLLER_MUS_H_
7 7
8 #include "ash/common/wm_root_window_controller.h" 8 #include "ash/common/wm_root_window_controller.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 gfx::Point ConvertPointToScreen(const WmWindowMus* source, 44 gfx::Point ConvertPointToScreen(const WmWindowMus* source,
45 const gfx::Point& point) const; 45 const gfx::Point& point) const;
46 46
47 const display::Display& GetDisplay() const; 47 const display::Display& GetDisplay() const;
48 48
49 // Exposed as public so WindowManager can call it. 49 // Exposed as public so WindowManager can call it.
50 void MoveWindowsTo(WmWindow* dest); 50 void MoveWindowsTo(WmWindow* dest);
51 51
52 // WmRootWindowController: 52 // WmRootWindowController:
53 bool HasShelf() override; 53 bool HasShelf() override;
54 WmShell* GetShell() override;
55 WmShelf* GetShelf() override; 54 WmShelf* GetShelf() override;
56 WmWindow* GetWindow() override; 55 WmWindow* GetWindow() override;
57 56
58 private: 57 private:
59 friend class RootWindowController; 58 friend class RootWindowController;
60 59
61 // WmRootWindowController: 60 // WmRootWindowController:
62 bool ShouldDestroyWindowInCloseChildWindows(WmWindow* window) override; 61 bool ShouldDestroyWindowInCloseChildWindows(WmWindow* window) override;
63 62
64 WmShellMus* shell_; 63 WmShellMus* shell_;
65 RootWindowController* root_window_controller_; 64 RootWindowController* root_window_controller_;
66 65
67 DISALLOW_COPY_AND_ASSIGN(WmRootWindowControllerMus); 66 DISALLOW_COPY_AND_ASSIGN(WmRootWindowControllerMus);
68 }; 67 };
69 68
70 } // namespace mus 69 } // namespace mus
71 } // namespace ash 70 } // namespace ash
72 71
73 #endif // ASH_MUS_BRIDGE_WM_ROOT_WINDOW_CONTROLLER_MUS_H_ 72 #endif // ASH_MUS_BRIDGE_WM_ROOT_WINDOW_CONTROLLER_MUS_H_
OLDNEW
« no previous file with comments | « ash/common/wm_root_window_controller.h ('k') | ash/mus/bridge/wm_root_window_controller_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698