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

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

Issue 2559343003: mus: Rename GpuService to Gpu. (Closed)
Patch Set: . Created 4 years 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 | « content/renderer/render_thread_impl.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_service.h" 17 #include "services/ui/public/cpp/gpu/gpu.h"
18 #include "ui/aura/env.h" 18 #include "ui/aura/env.h"
19 #include "ui/aura/mus/mus_context_factory.h" 19 #include "ui/aura/mus/mus_context_factory.h"
20 #include "ui/aura/mus/property_converter.h" 20 #include "ui/aura/mus/property_converter.h"
21 #include "ui/aura/mus/property_utils.h" 21 #include "ui/aura/mus/property_utils.h"
22 #include "ui/aura/mus/window_manager_delegate.h" 22 #include "ui/aura/mus/window_manager_delegate.h"
23 #include "ui/aura/mus/window_tree_client.h" 23 #include "ui/aura/mus/window_tree_client.h"
24 #include "ui/aura/mus/window_tree_client_delegate.h" 24 #include "ui/aura/mus/window_tree_client_delegate.h"
25 #include "ui/aura/mus/window_tree_host_mus.h" 25 #include "ui/aura/mus/window_tree_host_mus.h"
26 #include "ui/aura/test/test_focus_client.h" 26 #include "ui/aura/test/test_focus_client.h"
27 #include "ui/aura/window.h" 27 #include "ui/aura/window.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 std::unique_ptr<views::AuraInit> aura_init_; 96 std::unique_ptr<views::AuraInit> aura_init_;
97 ::wm::WMState wm_state_; 97 ::wm::WMState wm_state_;
98 std::unique_ptr<display::ScreenBase> screen_; 98 std::unique_ptr<display::ScreenBase> screen_;
99 aura::PropertyConverter property_converter_; 99 aura::PropertyConverter property_converter_;
100 aura::test::TestFocusClient focus_client_; 100 aura::test::TestFocusClient focus_client_;
101 std::unique_ptr<aura::WindowTreeHostMus> window_tree_host_; 101 std::unique_ptr<aura::WindowTreeHostMus> window_tree_host_;
102 aura::Window* root_ = nullptr; 102 aura::Window* root_ = nullptr;
103 aura::WindowManagerClient* window_manager_client_ = nullptr; 103 aura::WindowManagerClient* window_manager_client_ = nullptr;
104 std::unique_ptr<aura::WindowTreeClient> window_tree_client_; 104 std::unique_ptr<aura::WindowTreeClient> window_tree_client_;
105 std::unique_ptr<ui::GpuService> gpu_service_; 105 std::unique_ptr<ui::Gpu> gpu_;
106 std::unique_ptr<aura::MusContextFactory> compositor_context_factory_; 106 std::unique_ptr<aura::MusContextFactory> compositor_context_factory_;
107 std::map<aura::Window*, FrameView*> client_window_to_frame_view_; 107 std::map<aura::Window*, FrameView*> client_window_to_frame_view_;
108 108
109 bool started_ = false; 109 bool started_ = false;
110 110
111 DISALLOW_COPY_AND_ASSIGN(SimpleWM); 111 DISALLOW_COPY_AND_ASSIGN(SimpleWM);
112 }; 112 };
113 113
114 } // namespace simple_wm 114 } // namespace simple_wm
115 115
116 #endif // MASH_SIMPLE_WM_SIMPLE_WM_H_ 116 #endif // MASH_SIMPLE_WM_SIMPLE_WM_H_
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | mash/simple_wm/simple_wm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698