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

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

Issue 719203003: Parent the AppInfoDialog using a ModalDialogHost Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
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 987631a0351373cfe62e53116aa250a1d8c27ae2..dbc2c6b909df5887df87a9b784731c2a813cdc0d 100644
--- a/ui/app_list/views/app_list_view.cc
+++ b/ui/app_list/views/app_list_view.cc
@@ -321,6 +321,10 @@ PaginationModel* AppListView::GetAppsPaginationModel() {
->pagination_model();
}
+web_modal::ModalDialogHost* AppListView::GetDialogHost() {
+ return app_list_main_view_->contents_view();
+}
+
void AppListView::InitAsBubbleInternal(gfx::NativeView parent,
int initial_apps_page,
views::BubbleBorder::Arrow arrow,

Powered by Google App Engine
This is Rietveld 408576698