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

Unified Diff: services/ui/ws/server_window.h

Issue 2711913006: Move FrameSink hierarchy registration to DisplayCompositor interface (Closed)
Patch Set: Fix mojom Formatting Created 3 years, 10 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 | « services/ui/surfaces/display_compositor.cc ('k') | services/ui/ws/server_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/server_window.h
diff --git a/services/ui/ws/server_window.h b/services/ui/ws/server_window.h
index f57f220145a517462e83cee80a60a3b79e626e18..bab09d069bd47186f352f393b95857d915b2b040 100644
--- a/services/ui/ws/server_window.h
+++ b/services/ui/ws/server_window.h
@@ -72,6 +72,8 @@ class ServerWindow {
const WindowId& id() const { return id_; }
+ const cc::FrameSinkId& frame_sink_id() const { return frame_sink_id_; }
+
void Add(ServerWindow* child);
void Remove(ServerWindow* child);
void Reorder(ServerWindow* relative, mojom::OrderDirection diretion);
@@ -211,10 +213,6 @@ class ServerWindow {
// Implementation of removing a window. Doesn't send any notification.
void RemoveImpl(ServerWindow* window);
- // Called when the root window changes from |old_root| to |new_root|. This is
- // called after the window is moved from |old_root| to |new_root|.
- void ProcessRootChanged(ServerWindow* old_root, ServerWindow* new_root);
-
// Called when this window's stacking order among its siblings is changed.
void OnStackingChanged();
@@ -228,6 +226,7 @@ class ServerWindow {
ServerWindowDelegate* delegate_;
const WindowId id_;
+ cc::FrameSinkId frame_sink_id_;
ServerWindow* parent_;
Windows children_;
« no previous file with comments | « services/ui/surfaces/display_compositor.cc ('k') | services/ui/ws/server_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698