| Index: chrome/browser/ui/views/extensions/extension_popup.cc
|
| diff --git a/chrome/browser/ui/views/extensions/extension_popup.cc b/chrome/browser/ui/views/extensions/extension_popup.cc
|
| index 939b2ccf04c68d84c978f9c284458506f660e17d..e8a31ab879d8a75d26b44e6a8e6b7d05efe4e8e4 100644
|
| --- a/chrome/browser/ui/views/extensions/extension_popup.cc
|
| +++ b/chrome/browser/ui/views/extensions/extension_popup.cc
|
| @@ -198,7 +198,7 @@ void ExtensionPopup::OnWindowActivated(aura::Window* gained_active,
|
| if (!inspect_with_devtools_ && anchor_window == gained_active &&
|
| host_desktop_type != chrome::HOST_DESKTOP_TYPE_ASH &&
|
| this_window->GetRootWindow() == anchor_window->GetRootWindow() &&
|
| - views::corewm::GetTransientParent(gained_active) != this_window)
|
| + wm::GetTransientParent(gained_active) != this_window)
|
| GetWidget()->Close();
|
| }
|
| #endif
|
| @@ -224,10 +224,10 @@ ExtensionPopup* ExtensionPopup::ShowPopup(const GURL& url,
|
|
|
| #if defined(USE_AURA)
|
| gfx::NativeView native_view = popup->GetWidget()->GetNativeView();
|
| - views::corewm::SetWindowVisibilityAnimationType(
|
| + wm::SetWindowVisibilityAnimationType(
|
| native_view,
|
| - views::corewm::WINDOW_VISIBILITY_ANIMATION_TYPE_VERTICAL);
|
| - views::corewm::SetWindowVisibilityAnimationVerticalPosition(
|
| + wm::WINDOW_VISIBILITY_ANIMATION_TYPE_VERTICAL);
|
| + wm::SetWindowVisibilityAnimationVerticalPosition(
|
| native_view,
|
| -3.0f);
|
| #endif
|
|
|