| Index: ash/wm/workspace/workspace_layout_manager.cc
|
| diff --git a/ash/wm/workspace/workspace_layout_manager.cc b/ash/wm/workspace/workspace_layout_manager.cc
|
| index 0326e6a6f3f8d6418773e85e229f3899059deb38..06b79bd5e7ab5f68edefcbdb3d857a4e225c5449 100644
|
| --- a/ash/wm/workspace/workspace_layout_manager.cc
|
| +++ b/ash/wm/workspace/workspace_layout_manager.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "ash/wm/workspace/workspace_layout_manager.h"
|
|
|
| +#include <algorithm>
|
| +
|
| #include "ash/display/display_controller.h"
|
| #include "ash/root_window_controller.h"
|
| #include "ash/screen_util.h"
|
| @@ -135,7 +137,7 @@ void WorkspaceLayoutManager::OnKeyboardBoundsChanging(
|
| ui::InputMethod* input_method =
|
| root_window->GetProperty(aura::client::kRootWindowInputMethodKey);
|
| ui::TextInputClient* text_input_client = input_method->GetTextInputClient();
|
| - if(!text_input_client)
|
| + if (!text_input_client)
|
| return;
|
| aura::Window *window = text_input_client->GetAttachedWindow();
|
| if (!window || !window_->Contains(window))
|
| @@ -163,6 +165,8 @@ void WorkspaceLayoutManager::OnDisplayWorkAreaInsetsChanged() {
|
| const wm::WMEvent event(wm::WM_EVENT_WORKAREA_BOUNDS_CHANGED);
|
| AdjustAllWindowsBoundsForWorkAreaChange(&event);
|
| }
|
| + if (backdrop_delegate_)
|
| + backdrop_delegate_->OnDisplayWorkAreaInsetsChanged();
|
| }
|
|
|
| //////////////////////////////////////////////////////////////////////////////
|
|
|