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

Unified Diff: ui/app_list/presenter/app_list_presenter_impl_unittest.cc

Issue 2713603002: Remove fullscreen applist (Closed)
Patch Set: . Created 3 years, 10 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
« no previous file with comments | « ui/app_list/presenter/BUILD.gn ('k') | ui/app_list/views/app_list_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/presenter/app_list_presenter_impl_unittest.cc
diff --git a/ui/app_list/presenter/app_list_presenter_impl_unittest.cc b/ui/app_list/presenter/app_list_presenter_impl_unittest.cc
index 0fd6639b097b0d34c14008e3c2c6170df1e14c00..372b8d1666aad0ea36582540375c329a1bb17995 100644
--- a/ui/app_list/presenter/app_list_presenter_impl_unittest.cc
+++ b/ui/app_list/presenter/app_list_presenter_impl_unittest.cc
@@ -15,6 +15,7 @@
#include "ui/aura/test/aura_test_base.h"
#include "ui/aura/test/test_screen.h"
#include "ui/aura/window.h"
+#include "ui/views/test/test_views_delegate.h"
#include "ui/wm/core/default_activation_client.h"
#include "ui/wm/core/window_util.h"
@@ -43,8 +44,7 @@ class AppListPresenterDelegateTest : public AppListPresenterDelegate {
int current_apps_page) override {
init_called_ = true;
view_ = view;
- view->InitAsFramelessWindow(container_, current_apps_page,
- gfx::Rect(100, 50, 300, 200));
+ view->InitAsBubble(container_, current_apps_page);
}
void OnShown(int64_t display_id) override { on_shown_called_ = true; }
void OnDismissed() override { on_dismissed_called_ = true; }
@@ -61,6 +61,7 @@ class AppListPresenterDelegateTest : public AppListPresenterDelegate {
bool on_shown_called_ = false;
bool on_dismissed_called_ = false;
bool update_bounds_called_ = false;
+ views::TestViewsDelegate views_delegate_;
DISALLOW_COPY_AND_ASSIGN(AppListPresenterDelegateTest);
};
« no previous file with comments | « ui/app_list/presenter/BUILD.gn ('k') | ui/app_list/views/app_list_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698