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

Unified Diff: components/mus/public/cpp/lib/window_tree_client_impl.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
Index: components/mus/public/cpp/lib/window_tree_client_impl.h
diff --git a/components/mus/public/cpp/lib/window_tree_client_impl.h b/components/mus/public/cpp/lib/window_tree_client_impl.h
index 8ed19e3556d44ca8919dce703167ba8354a934ea..a22ce57d5810fb3e66c858371a7724976635caf2 100644
--- a/components/mus/public/cpp/lib/window_tree_client_impl.h
+++ b/components/mus/public/cpp/lib/window_tree_client_impl.h
@@ -156,7 +156,8 @@ class WindowTreeClientImpl : public WindowTreeConnection,
void OnEmbedImpl(mojom::WindowTree* window_tree,
ConnectionSpecificId connection_id,
mojom::WindowDataPtr root_data,
- Id focused_window_id);
+ Id focused_window_id,
+ bool drawn);
// Overridden from WindowTreeConnection:
void SetDeleteOnNoRoots(bool value) override;
@@ -175,12 +176,14 @@ class WindowTreeClientImpl : public WindowTreeConnection,
void OnEmbed(ConnectionSpecificId connection_id,
mojom::WindowDataPtr root,
mojom::WindowTreePtr tree,
- Id focused_window_id) override;
+ Id focused_window_id,
+ bool drawn) override;
void OnEmbeddedAppDisconnected(Id window_id) 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(Id window_id,
mojo::RectPtr old_bounds,
mojo::RectPtr new_bounds) override;
@@ -206,7 +209,7 @@ class WindowTreeClientImpl : public WindowTreeConnection,
mojom::OrderDirection direction) override;
void OnWindowDeleted(Id window_id) override;
void OnWindowVisibilityChanged(Id window_id, bool visible) override;
- void OnWindowDrawnStateChanged(Id window_id, bool drawn) override;
+ void OnWindowParentDrawnStateChanged(Id window_id, bool drawn) override;
void OnWindowSharedPropertyChanged(Id window_id,
const mojo::String& name,
mojo::Array<uint8_t> new_data) override;
« no previous file with comments | « components/mus/public/cpp/lib/window_private.h ('k') | components/mus/public/cpp/lib/window_tree_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698