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

Unified Diff: ui/aura/mus/window_port_mus.cc

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_port_mus.cc
diff --git a/ui/aura/mus/window_port_mus.cc b/ui/aura/mus/window_port_mus.cc
index 50bbe0298afd35c8e17bee424a81d6c55b80d8a4..68a4cda3c725ea6b67343c2aed5d7d977eb147ef 100644
--- a/ui/aura/mus/window_port_mus.cc
+++ b/ui/aura/mus/window_port_mus.cc
@@ -14,7 +14,7 @@
#include "ui/aura/window.h"
#include "ui/aura/window_delegate.h"
#include "ui/aura/window_observer.h"
-#include "ui/aura/window_property.h"
+#include "ui/base/class_property.h"
namespace aura {
@@ -419,7 +419,7 @@ void WindowPortMus::OnDidChangeBounds(const gfx::Rect& old_bounds,
window_tree_client_->OnWindowMusBoundsChanged(this, old_bounds, new_bounds);
}
-std::unique_ptr<WindowPortPropertyData> WindowPortMus::OnWillChangeProperty(
+std::unique_ptr<ui::PropertyData> WindowPortMus::OnWillChangeProperty(
const void* key) {
// |window_| is null if a property is set on the aura::Window before
// Window::Init() is called. It's safe to ignore the change in this case as
@@ -433,7 +433,7 @@ std::unique_ptr<WindowPortPropertyData> WindowPortMus::OnWillChangeProperty(
void WindowPortMus::OnPropertyChanged(
const void* key,
- std::unique_ptr<WindowPortPropertyData> data) {
+ std::unique_ptr<ui::PropertyData> data) {
// See comment in OnWillChangeProperty() as to why |window_| may be null.
if (!window_)
return;

Powered by Google App Engine
This is Rietveld 408576698