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

Unified Diff: ui/aura/test/mus/test_window_tree.h

Issue 2780043002: Aura-Mus: Allocate a LocalSurfaceId on size change (Closed)
Patch Set: Cleanup Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/mus/window_tree_client_unittest.cc ('k') | ui/aura/test/mus/test_window_tree.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/mus/test_window_tree.h
diff --git a/ui/aura/test/mus/test_window_tree.h b/ui/aura/test/mus/test_window_tree.h
index 59cc06939d782f0b8387afcd4766e6b3bb8b2f34..916e8a1d861676edd9397ed3d0693b7a06b1dab5 100644
--- a/ui/aura/test/mus/test_window_tree.h
+++ b/ui/aura/test/mus/test_window_tree.h
@@ -94,6 +94,10 @@ class TestWindowTree : public ui::mojom::WindowTree {
return last_hit_test_mask_;
}
+ const base::Optional<cc::LocalSurfaceId>& last_local_surface_id() const {
+ return last_local_surface_id_;
+ }
+
private:
struct Change {
WindowTreeChangeType type;
@@ -228,6 +232,8 @@ class TestWindowTree : public ui::mojom::WindowTree {
base::Optional<gfx::Rect> last_hit_test_mask_;
+ base::Optional<cc::LocalSurfaceId> last_local_surface_id_;
+
DISALLOW_COPY_AND_ASSIGN(TestWindowTree);
};
« no previous file with comments | « ui/aura/mus/window_tree_client_unittest.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