| Index: services/window_manager/focus_controller.cc
|
| diff --git a/services/window_manager/focus_controller.cc b/services/window_manager/focus_controller.cc
|
| index e58dca862bd57dd49675a5e3526ea0b275e06bca..cfe535ab109dc4c6cb20dc2ea3269ae9f22c7332 100644
|
| --- a/services/window_manager/focus_controller.cc
|
| +++ b/services/window_manager/focus_controller.cc
|
| @@ -133,6 +133,10 @@ void FocusController::OnScrollEvent(ui::ScrollEvent* event) {
|
| }
|
|
|
| void FocusController::OnTouchEvent(ui::TouchEvent* event) {
|
| + if (event->type() == ui::ET_TOUCH_PRESSED && !event->handled()) {
|
| + View* view = static_cast<ViewTarget*>(event->target())->view();
|
| + ViewFocusedFromInputEvent(view);
|
| + }
|
| }
|
|
|
| void FocusController::OnGestureEvent(ui::GestureEvent* event) {
|
|
|