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

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

Issue 2632543003: Refactor and push window properties up to class properties. (Closed)
Patch Set: More build fixes 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/window_tree_client.h
diff --git a/ui/aura/mus/window_tree_client.h b/ui/aura/mus/window_tree_client.h
index 221466c5cdfc788bb0dae46c83db5a6164346026..f218b5e7e437d49cc1ad966a2c7100e5cb2d946b 100644
--- a/ui/aura/mus/window_tree_client.h
+++ b/ui/aura/mus/window_tree_client.h
@@ -38,6 +38,10 @@ namespace gfx {
class Insets;
}
+namespace ui {
+struct PropertyData;
+}
+
namespace service_manager {
class Connector;
}
@@ -58,7 +62,6 @@ class InFlightVisibleChange;
class MusContextFactory;
class WindowMus;
class WindowPortMus;
-struct WindowPortPropertyData;
class WindowTreeClientDelegate;
class WindowTreeClientPrivate;
class WindowTreeClientObserver;
@@ -277,12 +280,12 @@ class AURA_EXPORT WindowTreeClient
size_t current_index,
size_t dest_index);
void OnWindowMusSetVisible(WindowMus* window, bool visible);
- std::unique_ptr<WindowPortPropertyData> OnWindowMusWillChangeProperty(
+ std::unique_ptr<ui::PropertyData> OnWindowMusWillChangeProperty(
WindowMus* window,
const void* key);
void OnWindowMusPropertyChanged(WindowMus* window,
const void* key,
- std::unique_ptr<WindowPortPropertyData> data);
+ std::unique_ptr<ui::PropertyData> data);
// Callback passed from WmPerformMoveLoop().
void OnWmMoveLoopCompleted(uint32_t change_id, bool completed);

Powered by Google App Engine
This is Rietveld 408576698