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_
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"
17 class ASH_EXPORT AshRemoteWindowTreeHostWin
18 : public AshWindowTreeHost
,
19 public aura::RemoteWindowTreeHostWin
{
21 explicit AshRemoteWindowTreeHostWin(HWND remote_hwnd
);
24 virtual ~AshRemoteWindowTreeHostWin();
27 virtual void ToggleFullScreen() OVERRIDE
;
28 virtual bool ConfineCursorToRootWindow() OVERRIDE
;
29 virtual void UnConfineCursor() OVERRIDE
;
30 virtual void SetRootWindowTransformer(
31 scoped_ptr
<RootWindowTransformer
> transformer
) OVERRIDE
;
32 virtual gfx::Insets
GetHostInsets() const OVERRIDE
;
33 virtual aura::WindowTreeHost
* AsWindowTreeHost() OVERRIDE
;
36 virtual gfx::Transform
GetRootTransform() const OVERRIDE
;
37 virtual void SetRootTransform(const gfx::Transform
& transform
) OVERRIDE
;
38 virtual gfx::Transform
GetInverseRootTransform() const OVERRIDE
;
39 virtual void UpdateRootWindowSize(const gfx::Size
& host_size
) OVERRIDE
;
41 TransformerHelper transformer_helper_
;
43 DISALLOW_COPY_AND_ASSIGN(AshRemoteWindowTreeHostWin
);
48 #endif // ASH_HOST_REMOTE_WINDOW_TREE_HOST_WIN_H_