| Index: ui/app_list/views/contents_view.cc
|
| diff --git a/ui/app_list/views/contents_view.cc b/ui/app_list/views/contents_view.cc
|
| index 58323584b784aa5ab7a30fb2256baa6efbb94a3f..7e1a51a5eaa2c6c06fade848130f4e54c5fc3246 100644
|
| --- a/ui/app_list/views/contents_view.cc
|
| +++ b/ui/app_list/views/contents_view.cc
|
| @@ -25,6 +25,7 @@
|
| #include "ui/resources/grit/ui_resources.h"
|
| #include "ui/views/view_model.h"
|
| #include "ui/views/view_model_utils.h"
|
| +#include "ui/views/widget/widget.h"
|
|
|
| namespace app_list {
|
|
|
| @@ -402,4 +403,22 @@ void ContentsView::TransitionChanged() {
|
| UpdatePageBounds();
|
| }
|
|
|
| +gfx::NativeView ContentsView::GetHostView() const {
|
| + return GetWidget()->GetNativeView();
|
| +}
|
| +
|
| +gfx::Point ContentsView::GetDialogPosition(const gfx::Size& size) {
|
| + gfx::Rect screen_bounds = GetBoundsInScreen();
|
| + return screen_bounds.origin();
|
| +}
|
| +
|
| +void ContentsView::AddObserver(web_modal::ModalDialogHostObserver* observer) {
|
| + NOTIMPLEMENTED();
|
| +}
|
| +
|
| +void ContentsView::RemoveObserver(
|
| + web_modal::ModalDialogHostObserver* observer) {
|
| + NOTIMPLEMENTED();
|
| +}
|
| +
|
| } // namespace app_list
|
|
|