Chromium Code Reviews| Index: chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc |
| diff --git a/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc b/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc |
| index 1851f5e1c7e3c187aced5c8b64bd416bf75d6804..5f672af990a4c8542264e7f607b9428874b1f745 100644 |
| --- a/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc |
| +++ b/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc |
| @@ -45,7 +45,7 @@ |
| #include "ui/views/widget/native_widget_win.h" |
| #endif |
| #endif |
| -#if defined(USE_AURA) |
| +#if defined(USE_ASH) |
| #include "ash/wm/window_animations.h" |
| #endif |
| @@ -349,8 +349,7 @@ void AutocompletePopupContentsView::UpdatePopupAppearance() { |
| params.parent_widget = location_bar_->GetWidget(); |
| params.bounds = GetPopupBounds(); |
| popup_->Init(params); |
| -#if defined(USE_AURA) |
| - // TODO(beng): This should be if defined(USE_ASH) |
| +#if defined(USE_ASH) |
| ash::SetWindowVisibilityAnimationType( |
| popup_->GetNativeView(), |
| ash::WINDOW_VISIBILITY_ANIMATION_TYPE_VERTICAL); |
|
Elliot Glaysher
2012/02/28 18:13:32
This doesn't look as good without upstreaming the
|