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

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

Issue 1890583002: Renaming App List Shower to App List Presenter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix. 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
« no previous file with comments | « ui/app_list/presenter/BUILD.gn ('k') | ui/app_list/presenter/app_list_presenter.gyp » ('j') | 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 #ifndef UI_APP_LIST_SHOWER_APP_LIST_SHOWER_H_ 5 #ifndef UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_H_
6 #define UI_APP_LIST_SHOWER_APP_LIST_SHOWER_H_ 6 #define UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_H_
7 7
8 #include "ui/app_list/shower/app_list_shower_export.h" 8 #include "ui/app_list/presenter/app_list_presenter_export.h"
9 9
10 namespace aura { 10 namespace aura {
11 class Window; 11 class Window;
12 } 12 }
13 13
14 namespace app_list { 14 namespace app_list {
15 15
16 // Interface for showing and hiding the app list. 16 // Interface for showing and hiding the app list.
17 class APP_LIST_SHOWER_EXPORT AppListShower { 17 class APP_LIST_PRESENTER_EXPORT AppListPresenter {
18 public: 18 public:
19 virtual ~AppListShower() {} 19 virtual ~AppListPresenter() {}
20 20
21 // Show/hide app list window. The |window| is used to deterime in 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 22 // which display (in which the |window| exists) the app list should
23 // be shown. 23 // be shown.
24 virtual void Show(aura::Window* window) = 0; 24 virtual void Show(aura::Window* window) = 0;
25 25
26 // Invoked to dismiss app list. This may leave the view open but hidden from 26 // Invoked to dismiss app list. This may leave the view open but hidden from
27 // the user. 27 // the user.
28 virtual void Dismiss() = 0; 28 virtual void Dismiss() = 0;
29 29
30 // Whether the app list's aura::Window is currently visible. 30 // Whether the app list's aura::Window is currently visible.
31 virtual bool IsVisible() const = 0; 31 virtual bool IsVisible() const = 0;
32 32
33 // Returns target visibility. This may differ from IsVisible() if a 33 // Returns target visibility. This may differ from IsVisible() if a
34 // visibility transition is in progress. 34 // visibility transition is in progress.
35 virtual bool GetTargetVisibility() const = 0; 35 virtual bool GetTargetVisibility() const = 0;
36 }; 36 };
37 37
38 } // namespace app_list 38 } // namespace app_list
39 39
40 #endif // UI_APP_LIST_SHOWER_APP_LIST_SHOWER_H_ 40 #endif // UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_H_
OLDNEW
« no previous file with comments | « ui/app_list/presenter/BUILD.gn ('k') | ui/app_list/presenter/app_list_presenter.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698