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

Side by Side Diff: components/mus/ws/forwarding_window_manager.h

Issue 1644773004: Renames some WindowManager classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 4 years, 10 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_MUS_WS_FORWARDING_WINDOW_MANAGER_H_ 5 #ifndef COMPONENTS_MUS_WS_FORWARDING_WINDOW_MANAGER_H_
6 #define COMPONENTS_MUS_WS_FORWARDING_WINDOW_MANAGER_H_ 6 #define COMPONENTS_MUS_WS_FORWARDING_WINDOW_MANAGER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "components/mus/public/interfaces/window_manager.mojom.h" 11 #include "components/mus/public/interfaces/window_manager.mojom.h"
12 12
13 namespace mus { 13 namespace mus {
14 namespace ws { 14 namespace ws {
15 15
16 class ConnectionManager; 16 class ConnectionManager;
17 17
18 // WindowManager implementation that forwards to the window manager of the 18 // WindowManager implementation that forwards to the window manager of the
19 // active display. 19 // active display.
20 class ForwardingWindowManager : public mojom::WindowManager { 20 class ForwardingWindowManager : public mojom::WindowManagerDeprecated {
21 public: 21 public:
22 explicit ForwardingWindowManager(ConnectionManager* connection_manager); 22 explicit ForwardingWindowManager(ConnectionManager* connection_manager);
23 ~ForwardingWindowManager() override; 23 ~ForwardingWindowManager() override;
24 24
25 private: 25 private:
26 // Returns the WindowManager of the active display. 26 // Returns the WindowManager of the active display.
27 mojom::WindowManager* GetActiveWindowManager(); 27 mojom::WindowManagerDeprecated* GetActiveWindowManager();
28 28
29 // mojom::WindowManager: 29 // mojom::WindowManager:
30 void OpenWindow( 30 void OpenWindow(
31 mus::mojom::WindowTreeClientPtr client, 31 mus::mojom::WindowTreeClientPtr client,
32 mojo::Map<mojo::String, mojo::Array<uint8_t>> properties) override; 32 mojo::Map<mojo::String, mojo::Array<uint8_t>> properties) override;
33 33
34 ConnectionManager* connection_manager_; 34 ConnectionManager* connection_manager_;
35 35
36 DISALLOW_COPY_AND_ASSIGN(ForwardingWindowManager); 36 DISALLOW_COPY_AND_ASSIGN(ForwardingWindowManager);
37 }; 37 };
38 38
39 } // namespace ws 39 } // namespace ws
40 } // namespace mus 40 } // namespace mus
41 41
42 #endif // COMPONENTS_MUS_WS_FORWARDING_WINDOW_MANAGER_H_ 42 #endif // COMPONENTS_MUS_WS_FORWARDING_WINDOW_MANAGER_H_
OLDNEW
« no previous file with comments | « components/mus/ws/default_access_policy.cc ('k') | components/mus/ws/forwarding_window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698