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

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

Issue 2576913002: Use mojo app list interfaces for mash and classic ash. (Closed)
Patch Set: Sync and rebase Created 3 years, 11 months 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') | ui/app_list/presenter/app_list_presenter.mojom » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_H_
6 #define UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_H_
7
8 #include <stdint.h>
9
10 #include "ui/app_list/presenter/app_list_presenter_export.h"
11
12 namespace app_list {
13
14 // Interface for showing and hiding the app list.
15 class APP_LIST_PRESENTER_EXPORT AppListPresenter {
16 public:
17 virtual ~AppListPresenter() {}
18
19 // Show/hide app list window. The |window| is used to deterime in
20 // which display (in which the |window| exists) the app list should
21 // be shown.
22 virtual void Show(int64_t display_id) = 0;
23
24 // Invoked to dismiss app list. This may leave the view open but hidden from
25 // the user.
26 virtual void Dismiss() = 0;
27
28 // Show the app list if it is visible, hide it if it is hidden.
29 virtual void ToggleAppList(int64_t display_id) = 0;
30
31 // Returns current visibility of the app list.
32 virtual bool IsVisible() const = 0;
33
34 // Returns target visibility. This may differ from IsVisible() if a
35 // visibility transition is in progress.
36 virtual bool GetTargetVisibility() const = 0;
37 };
38
39 } // namespace app_list
40
41 #endif // UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_H_
OLDNEW
« no previous file with comments | « ui/app_list/presenter/app_list.cc ('k') | ui/app_list/presenter/app_list_presenter.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698