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

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

Issue 1027513004: Fix search box shadowing issue on classic app list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@content_view_base_class
Patch Set: Created 5 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/search_result_page_view.cc
diff --git a/ui/app_list/views/search_result_page_view.cc b/ui/app_list/views/search_result_page_view.cc
index c3ff198dfaf820b9997b83d032bc704cd4e8080f..3a1e935dd0c0415c8a597d8f22f361f848e0ce80 100644
--- a/ui/app_list/views/search_result_page_view.cc
+++ b/ui/app_list/views/search_result_page_view.cc
@@ -192,7 +192,9 @@ void SearchResultPageView::OnAnimationUpdated(double progress,
}
int SearchResultPageView::GetSearchBoxZHeight() const {
- return kSearchResultZHeight;
+ return switches::IsExperimentalAppListEnabled()
+ ? kSearchResultZHeight
+ : AppListPage::GetSearchBoxZHeight();
}
} // namespace app_list
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698