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

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

Issue 2456623002: Fixes to WindowTreeHostMus (Closed)
Patch Set: merge Created 4 years, 2 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/BUILD.gn ('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 0291bafc95865fda14e913648f650ec8aa606eba..7199521e97cf1553b6f4f9c5c27ab9c91c713b5c 100644
--- a/ui/aura/mus/in_flight_change.h
+++ b/ui/aura/mus/in_flight_change.h
@@ -137,13 +137,16 @@ class InFlightChange {
class InFlightBoundsChange : public InFlightChange {
public:
- InFlightBoundsChange(WindowMus* window, const gfx::Rect& revert_bounds);
+ InFlightBoundsChange(WindowTreeClient* window_tree_client,
+ WindowMus* window,
+ const gfx::Rect& revert_bounds);
// InFlightChange:
void SetRevertValueFrom(const InFlightChange& change) override;
void Revert() override;
private:
+ WindowTreeClient* window_tree_client_;
gfx::Rect revert_bounds_;
DISALLOW_COPY_AND_ASSIGN(InFlightBoundsChange);
@@ -271,7 +274,9 @@ class InFlightPredefinedCursorChange : public InFlightChange {
class InFlightVisibleChange : public InFlightChange {
public:
- InFlightVisibleChange(WindowMus* window, const bool revert_value);
+ InFlightVisibleChange(WindowTreeClient* client,
+ WindowMus* window,
+ const bool revert_value);
~InFlightVisibleChange() override;
// InFlightChange:
@@ -279,6 +284,7 @@ class InFlightVisibleChange : public InFlightChange {
void Revert() override;
private:
+ WindowTreeClient* window_tree_client_;
bool revert_visible_;
DISALLOW_COPY_AND_ASSIGN(InFlightVisibleChange);
« no previous file with comments | « ui/aura/BUILD.gn ('k') | ui/aura/mus/in_flight_change.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698