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

Unified Diff: chrome/browser/ui/views/autofill/autofill_popup_base_view.cc

Issue 693523003: MacViews: Put wm window animation calls behind an interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@views-clipboard
Patch Set: Fix windows build Created 6 years, 2 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: chrome/browser/ui/views/autofill/autofill_popup_base_view.cc
diff --git a/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc b/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc
index ced38990ff6767f987a1b1b0563574168d155d8c..0630b482ae47ce709a9e6538511f6915337cd2c7 100644
--- a/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc
+++ b/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc
@@ -10,7 +10,6 @@
#include "chrome/browser/ui/autofill/popup_constants.h"
#include "ui/views/border.h"
#include "ui/views/widget/widget.h"
-#include "ui/wm/core/window_animations.h"
namespace autofill {
@@ -68,8 +67,7 @@ void AutofillPopupBaseView::DoShow() {
widget->SetContentsView(this);
// No animation for popup appearance (too distracting).
- wm::SetWindowVisibilityAnimationTransition(
- widget->GetNativeView(), wm::ANIMATE_HIDE);
+ widget->SetVisibilityAnimationTransition(views::Widget::ANIMATE_HIDE);
}
SetBorder(views::Border::CreateSolidBorder(kPopupBorderThickness,

Powered by Google App Engine
This is Rietveld 408576698