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

Side by Side Diff: mash/wm/window_manager_impl.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
« no previous file with comments | « mash/wm/window_manager_apptest.cc ('k') | mash/wm/window_manager_impl.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 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 MASH_WM_WINDOW_MANAGER_IMPL_H_ 5 #ifndef MASH_WM_WINDOW_MANAGER_IMPL_H_
6 #define MASH_WM_WINDOW_MANAGER_IMPL_H_ 6 #define MASH_WM_WINDOW_MANAGER_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/mus/common/types.h" 9 #include "components/mus/common/types.h"
10 #include "components/mus/public/cpp/window_observer.h" 10 #include "components/mus/public/cpp/window_observer.h"
(...skipping 11 matching lines...) Expand all
22 ~WindowManagerImpl() override; 22 ~WindowManagerImpl() override;
23 23
24 private: 24 private:
25 gfx::Rect CalculateDefaultBounds(mus::Window* window) const; 25 gfx::Rect CalculateDefaultBounds(mus::Window* window) const;
26 gfx::Rect GetMaximizedWindowBounds() const; 26 gfx::Rect GetMaximizedWindowBounds() const;
27 27
28 // mus::mojom::WindowManager: 28 // mus::mojom::WindowManager:
29 void OpenWindow( 29 void OpenWindow(
30 mus::mojom::WindowTreeClientPtr client, 30 mus::mojom::WindowTreeClientPtr client,
31 mojo::Map<mojo::String, mojo::Array<uint8_t>> properties) override; 31 mojo::Map<mojo::String, mojo::Array<uint8_t>> properties) override;
32 void SetPreferredSize(
33 mus::Id window_id,
34 mojo::SizePtr size,
35 const WindowManagerErrorCodeCallback& callback) override;
36 void SetResizeBehavior(uint32_t window_id,
37 mus::mojom::ResizeBehavior resize_behavior) override;
38 void GetConfig(const GetConfigCallback& callback) override; 32 void GetConfig(const GetConfigCallback& callback) override;
39 33
40 mus::Window* GetContainerForChild(mus::Window* child); 34 mus::Window* GetContainerForChild(mus::Window* child);
41 35
42 WindowManagerApplication* state_; 36 WindowManagerApplication* state_;
43 37
44 DISALLOW_COPY_AND_ASSIGN(WindowManagerImpl); 38 DISALLOW_COPY_AND_ASSIGN(WindowManagerImpl);
45 }; 39 };
46 40
47 #endif // MASH_WM_WINDOW_MANAGER_IMPL_H_ 41 #endif // MASH_WM_WINDOW_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « mash/wm/window_manager_apptest.cc ('k') | mash/wm/window_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698