| 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 6f380138b1b24dc4c0d523f6095b0958d8bb938f..5b69b4dff5ff41ac6227a90cc34eac5464b18032 100644
|
| --- a/ui/app_list/views/app_list_view.cc
|
| +++ b/ui/app_list/views/app_list_view.cc
|
| @@ -229,25 +229,6 @@ void AppListView::InitAsBubble(gfx::NativeView parent, int initial_apps_page) {
|
| base::Time::Now() - start_time);
|
| }
|
|
|
| -void AppListView::InitAsFramelessWindow(gfx::NativeView parent,
|
| - int initial_apps_page,
|
| - gfx::Rect bounds) {
|
| - set_color(kContentsBackgroundColor);
|
| - InitContents(parent, initial_apps_page);
|
| - overlay_view_ = new AppListOverlayView(0 /* no corners */);
|
| - AddChildView(overlay_view_);
|
| -
|
| - views::Widget* widget = new views::Widget();
|
| - views::Widget::InitParams params(
|
| - views::Widget::InitParams::TYPE_WINDOW_FRAMELESS);
|
| - params.parent = parent;
|
| - params.delegate = this;
|
| - widget->Init(params);
|
| - widget->SetBounds(bounds);
|
| -
|
| - InitChildWidgets();
|
| -}
|
| -
|
| void AppListView::SetBubbleArrow(views::BubbleBorder::Arrow arrow) {
|
| GetBubbleFrameView()->bubble_border()->set_arrow(arrow);
|
| SizeToContents(); // Recalcuates with new border.
|
|
|