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

Side by Side Diff: ui/app_list/app_list_shower.h

Issue 1830293002: AppListController refactoring part 1: AppListShower implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: AppListShower to new component: //ui/app_list/shower, GetViewDelegate() in GetViewDelegate(). Created 4 years, 8 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
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_SHOWER_APP_LIST_SHOWER_H_
6 #define UI_APP_LIST_SHOWER_APP_LIST_SHOWER_H_
7
8 #include "ui/app_list/shower/app_list_shower_export.h"
9
10 namespace aura {
11 class Window;
12 }
13
14 namespace app_list {
15
16 // Interface for showing and hiding the app list.
17 class APP_LIST_SHOWER_EXPORT AppListShower {
18 public:
19 virtual ~AppListShower() {}
20
21 // Show/hide app list window. The |window| is used to deterime in
22 // which display (in which the |window| exists) the app list should
23 // be shown.
24 virtual void Show(aura::Window* window) = 0;
25
26 // Invoked to dismiss app list. This may leave the view open but hidden from
27 // the user.
28 virtual void Dismiss() = 0;
29
30 // Whether the app list's aura::Window is currently visible.
31 virtual bool IsVisible() const = 0;
32
33 // Returns target visibility. This may differ from IsVisible() if a
34 // visibility transition is in progress.
35 virtual bool GetTargetVisibility() const = 0;
36 };
37
38 } // namespace app_list
39
40 #endif // UI_APP_LIST_SHOWER_APP_LIST_SHOWER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698