| Index: ash/wm/shelf_layout_manager.cc
|
| diff --git a/ash/wm/shelf_layout_manager.cc b/ash/wm/shelf_layout_manager.cc
|
| index 3f2e857e7dfbb446e4d7bacbdb2712832b0d91a2..8de590ad222b4d892fe411ced2900cb43911e4d9 100644
|
| --- a/ash/wm/shelf_layout_manager.cc
|
| +++ b/ash/wm/shelf_layout_manager.cc
|
| @@ -13,6 +13,7 @@
|
| #include "ash/shell_window_ids.h"
|
| #include "ash/system/status_area_widget.h"
|
| #include "ash/system/tray/system_tray.h"
|
| +#include "ash/system/web_notification/web_notification_tray.h"
|
| #include "ash/wm/workspace/workspace_manager.h"
|
| #include "base/auto_reset.h"
|
| #include "base/i18n/rtl.h"
|
| @@ -200,6 +201,8 @@ bool ShelfLayoutManager::SetAlignment(ShelfAlignment alignment) {
|
| Shell::GetInstance()->status_area_widget()->SetShelfAlignment(alignment);
|
| if (Shell::GetInstance()->system_tray())
|
| Shell::GetInstance()->system_tray()->SetShelfAlignment(alignment);
|
| + if (Shell::GetInstance()->web_notification_tray())
|
| + Shell::GetInstance()->web_notification_tray()->SetShelfAlignment(alignment);
|
| LayoutShelf();
|
| return true;
|
| }
|
| @@ -497,6 +500,10 @@ void ShelfLayoutManager::UpdateShelfBackground(
|
| Shell::GetInstance()->system_tray()->SetPaintsBackground(
|
| !launcher_paints, type);
|
| }
|
| + if (Shell::GetInstance()->web_notification_tray()) {
|
| + Shell::GetInstance()->web_notification_tray()->SetPaintsBackground(
|
| + !launcher_paints, type);
|
| + }
|
| }
|
|
|
| bool ShelfLayoutManager::GetLauncherPaintsBackground() const {
|
|
|