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

Unified Diff: ui/app_list/views/app_list_view_unittest.cc

Issue 2588103004: Apply new WM shadows to app list. (Closed)
Patch Set: remove references on testing bots Created 4 years 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/app_list/views/app_list_view_observer.h ('k') | ui/views/bubble/bubble_dialog_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/app_list_view_unittest.cc
diff --git a/ui/app_list/views/app_list_view_unittest.cc b/ui/app_list/views/app_list_view_unittest.cc
index 97f8f3c2465f08e0cb33a085ae25c6e17470a334..aa09422c1745fc987b2ceb78944ecdc5f3aeab85 100644
--- a/ui/app_list/views/app_list_view_unittest.cc
+++ b/ui/app_list/views/app_list_view_unittest.cc
@@ -175,11 +175,8 @@ AppListViewTestContext::AppListViewTestContext(gfx::NativeView parent) {
view_ = new app_list::AppListView(delegate_.get());
// Initialize centered around a point that ensures the window is wholly shown.
- view_->InitAsBubbleAtFixedLocation(parent,
- 0,
- gfx::Point(300, 300),
- views::BubbleBorder::FLOAT,
- false /* border_accepts_events */);
+ view_->InitAsBubble(parent, 0);
+ view_->SetAnchorPoint(gfx::Point(300, 300));
}
AppListViewTestContext::~AppListViewTestContext() {
« no previous file with comments | « ui/app_list/views/app_list_view_observer.h ('k') | ui/views/bubble/bubble_dialog_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698