OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_UNIFIED_H_ | 5 #ifndef ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ |
6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ | 6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ash/host/ash_window_tree_host.h" | 10 #include "ash/host/ash_window_tree_host.h" |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
53 gfx::Transform GetRootTransform() const override; | 53 gfx::Transform GetRootTransform() const override; |
54 void SetRootTransform(const gfx::Transform& transform) override; | 54 void SetRootTransform(const gfx::Transform& transform) override; |
55 gfx::Transform GetInverseRootTransform() const override; | 55 gfx::Transform GetInverseRootTransform() const override; |
56 void UpdateRootWindowSize(const gfx::Size& host_size) override; | 56 void UpdateRootWindowSize(const gfx::Size& host_size) override; |
57 void SetCapture() override; | 57 void SetCapture() override; |
58 void ReleaseCapture() override; | 58 void ReleaseCapture() override; |
59 gfx::Point GetLocationOnNativeScreen() const override; | 59 gfx::Point GetLocationOnNativeScreen() const override; |
60 void SetCursorNative(gfx::NativeCursor cursor) override; | 60 void SetCursorNative(gfx::NativeCursor cursor) override; |
61 void MoveCursorToNative(const gfx::Point& location) override; | 61 void MoveCursorToNative(const gfx::Point& location) override; |
62 void OnCursorVisibilityChangedNative(bool show) override; | 62 void OnCursorVisibilityChangedNative(bool show) override; |
63 void RemapAsNormalWindow() override; | |
Daniel Erat
2016/01/19 20:36:22
is this header included on all platforms? if so, t
stapelberg
2016/01/20 13:31:09
Based on ash/BUILD.gn containing e.g. Windows-spec
| |
63 | 64 |
64 // aura::WindowObserver: | 65 // aura::WindowObserver: |
65 void OnWindowDestroying(aura::Window* window) override; | 66 void OnWindowDestroying(aura::Window* window) override; |
66 | 67 |
67 // ui::internal::InputMethodDelegate: | 68 // ui::internal::InputMethodDelegate: |
68 ui::EventDispatchDetails DispatchKeyEventPostIME( | 69 ui::EventDispatchDetails DispatchKeyEventPostIME( |
69 ui::KeyEvent* event) override; | 70 ui::KeyEvent* event) override; |
70 | 71 |
71 std::vector<AshWindowTreeHost*> mirroring_hosts_; | 72 std::vector<AshWindowTreeHost*> mirroring_hosts_; |
72 | 73 |
73 gfx::Rect bounds_; | 74 gfx::Rect bounds_; |
74 | 75 |
75 TransformerHelper transformer_helper_; | 76 TransformerHelper transformer_helper_; |
76 | 77 |
77 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostUnified); | 78 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostUnified); |
78 }; | 79 }; |
79 | 80 |
80 } // namespace ash | 81 } // namespace ash |
81 | 82 |
82 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ | 83 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ |
OLD | NEW |