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

Unified Diff: ui/aura/mus/in_flight_change.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: ui/aura/mus/in_flight_change.h
diff --git a/ui/aura/mus/in_flight_change.h b/ui/aura/mus/in_flight_change.h
index 6a8b6d4fa88822da665a64156f066152b4c37f92..1afa22ea2c31b6ee4b9c6a5db6d9a4a813bf204c 100644
--- a/ui/aura/mus/in_flight_change.h
+++ b/ui/aura/mus/in_flight_change.h
@@ -13,6 +13,7 @@
#include "base/macros.h"
#include "base/memory/ptr_util.h"
+#include "cc/surfaces/local_frame_id.h"
#include "ui/aura/window_observer.h"
#include "ui/gfx/geometry/rect.h"
@@ -140,7 +141,8 @@ class InFlightBoundsChange : public InFlightChange {
public:
InFlightBoundsChange(WindowTreeClient* window_tree_client,
WindowMus* window,
- const gfx::Rect& revert_bounds);
+ const gfx::Rect& revert_bounds,
+ const cc::LocalFrameId& local_frame_id);
// InFlightChange:
void SetRevertValueFrom(const InFlightChange& change) override;
@@ -149,6 +151,7 @@ class InFlightBoundsChange : public InFlightChange {
private:
WindowTreeClient* window_tree_client_;
gfx::Rect revert_bounds_;
+ cc::LocalFrameId revert_local_frame_id_;
DISALLOW_COPY_AND_ASSIGN(InFlightBoundsChange);
};

Powered by Google App Engine
This is Rietveld 408576698