OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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_X11_H_ | 5 #ifndef ASH_HOST_ASH_WINDOW_TREE_HOST_X11_H_ |
6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_X11_H_ | 6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_X11_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
(...skipping 23 matching lines...) Expand all Loading... |
34 std::unique_ptr<RootWindowTransformer> transformer) override; | 34 std::unique_ptr<RootWindowTransformer> transformer) override; |
35 gfx::Insets GetHostInsets() const override; | 35 gfx::Insets GetHostInsets() const override; |
36 aura::WindowTreeHost* AsWindowTreeHost() override; | 36 aura::WindowTreeHost* AsWindowTreeHost() override; |
37 void PrepareForShutdown() override; | 37 void PrepareForShutdown() override; |
38 | 38 |
39 // aura::WindowTreehost: | 39 // aura::WindowTreehost: |
40 void SetBounds(const gfx::Rect& bounds) override; | 40 void SetBounds(const gfx::Rect& bounds) override; |
41 gfx::Transform GetRootTransform() const override; | 41 gfx::Transform GetRootTransform() const override; |
42 void SetRootTransform(const gfx::Transform& transform) override; | 42 void SetRootTransform(const gfx::Transform& transform) override; |
43 gfx::Transform GetInverseRootTransform() const override; | 43 gfx::Transform GetInverseRootTransform() const override; |
44 void UpdateRootWindowSize(const gfx::Size& host_size) override; | 44 void UpdateRootWindowSizeInPixel( |
| 45 const gfx::Size& host_size_in_pixel) override; |
45 void OnCursorVisibilityChangedNative(bool show) override; | 46 void OnCursorVisibilityChangedNative(bool show) override; |
46 | 47 |
47 // aura::WindowTreeHostX11: | 48 // aura::WindowTreeHostX11: |
48 void OnConfigureNotify() override; | 49 void OnConfigureNotify() override; |
49 bool CanDispatchEvent(const ui::PlatformEvent& event) override; | 50 bool CanDispatchEvent(const ui::PlatformEvent& event) override; |
50 void TranslateAndDispatchLocatedEvent(ui::LocatedEvent* event) override; | 51 void TranslateAndDispatchLocatedEvent(ui::LocatedEvent* event) override; |
51 | 52 |
52 // EnvObserver overrides. | 53 // EnvObserver overrides. |
53 void OnWindowInitialized(aura::Window* window) override; | 54 void OnWindowInitialized(aura::Window* window) override; |
54 void OnHostInitialized(aura::WindowTreeHost* host) override; | 55 void OnHostInitialized(aura::WindowTreeHost* host) override; |
(...skipping 11 matching lines...) Expand all Loading... |
66 std::unique_ptr<XID[]> pointer_barriers_; | 67 std::unique_ptr<XID[]> pointer_barriers_; |
67 | 68 |
68 TransformerHelper transformer_helper_; | 69 TransformerHelper transformer_helper_; |
69 | 70 |
70 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostX11); | 71 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostX11); |
71 }; | 72 }; |
72 | 73 |
73 } // namespace ash | 74 } // namespace ash |
74 | 75 |
75 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_X11_H_ | 76 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_X11_H_ |
OLD | NEW |