| Index: ui/aura/window_port.h
|
| diff --git a/ui/aura/window_port.h b/ui/aura/window_port.h
|
| index b82305d2206d07bb9c13d90de7e01b41552fede0..cc1ee5471588fca664cf796f38743235995bffe5 100644
|
| --- a/ui/aura/window_port.h
|
| +++ b/ui/aura/window_port.h
|
| @@ -13,6 +13,7 @@
|
| #include "base/observer_list.h"
|
| #include "base/strings/string16.h"
|
| #include "ui/aura/aura_export.h"
|
| +#include "ui/base/class_property.h"
|
|
|
| namespace gfx {
|
| class Rect;
|
| @@ -23,11 +24,6 @@ namespace aura {
|
| class Window;
|
| class WindowObserver;
|
|
|
| -// See comments in OnWillChangeProperty() for details.
|
| -struct AURA_EXPORT WindowPortPropertyData {
|
| - virtual ~WindowPortPropertyData() {}
|
| -};
|
| -
|
| // WindowPort defines an interface to enable Window to be used with or without
|
| // mus. WindowPort is owned by Window and called at key points in Windows
|
| // lifetime that enable Window to be used in both environments.
|
| @@ -65,14 +61,14 @@ class AURA_EXPORT WindowPort {
|
| // Called before a property is changed. The return value from this is supplied
|
| // into OnPropertyChanged() so that WindowPort may pass data between the two
|
| // calls.
|
| - virtual std::unique_ptr<WindowPortPropertyData> OnWillChangeProperty(
|
| + virtual std::unique_ptr<ui::PropertyData> OnWillChangeProperty(
|
| const void* key) = 0;
|
|
|
| // Called after a property changes, but before observers are notified. |data|
|
| // is the return value from OnWillChangeProperty().
|
| virtual void OnPropertyChanged(
|
| const void* key,
|
| - std::unique_ptr<WindowPortPropertyData> data) = 0;
|
| + std::unique_ptr<ui::PropertyData> data) = 0;
|
|
|
| protected:
|
| // Returns the WindowPort associated with a Window.
|
|
|