Chromium Code Reviews| Index: ash/shell.h |
| diff --git a/ash/shell.h b/ash/shell.h |
| index 5068815e23e78c276aff830791aa2e0237776143..b9bfb3c352adc6ac2b03e1dcd4930496bcebdf19 100644 |
| --- a/ash/shell.h |
| +++ b/ash/shell.h |
| @@ -27,6 +27,9 @@ |
| class CommandLine; |
| +namespace app_list { |
| +class AppListView; |
| +} |
| namespace aura { |
| class EventFilter; |
| class RootWindow; |
| @@ -228,6 +231,9 @@ class ASH_EXPORT Shell |
| // Returns app list window or NULL if it is not visible. |
| aura::Window* GetAppListWindow(); |
| + // Returns the app list view. Used for integration testing. |
| + app_list::AppListView* GetAppListViewForTesting(); |
|
xiyuan
2013/08/28 03:36:45
nit: Can we instead exposing AppListController? In
tapted
2013/08/28 07:23:14
I actually tried this in an earlier attempt ;) The
xiyuan
2013/08/28 16:33:45
Exporting AppListController should be good enough
|
| + |
| // Returns true if a system-modal dialog window is currently open. |
| bool IsSystemModalWindowOpen() const; |