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

Unified Diff: ui/aura/mus/in_flight_change.h

Issue 2582823002: WIP: Surface Synchronization System
Patch Set: First cut propagating LocalSurfaceId when WindowTreeHost requests resize Created 3 years, 9 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 | « ui/aura/mus/client_surface_embedder.cc ('k') | ui/aura/mus/in_flight_change.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 113a9e78c55ac0c9a7458122aee241841e44f9df..e5bf323195cc674c3650305d05824e46ec09d86a 100644
--- a/ui/aura/mus/in_flight_change.h
+++ b/ui/aura/mus/in_flight_change.h
@@ -13,6 +13,8 @@
#include "base/macros.h"
#include "base/memory/ptr_util.h"
+#include "base/optional.h"
+#include "cc/surfaces/local_surface_id.h"
#include "ui/aura/window_observer.h"
#include "ui/base/ui_base_types.h"
#include "ui/gfx/geometry/rect.h"
@@ -139,9 +141,12 @@ class InFlightChange {
class InFlightBoundsChange : public InFlightChange {
public:
- InFlightBoundsChange(WindowTreeClient* window_tree_client,
- WindowMus* window,
- const gfx::Rect& revert_bounds);
+ InFlightBoundsChange(
+ WindowTreeClient* window_tree_client,
+ WindowMus* window,
+ const gfx::Rect& revert_bounds,
+ const base::Optional<cc::LocalSurfaceId>& local_surface_id);
+ ~InFlightBoundsChange() override;
// InFlightChange:
void SetRevertValueFrom(const InFlightChange& change) override;
@@ -150,6 +155,7 @@ class InFlightBoundsChange : public InFlightChange {
private:
WindowTreeClient* window_tree_client_;
gfx::Rect revert_bounds_;
+ base::Optional<cc::LocalSurfaceId> revert_local_surface_id_;
DISALLOW_COPY_AND_ASSIGN(InFlightBoundsChange);
};
« no previous file with comments | « ui/aura/mus/client_surface_embedder.cc ('k') | ui/aura/mus/in_flight_change.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698