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

Side by Side Diff: ash/host/ash_window_tree_host_platform.h

Issue 1676713002: ash/mash: Add a mus-client that sets up ash to provide the system ui for mash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix-cros-build Created 4 years, 10 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/host/ash_window_tree_host.cc ('k') | ash/mus/BUILD.gn » ('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 ASH_HOST_ASH_WINDOW_TREE_HOST_PLATFORM_H_ 5 #ifndef ASH_HOST_ASH_WINDOW_TREE_HOST_PLATFORM_H_
6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_PLATFORM_H_ 6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_PLATFORM_H_
7 7
8 #include "ash/ash_export.h"
8 #include "ash/host/ash_window_tree_host.h" 9 #include "ash/host/ash_window_tree_host.h"
9 #include "ash/host/transformer_helper.h" 10 #include "ash/host/transformer_helper.h"
10 #include "ui/aura/window_tree_host_platform.h" 11 #include "ui/aura/window_tree_host_platform.h"
11 12
12 namespace ash { 13 namespace ash {
13 14
14 class AshWindowTreeHostPlatform : public AshWindowTreeHost, 15 class ASH_EXPORT AshWindowTreeHostPlatform
15 public aura::WindowTreeHostPlatform { 16 : public AshWindowTreeHost,
17 public aura::WindowTreeHostPlatform {
16 public: 18 public:
17 explicit AshWindowTreeHostPlatform(const gfx::Rect& initial_bounds); 19 explicit AshWindowTreeHostPlatform(const gfx::Rect& initial_bounds);
18 ~AshWindowTreeHostPlatform() override; 20 ~AshWindowTreeHostPlatform() override;
19 21
20 protected: 22 protected:
21 AshWindowTreeHostPlatform(); 23 AshWindowTreeHostPlatform();
22 24
23 // AshWindowTreeHost: 25 // AshWindowTreeHost:
24 void ToggleFullScreen() override; 26 void ToggleFullScreen() override;
25 bool ConfineCursorToRootWindow() override; 27 bool ConfineCursorToRootWindow() override;
(...skipping 20 matching lines...) Expand all
46 void SetTapToClickPaused(bool state); 48 void SetTapToClickPaused(bool state);
47 49
48 TransformerHelper transformer_helper_; 50 TransformerHelper transformer_helper_;
49 51
50 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostPlatform); 52 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostPlatform);
51 }; 53 };
52 54
53 } // namespace ash 55 } // namespace ash
54 56
55 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_PLATFORM_H_ 57 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_PLATFORM_H_
OLDNEW
« no previous file with comments | « ash/host/ash_window_tree_host.cc ('k') | ash/mus/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698