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

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

Issue 11416286: Revert 170458 - Hide new Autofill Popup on Main Widget Resize or Move. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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/bubble/bubble_delegate.cc ('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
===================================================================
--- ui/views/widget/widget.cc (revision 170484)
+++ ui/views/widget/widget.cc (working copy)
@@ -1017,9 +1017,7 @@
void Widget::OnNativeWidgetMove() {
widget_delegate_->OnWidgetMove();
- FOR_EACH_OBSERVER(WidgetObserver, observers_, OnWidgetBoundsChanged(
- this,
- GetWindowBoundsInScreen()));
+ FOR_EACH_OBSERVER(WidgetObserver, observers_, OnWidgetMoved(this));
}
void Widget::OnNativeWidgetSizeChanged(const gfx::Size& new_size) {
@@ -1030,10 +1028,6 @@
// startup procedures.
if (native_widget_initialized_)
SaveWindowPlacement();
-
- FOR_EACH_OBSERVER(WidgetObserver, observers_, OnWidgetBoundsChanged(
- this,
- GetWindowBoundsInScreen()));
}
void Widget::OnNativeWidgetBeginUserBoundsChange() {
« no previous file with comments | « ui/views/bubble/bubble_delegate.cc ('k') | ui/views/widget/widget_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698