Chromium Code Reviews| Index: ui/wm/core/window_modality_controller.cc |
| diff --git a/ui/wm/core/window_modality_controller.cc b/ui/wm/core/window_modality_controller.cc |
| index 094acc49189b86f2d21d4dbade56e7b8b7e1486d..2fc7e6f7b64cbdd4fa85a8f3e1ee54f6a69d28fd 100644 |
| --- a/ui/wm/core/window_modality_controller.cc |
| +++ b/ui/wm/core/window_modality_controller.cc |
| @@ -22,6 +22,9 @@ |
| #include "ui/wm/core/window_util.h" |
| namespace wm { |
| +// Key for native window property that indicates if the window should have |
|
Mike Wittman
2016/08/12 22:51:35
No need to repeat the comment in the implementatio
rbpotter
2016/08/15 18:03:46
Done.
|
| +// bounds independent of its modal parent. |
| +const char kHasIndependentBoundsKey[] = "__INDEPENDENT_BOUNDS__"; |
| // Transient child's modal parent. |
| extern const aura::WindowProperty<aura::Window*>* const kModalParentKey; |
| @@ -128,7 +131,7 @@ void WindowModalityController::OnKeyEvent(ui::KeyEvent* event) { |
| void WindowModalityController::OnMouseEvent(ui::MouseEvent* event) { |
| aura::Window* target = static_cast<aura::Window*>(event->target()); |
| if (ProcessLocatedEvent(target, event)) |
| - event->SetHandled(); |
| + event->SetHandled(); |
| } |
| void WindowModalityController::OnTouchEvent(ui::TouchEvent* event) { |