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

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

Issue 1602403002: Revert of Remove remote tree host and some related input and metro_driver code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-3
Patch Set: 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 | « ash/ash_unittests.isolate ('k') | ash/host/ash_remote_window_tree_host_win.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 2014 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_HOST_REMOTE_WINDOW_TREE_HOST_WIN_H_
6 #define ASH_HOST_REMOTE_WINDOW_TREE_HOST_WIN_H_
7
8 #include <windows.h>
9
10 #include "ash/ash_export.h"
11 #include "ash/host/ash_window_tree_host.h"
12 #include "ash/host/transformer_helper.h"
13 #include "base/macros.h"
14 #include "ui/aura/remote_window_tree_host_win.h"
15
16 namespace ash {
17
18 class ASH_EXPORT AshRemoteWindowTreeHostWin
19 : public AshWindowTreeHost,
20 public aura::RemoteWindowTreeHostWin {
21 public:
22 explicit AshRemoteWindowTreeHostWin(HWND remote_hwnd);
23
24 private:
25 ~AshRemoteWindowTreeHostWin() override;
26
27 // AshWindowTreeHost:
28 void ToggleFullScreen() override;
29 bool ConfineCursorToRootWindow() override;
30 void UnConfineCursor() override;
31 void SetRootWindowTransformer(
32 scoped_ptr<RootWindowTransformer> transformer) override;
33 gfx::Insets GetHostInsets() const override;
34 aura::WindowTreeHost* AsWindowTreeHost() override;
35
36 // WindowTreeHostWin:
37 gfx::Transform GetRootTransform() const override;
38 void SetRootTransform(const gfx::Transform& transform) override;
39 gfx::Transform GetInverseRootTransform() const override;
40 void UpdateRootWindowSize(const gfx::Size& host_size) override;
41
42 // ui::internal::InputMethodDelegate:
43 ui::EventDispatchDetails DispatchKeyEventPostIME(
44 ui::KeyEvent* event) override;
45
46 TransformerHelper transformer_helper_;
47
48 DISALLOW_COPY_AND_ASSIGN(AshRemoteWindowTreeHostWin);
49 };
50
51 } // namespace ash
52
53 #endif // ASH_HOST_REMOTE_WINDOW_TREE_HOST_WIN_H_
OLDNEW
« no previous file with comments | « ash/ash_unittests.isolate ('k') | ash/host/ash_remote_window_tree_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698