Chromium Code Reviews| Index: ash/shelf/shelf_layout_manager.h |
| diff --git a/ash/shelf/shelf_layout_manager.h b/ash/shelf/shelf_layout_manager.h |
| index eb5740f0eef4c63c5142fdc691c5b816db57334c..c05b7c61509030e576302ee0ed44b8d41165f6f4 100644 |
| --- a/ash/shelf/shelf_layout_manager.h |
| +++ b/ash/shelf/shelf_layout_manager.h |
| @@ -60,11 +60,14 @@ class ASH_EXPORT ShelfLayoutManager |
| ShelfLayoutManager(ShelfWidget* shelf_widget, WmShelf* wm_shelf); |
| ~ShelfLayoutManager() override; |
| + // Called from wm_shelf to prevent the translucent background from the shelf |
| + // from overlapping with the translucent background from the launcher. |
| + void AppListIsActive(bool active); |
|
vadimt
2017/05/22 23:36:56
Also: rename to OnAppListIsActive.
You don't have
newcomer
2017/05/25 23:10:51
Done.
|
| + |
| bool updating_bounds() const { return updating_bounds_; } |
| // Clears internal data for shutdown process. |
| void PrepareForShutdown(); |
| - |
| // Returns whether the shelf and its contents (shelf, status) are visible |
| // on the screen. |
| bool IsVisible() const; |
| @@ -313,6 +316,7 @@ class ASH_EXPORT ShelfLayoutManager |
| // Do any windows overlap the shelf? This is maintained by WorkspaceManager. |
| bool window_overlaps_shelf_; |
| + bool app_list_is_active_ = false; |
|
vadimt
2017/05/22 23:36:56
Is there a reasonable way to find out from here wh
xiyuan
2017/05/24 18:28:17
Think we can use Shell::Get()->app_list()->IsVisib
newcomer
2017/05/25 23:10:50
Acknowledged.
newcomer
2017/05/25 23:10:51
AppListIsActive (now OnAppListIsActive) actually f
|
| base::OneShotTimer auto_hide_timer_; |
| // Whether the mouse was over the shelf when the auto hide timer started. |