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

Side by Side Diff: services/ui/public/cpp/tests/test_window_tree.h

Issue 2414683003: Mus+Ash: propagate Surface ID to parents (Closed)
Patch Set: Don't follow null surface_info Created 4 years, 2 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
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 SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ 5 #ifndef SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_
6 #define SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ 6 #define SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <set> 10 #include <set>
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 void PerformDragDrop(uint32_t change_id, 106 void PerformDragDrop(uint32_t change_id,
107 uint32_t source_window_id, 107 uint32_t source_window_id,
108 mojo::Map<mojo::String, mojo::Array<uint8_t>> drag_data, 108 mojo::Map<mojo::String, mojo::Array<uint8_t>> drag_data,
109 uint32_t drag_operation) override; 109 uint32_t drag_operation) override;
110 void CancelDragDrop(uint32_t window_id) override; 110 void CancelDragDrop(uint32_t window_id) override;
111 void PerformWindowMove(uint32_t change_id, 111 void PerformWindowMove(uint32_t change_id,
112 uint32_t window_id, 112 uint32_t window_id,
113 mojom::MoveLoopSource source, 113 mojom::MoveLoopSource source,
114 const gfx::Point& cursor_location) override; 114 const gfx::Point& cursor_location) override;
115 void CancelWindowMove(uint32_t window_id) override; 115 void CancelWindowMove(uint32_t window_id) override;
116 void OnWindowSurfaceDetached(uint32_t window_id,
117 const cc::SurfaceSequence& sequence) override;
116 118
117 bool got_change_; 119 bool got_change_;
118 uint32_t change_id_; 120 uint32_t change_id_;
119 std::set<uint32_t> acked_events_; 121 std::set<uint32_t> acked_events_;
120 uint32_t window_id_; 122 uint32_t window_id_;
121 123
122 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); 124 DISALLOW_COPY_AND_ASSIGN(TestWindowTree);
123 }; 125 };
124 126
125 } // namespace ui 127 } // namespace ui
126 128
127 #endif // SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ 129 #endif // SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_
OLDNEW
« no previous file with comments | « services/ui/public/cpp/surface_id_handler.h ('k') | services/ui/public/cpp/tests/test_window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698