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

Side by Side Diff: mash/wm/window_manager_impl.h

Issue 1644773004: Renames some WindowManager classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 4 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 | « mash/wm/window_manager_apptest.cc ('k') | ui/views/mus/window_manager_connection.h » ('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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "components/mus/common/types.h" 11 #include "components/mus/common/types.h"
12 #include "components/mus/public/cpp/window_manager_delegate.h" 12 #include "components/mus/public/cpp/window_manager_delegate.h"
13 #include "components/mus/public/cpp/window_observer.h" 13 #include "components/mus/public/cpp/window_observer.h"
14 #include "components/mus/public/interfaces/window_manager.mojom.h" 14 #include "components/mus/public/interfaces/window_manager.mojom.h"
15 15
16 namespace mash { 16 namespace mash {
17 namespace wm { 17 namespace wm {
18 18
19 class WindowManagerApplication; 19 class WindowManagerApplication;
20 20
21 using WindowManagerErrorCodeCallback = 21 using WindowManagerErrorCodeCallback =
22 const mojo::Callback<void(mus::mojom::WindowManagerErrorCode)>; 22 const mojo::Callback<void(mus::mojom::WindowManagerErrorCode)>;
23 23
24 class WindowManagerImpl : public mus::mojom::WindowManager, 24 class WindowManagerImpl : public mus::mojom::WindowManagerDeprecated,
25 public mus::WindowObserver, 25 public mus::WindowObserver,
26 public mus::WindowManagerDelegate { 26 public mus::WindowManagerDelegate {
27 public: 27 public:
28 WindowManagerImpl(); 28 WindowManagerImpl();
29 ~WindowManagerImpl() override; 29 ~WindowManagerImpl() override;
30 30
31 void Initialize(WindowManagerApplication* state); 31 void Initialize(WindowManagerApplication* state);
32 32
33 private: 33 private:
34 gfx::Rect CalculateDefaultBounds(mus::Window* window) const; 34 gfx::Rect CalculateDefaultBounds(mus::Window* window) const;
(...skipping 24 matching lines...) Expand all
59 WindowManagerApplication* state_; 59 WindowManagerApplication* state_;
60 mus::WindowManagerClient* window_manager_client_; 60 mus::WindowManagerClient* window_manager_client_;
61 61
62 DISALLOW_COPY_AND_ASSIGN(WindowManagerImpl); 62 DISALLOW_COPY_AND_ASSIGN(WindowManagerImpl);
63 }; 63 };
64 64
65 } // namespace wm 65 } // namespace wm
66 } // namespace mash 66 } // namespace mash
67 67
68 #endif // MASH_WM_WINDOW_MANAGER_IMPL_H_ 68 #endif // MASH_WM_WINDOW_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « mash/wm/window_manager_apptest.cc ('k') | ui/views/mus/window_manager_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698