Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(510)

Side by Side Diff: ui/aura/test/mus/test_window_tree.h

Issue 2875753002: Implement aura::WindowPortMus::CreateCompositorFrameSink() (Closed)
Patch Set: WIP Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/aura/mus/window_tree_client.cc ('k') | ui/aura/test/mus/test_window_tree.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ 5 #ifndef UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_
6 #define UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ 6 #define UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 const SkBitmap& drag_image, 202 const SkBitmap& drag_image,
203 const gfx::Vector2d& drag_image_offset, 203 const gfx::Vector2d& drag_image_offset,
204 uint32_t drag_operation, 204 uint32_t drag_operation,
205 ui::mojom::PointerKind source) override; 205 ui::mojom::PointerKind source) override;
206 void CancelDragDrop(uint32_t window_id) override; 206 void CancelDragDrop(uint32_t window_id) override;
207 void PerformWindowMove(uint32_t change_id, 207 void PerformWindowMove(uint32_t change_id,
208 uint32_t window_id, 208 uint32_t window_id,
209 ui::mojom::MoveLoopSource source, 209 ui::mojom::MoveLoopSource source,
210 const gfx::Point& cursor_location) override; 210 const gfx::Point& cursor_location) override;
211 void CancelWindowMove(uint32_t window_id) override; 211 void CancelWindowMove(uint32_t window_id) override;
212 void GetFrameSinkId(uint32_t window_id,
213 const GetFrameSinkIdCallback& callback) override;
212 214
213 struct AckedEvent { 215 struct AckedEvent {
214 uint32_t event_id; 216 uint32_t event_id;
215 ui::mojom::EventResult result; 217 ui::mojom::EventResult result;
216 }; 218 };
217 std::vector<AckedEvent> acked_events_; 219 std::vector<AckedEvent> acked_events_;
218 uint32_t window_id_ = 0u; 220 uint32_t window_id_ = 0u;
219 221
220 base::Optional<std::vector<uint8_t>> last_property_value_; 222 base::Optional<std::vector<uint8_t>> last_property_value_;
221 223
(...skipping 11 matching lines...) Expand all
233 base::Optional<gfx::Rect> last_hit_test_mask_; 235 base::Optional<gfx::Rect> last_hit_test_mask_;
234 236
235 base::Optional<cc::LocalSurfaceId> last_local_surface_id_; 237 base::Optional<cc::LocalSurfaceId> last_local_surface_id_;
236 238
237 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); 239 DISALLOW_COPY_AND_ASSIGN(TestWindowTree);
238 }; 240 };
239 241
240 } // namespace aura 242 } // namespace aura
241 243
242 #endif // UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ 244 #endif // UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_
OLDNEW
« no previous file with comments | « ui/aura/mus/window_tree_client.cc ('k') | ui/aura/test/mus/test_window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698