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

Side by Side Diff: ui/app_list/presenter/app_list_presenter.mojom

Issue 2567523002: mash: Have chrome set itself as the app list presenter. (Closed)
Patch Set: Address comments, 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 unified diff | Download patch
« no previous file with comments | « ui/app_list/presenter/app_list.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module app_list.mojom; 5 module app_list.mojom;
6 6
7 import "services/ui/public/interfaces/window_manager_constants.mojom"; 7 import "services/ui/public/interfaces/window_manager_constants.mojom";
8 8
9 // TODO(msw): Rename this file to app_list.mojom; move to ash?
10 // TODO(msw): Ash should implement the app list and presenter; chrome should
11 // just push data about its apps into the app list interface.
12
13 // Implemented by ash. Used by chrome to set the presenter interface.
14 interface AppList {
15 // Set the app list presenter interface, to let ash trigger Chrome's app list.
16 SetAppListPresenter(AppListPresenter presenter);
17 };
18
19 // Implemented by chrome. Used by ash to actually show and dismiss the app list.
9 interface AppListPresenter { 20 interface AppListPresenter {
10 // Show the app list on the specified display. 21 // Show the app list on the specified display.
11 Show(int64 display_id); 22 Show(int64 display_id);
12 23
13 // Dismiss the app list. 24 // Dismiss the app list.
14 Dismiss(); 25 Dismiss();
15 26
16 // Show the app list (on the specified display) if it is hidden; hide the 27 // Show the app list (on the specified display) if it is hidden; hide the
17 // app list if it is shown. 28 // app list if it is shown.
18 ToggleAppList(int64 display_id); 29 ToggleAppList(int64 display_id);
19 }; 30 };
OLDNEW
« no previous file with comments | « ui/app_list/presenter/app_list.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698