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 3ea99ee85a14aef687cf3fd035fa725a3875470b..7cf62e703e2c89a8ec3667f3151e4f417a2a4792 100644 |
--- a/ui/app_list/views/app_list_view.cc |
+++ b/ui/app_list/views/app_list_view.cc |
@@ -376,6 +376,7 @@ void AppListView::InitChildWidgets() { |
search_box_widget_params.parent = GetWidget()->GetNativeView(); |
search_box_widget_params.opacity = |
views::Widget::InitParams::TRANSLUCENT_WINDOW; |
+ search_box_widget_params.name = "SearchBoxView"; |
xiyuan
2017/05/04 23:08:14
nit: SearchBoxView -> SearchBoxWidget to avoid dup
|
// Create a widget for the SearchBoxView to live in. This allows the |
// SearchBoxView to be on top of the custom launcher page's WebContents |
@@ -403,7 +404,6 @@ void AppListView::InitChildWidgets() { |
void AppListView::InitializeFullscreen(gfx::NativeView parent, |
int initial_apps_page) { |
- |
views::Widget* widget = new views::Widget; |
views::Widget::InitParams app_list_overlay_view_params( |
views::Widget::InitParams::TYPE_WINDOW_FRAMELESS); |