| Index: components/exo/wm_helper_ash.cc
|
| diff --git a/components/exo/wm_helper_ash.cc b/components/exo/wm_helper_ash.cc
|
| index 6c3051171f82af2791fe953123bd270ce32fd137..4fefebd5f2e2e73dd3ef5ddc0e3cdbe5e74f9f83 100644
|
| --- a/components/exo/wm_helper_ash.cc
|
| +++ b/components/exo/wm_helper_ash.cc
|
| @@ -23,6 +23,7 @@ namespace exo {
|
| WMHelperAsh::WMHelperAsh() {
|
| ash::Shell::GetInstance()->AddShellObserver(this);
|
| ash::Shell::GetInstance()->activation_client()->AddObserver(this);
|
| + ash::Shell::GetInstance()->window_tree_host_manager()->AddObserver(this);
|
| aura::client::FocusClient* focus_client =
|
| aura::client::GetFocusClient(ash::Shell::GetPrimaryRootWindow());
|
| focus_client->AddObserver(this);
|
| @@ -36,6 +37,7 @@ WMHelperAsh::~WMHelperAsh() {
|
| aura::client::FocusClient* focus_client =
|
| aura::client::GetFocusClient(ash::Shell::GetPrimaryRootWindow());
|
| focus_client->RemoveObserver(this);
|
| + ash::Shell::GetInstance()->window_tree_host_manager()->RemoveObserver(this);
|
| ash::Shell::GetInstance()->activation_client()->RemoveObserver(this);
|
| ash::Shell::GetInstance()->RemoveShellObserver(this);
|
| ui::DeviceDataManager::GetInstance()->RemoveObserver(this);
|
| @@ -145,6 +147,10 @@ void WMHelperAsh::OnMaximizeModeEnded() {
|
| NotifyMaximizeModeEnded();
|
| }
|
|
|
| +void WMHelperAsh::OnDisplayConfigurationChanged() {
|
| + NotifyDisplayConfigurationChanged();
|
| +}
|
| +
|
| void WMHelperAsh::OnKeyboardDeviceConfigurationChanged() {
|
| NotifyKeyboardDeviceConfigurationChanged();
|
| }
|
|
|