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

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

Issue 2234033002: mash: Remove WorkspaceLayoutManagerDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove WmRootWindowControllerObserver::OnFullscreenStateChanged; use ShellObserver. 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_shell.cc ('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 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 23 matching lines...) Expand all
34 static WmRootWindowControllerMus* Get(ui::Window* window) { 34 static WmRootWindowControllerMus* Get(ui::Window* window) {
35 return const_cast<WmRootWindowControllerMus*>( 35 return const_cast<WmRootWindowControllerMus*>(
36 Get(const_cast<const ui::Window*>(window))); 36 Get(const_cast<const ui::Window*>(window)));
37 } 37 }
38 static const WmRootWindowControllerMus* Get(const ui::Window* window); 38 static const WmRootWindowControllerMus* Get(const ui::Window* window);
39 39
40 RootWindowController* root_window_controller() { 40 RootWindowController* root_window_controller() {
41 return root_window_controller_; 41 return root_window_controller_;
42 } 42 }
43 43
44 void NotifyFullscreenStateChange(bool is_fullscreen);
45
46 // Screen conversion functions. 44 // Screen conversion functions.
47 gfx::Point ConvertPointToScreen(const WmWindowMus* source, 45 gfx::Point ConvertPointToScreen(const WmWindowMus* source,
48 const gfx::Point& point) const; 46 const gfx::Point& point) const;
49 gfx::Point ConvertPointFromScreen(const WmWindowMus* target, 47 gfx::Point ConvertPointFromScreen(const WmWindowMus* target,
50 const gfx::Point& point) const; 48 const gfx::Point& point) const;
51 49
52 const display::Display& GetDisplay() const; 50 const display::Display& GetDisplay() const;
53 51
54 // WmRootWindowController: 52 // WmRootWindowController:
55 bool HasShelf() override; 53 bool HasShelf() override;
(...skipping 19 matching lines...) Expand all
75 RootWindowController* root_window_controller_; 73 RootWindowController* root_window_controller_;
76 base::ObserverList<WmRootWindowControllerObserver> observers_; 74 base::ObserverList<WmRootWindowControllerObserver> observers_;
77 75
78 DISALLOW_COPY_AND_ASSIGN(WmRootWindowControllerMus); 76 DISALLOW_COPY_AND_ASSIGN(WmRootWindowControllerMus);
79 }; 77 };
80 78
81 } // namespace mus 79 } // namespace mus
82 } // namespace ash 80 } // namespace ash
83 81
84 #endif // ASH_MUS_BRIDGE_WM_ROOT_WINDOW_CONTROLLER_MUS_H_ 82 #endif // ASH_MUS_BRIDGE_WM_ROOT_WINDOW_CONTROLLER_MUS_H_
OLDNEW
« no previous file with comments | « ash/common/wm_shell.cc ('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