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

Side by Side Diff: ash/mus/ash_window_tree_host_mus.h

Issue 2833093002: WIP: simplified display management in ash (Closed)
Patch Set: merge and more fixs Created 3 years, 8 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 | « ash/mus/BUILD.gn ('k') | ash/mus/ash_window_tree_host_mus.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ASH_MUS_ASH_WINDOW_TREE_HOST_MUS_H_
6 #define ASH_MUS_ASH_WINDOW_TREE_HOST_MUS_H_
7
8 #include "ash/host/ash_window_tree_host.h"
9 #include "ui/aura/mus/window_tree_host_mus.h"
10
11 namespace ash {
12
13 class TransformerHelper;
14
15 class AshWindowTreeHostMus : public AshWindowTreeHost,
16 public aura::WindowTreeHostMus {
17 public:
18 explicit AshWindowTreeHostMus(aura::WindowTreeHostMusInitParams init_params);
19 ~AshWindowTreeHostMus() override;
20
21 // AshWindowTreeHost:
22 void ToggleFullScreen() override;
23 bool ConfineCursorToRootWindow() override;
24 void UnConfineCursor() override;
25 void SetRootWindowTransformer(
26 std::unique_ptr<RootWindowTransformer> transformer) override;
27 gfx::Insets GetHostInsets() const override;
28 aura::WindowTreeHost* AsWindowTreeHost() override;
29 void PrepareForShutdown() override;
30 void RegisterMirroringHost(AshWindowTreeHost* mirroring_ash_host) override;
31
32 // aura::WindowTreeHostMus:
33 /*
34 void SetRootTransform(const gfx::Transform& transform) override;
35 gfx::Transform GetRootTransform() const override;
36 gfx::Transform GetInverseRootTransform() const override;
37 void UpdateRootWindowSizeInPixels(const gfx::Size& host_size_in_pixels)
38 override;
39 */
40
41 private:
42 // std::unique_ptr<TransformerHelper> transformer_helper_;
43
44 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostMus);
45 };
46
47 } // namespace ash
48
49 #endif // ASH_MUS_ASH_WINDOW_TREE_HOST_MUS_H_
OLDNEW
« no previous file with comments | « ash/mus/BUILD.gn ('k') | ash/mus/ash_window_tree_host_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698