| Index: ash/wm/overview/window_selector.cc
|
| diff --git a/ash/wm/overview/window_selector.cc b/ash/wm/overview/window_selector.cc
|
| index eca4a5feaa58773e465cc38b79f5b7bf41f9ac55..9b86c22027b63f581a7e172a70ffcb89721d3f6a 100644
|
| --- a/ash/wm/overview/window_selector.cc
|
| +++ b/ash/wm/overview/window_selector.cc
|
| @@ -505,8 +505,10 @@ void WindowSelector::OnWindowDestroying(aura::Window* window) {
|
| restore_focus_window_ = nullptr;
|
| }
|
|
|
| -void WindowSelector::OnWindowActivated(aura::Window* gained_active,
|
| - aura::Window* lost_active) {
|
| +void WindowSelector::OnWindowActivated(
|
| + aura::client::ActivationChangeObserver::ActivationReason reason,
|
| + aura::Window* gained_active,
|
| + aura::Window* lost_active) {
|
| if (ignore_activations_ ||
|
| !gained_active ||
|
| gained_active == text_filter_widget_->GetNativeWindow()) {
|
| @@ -534,7 +536,9 @@ void WindowSelector::OnWindowActivated(aura::Window* gained_active,
|
|
|
| void WindowSelector::OnAttemptToReactivateWindow(aura::Window* request_active,
|
| aura::Window* actual_active) {
|
| - OnWindowActivated(request_active, actual_active);
|
| + OnWindowActivated(aura::client::ActivationChangeObserver::ActivationReason::
|
| + ACTIVATION_CLIENT,
|
| + request_active, actual_active);
|
| }
|
|
|
| void WindowSelector::ContentsChanged(views::Textfield* sender,
|
|
|