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

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

Issue 2582823002: WIP: Surface Synchronization System
Patch Set: Only create ClientSurfaceEmbedder if window is visible. Trash it otherwise. Created 3 years, 11 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: services/ui/ws/window_server.h
diff --git a/services/ui/ws/window_server.h b/services/ui/ws/window_server.h
index 709cf9e0540302f42b8a617309c9b057e8257db7..923fc86c63e6613bc03d58bf7c70dfdacb190a52 100644
--- a/services/ui/ws/window_server.h
+++ b/services/ui/ws/window_server.h
@@ -70,7 +70,8 @@ class WindowServer : public ServerWindowDelegate,
// must be destroyed before WindowServer.
ServerWindow* CreateServerWindow(
const WindowId& id,
- const std::map<std::string, std::vector<uint8_t>>& properties);
+ const std::map<std::string, std::vector<uint8_t>>& properties,
+ const cc::LocalFrameId& local_frame_id);
// Returns the id for the next WindowTree.
ClientSpecificId GetAndAdvanceNextClientId();
@@ -169,7 +170,8 @@ class WindowServer : public ServerWindowDelegate,
// term notify their clients.
void ProcessWindowBoundsChanged(const ServerWindow* window,
const gfx::Rect& old_bounds,
- const gfx::Rect& new_bounds);
+ const gfx::Rect& new_bounds,
+ const cc::LocalFrameId& local_frame_id);
void ProcessClientAreaChanged(
const ServerWindow* window,
const gfx::Insets& new_client_area,
@@ -296,7 +298,8 @@ class WindowServer : public ServerWindowDelegate,
ServerWindow* old_parent) override;
void OnWindowBoundsChanged(ServerWindow* window,
const gfx::Rect& old_bounds,
- const gfx::Rect& new_bounds) override;
+ const gfx::Rect& new_bounds,
+ const cc::LocalFrameId& local_frame_id) override;
void OnWindowClientAreaChanged(
ServerWindow* window,
const gfx::Insets& new_client_area,

Powered by Google App Engine
This is Rietveld 408576698