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

Unified Diff: ui/app_list/presenter/app_list_presenter.mojom

Issue 2576913002: Use mojo app list interfaces for mash and classic ash. (Closed)
Patch Set: Fix AppListPresenterImplTest. Created 4 years 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/presenter/app_list_presenter.mojom
diff --git a/ui/app_list/presenter/app_list_presenter.mojom b/ui/app_list/presenter/app_list_presenter.mojom
index 8522ca5805f0992728b2f2cf1163fca4061f30b1..14d376cad0b9131bbe5742af51ea174ef1d28ba2 100644
--- a/ui/app_list/presenter/app_list_presenter.mojom
+++ b/ui/app_list/presenter/app_list_presenter.mojom
@@ -14,6 +14,10 @@ import "services/ui/public/interfaces/window_manager_constants.mojom";
interface AppList {
// Set the app list presenter interface, to let ash trigger Chrome's app list.
SetAppListPresenter(AppListPresenter presenter);
+
+ // Notify the app list that the presenter's [target] visibility changed.
+ OnTargetVisibilityChanged(bool visible);
+ OnVisibilityChanged(bool visible);
};
// Implemented by chrome. Used by ash to actually show and dismiss the app list.
@@ -23,7 +27,7 @@ interface AppListPresenter {
// Dismiss the app list.
Dismiss();
-
+
// Show the app list (on the specified display) if it is hidden; hide the
// app list if it is shown.
ToggleAppList(int64 display_id);

Powered by Google App Engine
This is Rietveld 408576698