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

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

Issue 2468493002: Fix bug in keeping capture in sync during destruction (Closed)
Patch Set: feedback Created 4 years, 1 month 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/capture_synchronizer_delegate.h ('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 7199521e97cf1553b6f4f9c5c27ab9c91c713b5c..eb8d8876feaa86d115ca934cdb679647b6475771 100644
--- a/ui/aura/mus/in_flight_change.h
+++ b/ui/aura/mus/in_flight_change.h
@@ -27,6 +27,7 @@ enum class Cursor : int32_t;
namespace aura {
+class CaptureSynchronizer;
class WindowMus;
class WindowTreeClient;
@@ -215,13 +216,16 @@ class InFlightWindowTreeClientChange : public InFlightChange,
class InFlightCaptureChange : public InFlightWindowTreeClientChange {
public:
- InFlightCaptureChange(WindowTreeClient* client, WindowMus* revert_value);
+ InFlightCaptureChange(WindowTreeClient* client,
+ CaptureSynchronizer* capture_synchronizer,
+ WindowMus* revert_value);
~InFlightCaptureChange() override;
// InFlightChange:
void Revert() override;
private:
+ CaptureSynchronizer* capture_synchronizer_;
DISALLOW_COPY_AND_ASSIGN(InFlightCaptureChange);
};
« no previous file with comments | « ui/aura/mus/capture_synchronizer_delegate.h ('k') | ui/aura/mus/in_flight_change.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698