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

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

Issue 1456233002: Converts remaining windowmanager property based functions to SetProperty (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 "base/macros.h" 8 #include "base/macros.h"
9 #include "components/mus/public/interfaces/window_manager.mojom.h" 9 #include "components/mus/public/interfaces/window_manager.mojom.h"
10 10
(...skipping 10 matching lines...) Expand all
21 ~ForwardingWindowManager() override; 21 ~ForwardingWindowManager() override;
22 22
23 private: 23 private:
24 // Returns the WindowManager of the active display. 24 // Returns the WindowManager of the active display.
25 mojom::WindowManager* GetActiveWindowManager(); 25 mojom::WindowManager* GetActiveWindowManager();
26 26
27 // mojom::WindowManager: 27 // mojom::WindowManager:
28 void OpenWindow( 28 void OpenWindow(
29 mus::mojom::WindowTreeClientPtr client, 29 mus::mojom::WindowTreeClientPtr client,
30 mojo::Map<mojo::String, mojo::Array<uint8_t>> properties) override; 30 mojo::Map<mojo::String, mojo::Array<uint8_t>> properties) override;
31 void SetPreferredSize(uint32_t window_id,
32 mojo::SizePtr size,
33 const SetPreferredSizeCallback& callback) override;
34 void SetResizeBehavior(uint32_t window_id,
35 mus::mojom::ResizeBehavior resize_behavior) override;
36 void GetConfig(const GetConfigCallback& callback) override; 31 void GetConfig(const GetConfigCallback& callback) override;
37 32
38 ConnectionManager* connection_manager_; 33 ConnectionManager* connection_manager_;
39 34
40 DISALLOW_COPY_AND_ASSIGN(ForwardingWindowManager); 35 DISALLOW_COPY_AND_ASSIGN(ForwardingWindowManager);
41 }; 36 };
42 37
43 } // namespace ws 38 } // namespace ws
44 } // namespace mus 39 } // namespace mus
45 40
46 #endif // COMPONENTS_MUS_WS_FORWARDING_WINDOW_MANAGER_H_ 41 #endif // COMPONENTS_MUS_WS_FORWARDING_WINDOW_MANAGER_H_
OLDNEW
« no previous file with comments | « components/mus/public/interfaces/window_tree.mojom ('k') | components/mus/ws/forwarding_window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698