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

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

Issue 2952763002: SearchBoxView now enables/disables cursor based on user interaction. (Closed)
Patch Set: Addressed Comments, refactored. Created 3 years, 6 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: ui/app_list/views/search_box_view_unittest.cc
diff --git a/ui/app_list/views/search_box_view_unittest.cc b/ui/app_list/views/search_box_view_unittest.cc
index e24ac55699cb6f7561db6ea1ae36ce4403d4e681..680656c4e936ec65593966a7dfbc35b030b6f753 100644
--- a/ui/app_list/views/search_box_view_unittest.cc
+++ b/ui/app_list/views/search_box_view_unittest.cc
@@ -52,7 +52,7 @@ class SearchBoxViewTest : public views::test::WidgetTest,
void SetUp() override {
views::test::WidgetTest::SetUp();
widget_ = CreateTopLevelPlatformWidget();
- view_ = new SearchBoxView(this, &view_delegate_);
+ view_ = new SearchBoxView(this, &view_delegate_, app_list_view_);
counter_view_ = new KeyPressCounterView();
widget_->GetContentsView()->AddChildView(view_);
widget_->GetContentsView()->AddChildView(counter_view_);

Powered by Google App Engine
This is Rietveld 408576698