Chromium Code Reviews| 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 21163f47c0ae3c4a733a85ea5c3fd1d821d7055b..6f2c41add67141aa21ab6d79490094d8500c2c7b 100644 |
| --- a/ui/app_list/views/app_list_view.cc |
| +++ b/ui/app_list/views/app_list_view.cc |
| @@ -190,6 +190,10 @@ void AppListView::UpdateBounds() { |
| SizeToContents(); |
| } |
| +void AppListView::RepaintBackground() { |
|
tapted
2014/03/04 05:27:01
calls to `SchedulePaint()` propagate up through to
|
| + GetBubbleFrameView()->SchedulePaint(); |
| +} |
| + |
| gfx::Size AppListView::GetPreferredSize() { |
| return app_list_main_view_->GetPreferredSize(); |
| } |
| @@ -261,7 +265,8 @@ void AppListView::InitAsBubbleInternal(gfx::NativeView parent, |
| views::BubbleBorder::Arrow arrow, |
| bool border_accepts_events, |
| const gfx::Vector2d& anchor_offset) { |
| - app_list_main_view_ = new AppListMainView(delegate_.get(), |
| + app_list_main_view_ = new AppListMainView(this, |
| + delegate_.get(), |
| pagination_model, |
| parent); |
| AddChildView(app_list_main_view_); |