Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Unified Diff: ui/aura/root_window.cc

Issue 10909043: Cancel drag if display configuration changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/root_window.h ('k') | ui/aura/root_window_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window.cc
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc
index 3d0981f5bcb36cc8d92388b9564351a6525ab6ba..7662cfeef1e88031c1a79fdcd00c46b26434b300 100644
--- a/ui/aura/root_window.cc
+++ b/ui/aura/root_window.cc
@@ -201,6 +201,12 @@ void RootWindow::HideRootWindow() {
host_->Hide();
}
+void RootWindow::PrepareForShutdown() {
+ host_->PrepareForShutdown();
+ // discard synthesize event request as well.
+ synthesize_mouse_move_ = false;
+}
+
RootWindowHostDelegate* RootWindow::AsRootWindowHostDelegate() {
return this;
}
« no previous file with comments | « ui/aura/root_window.h ('k') | ui/aura/root_window_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698