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

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

Issue 2348183002: App list: Remove search box menu (dead code). (Closed)
Patch Set: Rebase. Created 4 years, 3 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/views/app_list_view.h ('k') | ui/app_list/views/search_box_view.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.cc
diff --git a/ui/app_list/views/app_list_view.cc b/ui/app_list/views/app_list_view.cc
index 19c4e2907187edd601fc9b4619767c8c7698b63a..4bfdb605f09931832edf28338527fe7791f0d852 100644
--- a/ui/app_list/views/app_list_view.cc
+++ b/ui/app_list/views/app_list_view.cc
@@ -348,10 +348,6 @@ bool AppListView::ShouldDescendIntoChildForEventHandling(
ShouldDescendIntoChildForEventHandling(child, location);
}
-void AppListView::OnProfilesChanged() {
- app_list_main_view_->search_box_view()->InvalidateMenu();
-}
-
void AppListView::OnShutdown() {
// Nothing to do on views - the widget will soon be closed, which will tear
// everything down.
@@ -420,8 +416,6 @@ void AppListView::InitContents(gfx::NativeView parent, int initial_apps_page) {
speech_view_->layer()->SetOpacity(0.0f);
AddChildView(speech_view_);
}
-
- OnProfilesChanged();
}
void AppListView::InitChildWidgets() {
« no previous file with comments | « ui/app_list/views/app_list_view.h ('k') | ui/app_list/views/search_box_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698