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

Unified Diff: components/mus/ws/test_utils.h

Issue 1864113002: Fixes problems with drawn state (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: parentdrawn and merge Created 4 years, 8 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 | « components/mus/ws/test_change_tracker.cc ('k') | components/mus/ws/test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/test_utils.h
diff --git a/components/mus/ws/test_utils.h b/components/mus/ws/test_utils.h
index fd6c032d524b3365b4c362c4adbc18201976177c..71998d5ba33389570d73e6375bd9c88b93f7b88b 100644
--- a/components/mus/ws/test_utils.h
+++ b/components/mus/ws/test_utils.h
@@ -247,12 +247,14 @@ class TestWindowTreeClient : public mus::mojom::WindowTreeClient {
void OnEmbed(uint16_t connection_id,
mojom::WindowDataPtr root,
mus::mojom::WindowTreePtr tree,
- Id focused_window_id) override;
+ Id focused_window_id,
+ bool drawn) override;
void OnEmbeddedAppDisconnected(uint32_t window) override;
void OnUnembed(Id window_id) override;
void OnLostCapture(Id window_id) override;
void OnTopLevelCreated(uint32_t change_id,
- mojom::WindowDataPtr data) override;
+ mojom::WindowDataPtr data,
+ bool drawn) override;
void OnWindowBoundsChanged(uint32_t window,
mojo::RectPtr old_bounds,
mojo::RectPtr new_bounds) override;
@@ -278,7 +280,7 @@ class TestWindowTreeClient : public mus::mojom::WindowTreeClient {
mojom::OrderDirection direction) override;
void OnWindowDeleted(uint32_t window) override;
void OnWindowVisibilityChanged(uint32_t window, bool visible) override;
- void OnWindowDrawnStateChanged(uint32_t window, bool drawn) override;
+ void OnWindowParentDrawnStateChanged(uint32_t window, bool drawn) override;
void OnWindowSharedPropertyChanged(uint32_t window,
const mojo::String& name,
mojo::Array<uint8_t> new_data) override;
« no previous file with comments | « components/mus/ws/test_change_tracker.cc ('k') | components/mus/ws/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698