Index: ui/aura/root_window.cc |
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc |
index aba54cbbd339be69ee0c80a8a272664ecd74187e..57df63df96e53bd063fced98aab85f0b337c548c 100644 |
--- a/ui/aura/root_window.cc |
+++ b/ui/aura/root_window.cc |
@@ -191,6 +191,12 @@ void RootWindow::HideRootWindow() { |
host_->Hide(); |
} |
+void RootWindow::StopListeningEvents() { |
+ host_->StopListeningEvents(); |
+ // discard synthesize event request as well. |
+ synthesize_mouse_move_ = false; |
+} |
+ |
RootWindowHostDelegate* RootWindow::AsRootWindowHostDelegate() { |
return this; |
} |