cygprofile: increase timeouts to allow showing web contents
[chromium-blink-merge.git] / ash / host / ash_remote_window_tree_host_win.h
blob77ff3c378baebde11f32167a876376e5da9acebd
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.
5 #ifndef ASH_HOST_REMOTE_WINDOW_TREE_HOST_WIN_H_
6 #define ASH_HOST_REMOTE_WINDOW_TREE_HOST_WIN_H_
8 #include <windows.h>
10 #include "ash/ash_export.h"
11 #include "ash/host/ash_window_tree_host.h"
12 #include "ash/host/transformer_helper.h"
13 #include "ui/aura/remote_window_tree_host_win.h"
15 namespace ash {
17 class ASH_EXPORT AshRemoteWindowTreeHostWin
18 : public AshWindowTreeHost,
19 public aura::RemoteWindowTreeHostWin {
20 public:
21 explicit AshRemoteWindowTreeHostWin(HWND remote_hwnd);
23 private:
24 ~AshRemoteWindowTreeHostWin() override;
26 // AshWindowTreeHost:
27 void ToggleFullScreen() override;
28 bool ConfineCursorToRootWindow() override;
29 void UnConfineCursor() override;
30 void SetRootWindowTransformer(
31 scoped_ptr<RootWindowTransformer> transformer) override;
32 gfx::Insets GetHostInsets() const override;
33 aura::WindowTreeHost* AsWindowTreeHost() override;
35 // WindowTreeHostWin:
36 gfx::Transform GetRootTransform() const override;
37 void SetRootTransform(const gfx::Transform& transform) override;
38 gfx::Transform GetInverseRootTransform() const override;
39 void UpdateRootWindowSize(const gfx::Size& host_size) override;
41 // ui::internal::InputMethodDelegate:
42 ui::EventDispatchDetails DispatchKeyEventPostIME(
43 ui::KeyEvent* event) override;
45 TransformerHelper transformer_helper_;
47 DISALLOW_COPY_AND_ASSIGN(AshRemoteWindowTreeHostWin);
50 } // namespace ash
52 #endif // ASH_HOST_REMOTE_WINDOW_TREE_HOST_WIN_H_