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

Side by Side Diff: mash/simple_wm/simple_wm.h

Issue 2644093002: aura: Some change to how the client-lib is set up. (Closed)
Patch Set: . Created 3 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 | « chrome/browser/chrome_content_browser_client.cc ('k') | mash/simple_wm/simple_wm.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 MASH_SIMPLE_WM_SIMPLE_WM_H_ 5 #ifndef MASH_SIMPLE_WM_SIMPLE_WM_H_
6 #define MASH_SIMPLE_WM_SIMPLE_WM_H_ 6 #define MASH_SIMPLE_WM_SIMPLE_WM_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "base/threading/thread_task_runner_handle.h" 12 #include "base/threading/thread_task_runner_handle.h"
13 #include "mojo/public/cpp/bindings/binding.h" 13 #include "mojo/public/cpp/bindings/binding.h"
14 #include "services/service_manager/public/cpp/connector.h" 14 #include "services/service_manager/public/cpp/connector.h"
15 #include "services/service_manager/public/cpp/service.h" 15 #include "services/service_manager/public/cpp/service.h"
16 #include "services/service_manager/public/cpp/service_context.h" 16 #include "services/service_manager/public/cpp/service_context.h"
17 #include "services/ui/public/cpp/gpu/gpu.h"
18 #include "ui/aura/env.h" 17 #include "ui/aura/env.h"
19 #include "ui/aura/mus/mus_context_factory.h"
20 #include "ui/aura/mus/property_converter.h" 18 #include "ui/aura/mus/property_converter.h"
21 #include "ui/aura/mus/property_utils.h" 19 #include "ui/aura/mus/property_utils.h"
22 #include "ui/aura/mus/window_manager_delegate.h" 20 #include "ui/aura/mus/window_manager_delegate.h"
23 #include "ui/aura/mus/window_tree_client.h" 21 #include "ui/aura/mus/window_tree_client.h"
24 #include "ui/aura/mus/window_tree_client_delegate.h" 22 #include "ui/aura/mus/window_tree_client_delegate.h"
25 #include "ui/aura/mus/window_tree_host_mus.h" 23 #include "ui/aura/mus/window_tree_host_mus.h"
26 #include "ui/aura/window.h" 24 #include "ui/aura/window.h"
27 #include "ui/display/display.h" 25 #include "ui/display/display.h"
28 #include "ui/wm/core/base_focus_rules.h" 26 #include "ui/wm/core/base_focus_rules.h"
29 #include "ui/wm/core/capture_controller.h" 27 #include "ui/wm/core/capture_controller.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 std::unique_ptr<views::AuraInit> aura_init_; 113 std::unique_ptr<views::AuraInit> aura_init_;
116 wm::WMState wm_state_; 114 wm::WMState wm_state_;
117 std::unique_ptr<display::ScreenBase> screen_; 115 std::unique_ptr<display::ScreenBase> screen_;
118 aura::PropertyConverter property_converter_; 116 aura::PropertyConverter property_converter_;
119 std::unique_ptr<wm::FocusController> focus_controller_; 117 std::unique_ptr<wm::FocusController> focus_controller_;
120 std::unique_ptr<aura::WindowTreeHostMus> window_tree_host_; 118 std::unique_ptr<aura::WindowTreeHostMus> window_tree_host_;
121 aura::Window* display_root_ = nullptr; 119 aura::Window* display_root_ = nullptr;
122 aura::Window* window_root_ = nullptr; 120 aura::Window* window_root_ = nullptr;
123 aura::WindowManagerClient* window_manager_client_ = nullptr; 121 aura::WindowManagerClient* window_manager_client_ = nullptr;
124 std::unique_ptr<aura::WindowTreeClient> window_tree_client_; 122 std::unique_ptr<aura::WindowTreeClient> window_tree_client_;
125 std::unique_ptr<ui::Gpu> gpu_;
126 std::unique_ptr<aura::MusContextFactory> compositor_context_factory_;
127 std::map<aura::Window*, FrameView*> client_window_to_frame_view_; 123 std::map<aura::Window*, FrameView*> client_window_to_frame_view_;
128 std::unique_ptr<WindowListModel> window_list_model_; 124 std::unique_ptr<WindowListModel> window_list_model_;
129 std::unique_ptr<WorkspaceLayoutManager> workspace_layout_manager_; 125 std::unique_ptr<WorkspaceLayoutManager> workspace_layout_manager_;
130 126
131 bool started_ = false; 127 bool started_ = false;
132 128
133 DISALLOW_COPY_AND_ASSIGN(SimpleWM); 129 DISALLOW_COPY_AND_ASSIGN(SimpleWM);
134 }; 130 };
135 131
136 } // namespace simple_wm 132 } // namespace simple_wm
137 133
138 #endif // MASH_SIMPLE_WM_SIMPLE_WM_H_ 134 #endif // MASH_SIMPLE_WM_SIMPLE_WM_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | mash/simple_wm/simple_wm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698