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

Unified Diff: ui/views/widget/widget.cc

Issue 12220101: Minimal Chrome Frame with Aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert install_worker.cc to un-break win64 build Created 7 years, 10 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/views/widget/native_widget_delegate.h ('k') | ui/views/widget/widget_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget.cc
diff --git a/ui/views/widget/widget.cc b/ui/views/widget/widget.cc
index a22691dfff740bc3499ad6b0f6f4e0cae1d664f8..9f0bfbcf2f09ece050a887c1a712539734184c4b 100644
--- a/ui/views/widget/widget.cc
+++ b/ui/views/widget/widget.cc
@@ -1026,6 +1026,8 @@ void Widget::OnNativeWidgetCreated() {
widget_delegate_->GetAccessibleWindowState());
native_widget_->InitModalType(widget_delegate_->GetModalType());
+
+ FOR_EACH_OBSERVER(WidgetObserver, observers_, OnWidgetCreated(this));
}
void Widget::OnNativeWidgetDestroying() {
@@ -1040,6 +1042,7 @@ void Widget::OnNativeWidgetDestroying() {
}
void Widget::OnNativeWidgetDestroyed() {
+ FOR_EACH_OBSERVER(WidgetObserver, observers_, OnWidgetDestroyed(this));
widget_delegate_->DeleteDelegate();
widget_delegate_ = NULL;
native_widget_destroyed_ = true;
« no previous file with comments | « ui/views/widget/native_widget_delegate.h ('k') | ui/views/widget/widget_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698