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

Unified Diff: components/exo/surface.h

Issue 2032173002: exo: Allow updating cc::Surface viewport and crop state independently. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/exo/surface.h
diff --git a/components/exo/surface.h b/components/exo/surface.h
index 3bcdafe5a16b01f3e783a01f719c8c3b25df0350..193bc093317c232819602c2a415ab9c4849b576c 100644
--- a/components/exo/surface.h
+++ b/components/exo/surface.h
@@ -238,6 +238,8 @@ class Surface : public aura::Window,
// effect next time Commit() is called.
bool has_pending_contents_;
+ bool changed_viewport_or_crop_ = false;
+
// The buffer that will become the content of surface when Commit() is called.
base::WeakPtr<Buffer> pending_buffer_;

Powered by Google App Engine
This is Rietveld 408576698