OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 CONTENT_RENDERER_MUS_RENDERER_WINDOW_TREE_CLIENT_H_ | 5 #ifndef CONTENT_RENDERER_MUS_RENDERER_WINDOW_TREE_CLIENT_H_ |
6 #define CONTENT_RENDERER_MUS_RENDERER_WINDOW_TREE_CLIENT_H_ | 6 #define CONTENT_RENDERER_MUS_RENDERER_WINDOW_TREE_CLIENT_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "mojo/public/cpp/bindings/binding.h" | 9 #include "mojo/public/cpp/bindings/binding.h" |
10 #include "services/ui/common/types.h" | 10 #include "services/ui/common/types.h" |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 const base::Optional<std::vector<uint8_t>>& new_data) override; | 127 const base::Optional<std::vector<uint8_t>>& new_data) override; |
128 void OnWindowInputEvent(uint32_t event_id, | 128 void OnWindowInputEvent(uint32_t event_id, |
129 ui::Id window_id, | 129 ui::Id window_id, |
130 int64_t display_id, | 130 int64_t display_id, |
131 std::unique_ptr<ui::Event> event, | 131 std::unique_ptr<ui::Event> event, |
132 bool matches_pointer_watcher) override; | 132 bool matches_pointer_watcher) override; |
133 void OnPointerEventObserved(std::unique_ptr<ui::Event> event, | 133 void OnPointerEventObserved(std::unique_ptr<ui::Event> event, |
134 uint32_t window_id, | 134 uint32_t window_id, |
135 int64_t display_id) override; | 135 int64_t display_id) override; |
136 void OnWindowFocused(ui::Id focused_window_id) override; | 136 void OnWindowFocused(ui::Id focused_window_id) override; |
137 void OnWindowPredefinedCursorChanged(ui::Id window_id, | 137 void OnWindowCursorChanged(ui::Id window_id, ui::CursorData cursor) override; |
138 ui::mojom::CursorType cursor) override; | |
139 void OnWindowSurfaceChanged(ui::Id window_id, | 138 void OnWindowSurfaceChanged(ui::Id window_id, |
140 const cc::SurfaceInfo& surface_info) override; | 139 const cc::SurfaceInfo& surface_info) override; |
141 void OnDragDropStart( | 140 void OnDragDropStart( |
142 const std::unordered_map<std::string, std::vector<uint8_t>>& mime_data) | 141 const std::unordered_map<std::string, std::vector<uint8_t>>& mime_data) |
143 override; | 142 override; |
144 void OnDragEnter(ui::Id window_id, | 143 void OnDragEnter(ui::Id window_id, |
145 uint32_t event_flags, | 144 uint32_t event_flags, |
146 const gfx::Point& position, | 145 const gfx::Point& position, |
147 uint32_t effect_bitmask, | 146 uint32_t effect_bitmask, |
148 const OnDragEnterCallback& callback) override; | 147 const OnDragEnterCallback& callback) override; |
(...skipping 28 matching lines...) Expand all Loading... |
177 ui::mojom::WindowTreePtr tree_; | 176 ui::mojom::WindowTreePtr tree_; |
178 cc::LocalSurfaceId current_local_surface_id_; | 177 cc::LocalSurfaceId current_local_surface_id_; |
179 mojo::Binding<ui::mojom::WindowTreeClient> binding_; | 178 mojo::Binding<ui::mojom::WindowTreeClient> binding_; |
180 | 179 |
181 DISALLOW_COPY_AND_ASSIGN(RendererWindowTreeClient); | 180 DISALLOW_COPY_AND_ASSIGN(RendererWindowTreeClient); |
182 }; | 181 }; |
183 | 182 |
184 } // namespace content | 183 } // namespace content |
185 | 184 |
186 #endif // CONTENT_RENDERER_MUS_RENDERER_WINDOW_TREE_CLIENT_H_ | 185 #endif // CONTENT_RENDERER_MUS_RENDERER_WINDOW_TREE_CLIENT_H_ |
OLD | NEW |