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

Unified Diff: ui/aura/window.cc

Issue 434343004: Call OnNativeWindowChanged after maximizing and restoring. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implement in all subclasses. Created 6 years, 4 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/window.cc
diff --git a/ui/aura/window.cc b/ui/aura/window.cc
index 992642ed059430e692535edddb94498b63cf7eed..d1edcca6e6c2c8a6541557623c766e77e0e7a362 100644
--- a/ui/aura/window.cc
+++ b/ui/aura/window.cc
@@ -858,6 +858,8 @@ int64 Window::SetPropertyInternal(const void* key,
prop_value.deallocator = deallocator;
prop_map_[key] = prop_value;
}
+ if (delegate_)
+ delegate_->OnPropertyChanged(key, old);
sky 2014/08/06 17:23:00 Make NativeWidgetAura a WindowObserver so that you
jackhou1 2014/08/11 05:41:06 Done. Ah, thanks, that's much simpler.
FOR_EACH_OBSERVER(WindowObserver, observers_,
OnWindowPropertyChanged(this, key, old));
return old;

Powered by Google App Engine
This is Rietveld 408576698