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

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

Issue 246633004: Remove non USE_AURA code from views files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Just revert changes to ui/app_list/. Created 6 years, 8 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 973b2f4bd750bbce045b3f8ea40572ba291c1c0c..28820d8b08488a66043b94b92e5012c68c8758b7 100644
--- a/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc
+++ b/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc
@@ -10,10 +10,7 @@
#include "chrome/browser/ui/autofill/popup_constants.h"
#include "ui/views/border.h"
#include "ui/views/widget/widget.h"
-
-#if defined(USE_AURA)
#include "ui/wm/core/window_animations.h"
-#endif
namespace autofill {
@@ -69,11 +66,10 @@ void AutofillPopupBaseView::DoShow() {
params.parent = container_view();
widget->Init(params);
widget->SetContentsView(this);
-#if defined(USE_AURA)
+
// No animation for popup appearance (too distracting).
wm::SetWindowVisibilityAnimationTransition(
widget->GetNativeView(), wm::ANIMATE_HIDE);
-#endif
}
SetBorder(views::Border::CreateSolidBorder(kPopupBorderThickness,
« no previous file with comments | « chrome/browser/ui/views/accelerator_utils_views.cc ('k') | chrome/browser/ui/views/certificate_viewer_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698