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

Unified Diff: trunk/src/ui/aura/window_tree_host.h

Issue 205313002: Revert 258077 "Remove PrepareForShutdown" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 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 | « trunk/src/ui/aura/window_event_dispatcher.cc ('k') | trunk/src/ui/aura/window_tree_host_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ui/aura/window_tree_host.h
===================================================================
--- trunk/src/ui/aura/window_tree_host.h (revision 258102)
+++ trunk/src/ui/aura/window_tree_host.h (working copy)
@@ -163,6 +163,9 @@
// Called when the device scale factor of the root window has chagned.
virtual void OnDeviceScaleFactorChanged(float device_scale_factor) = 0;
+ // Stop listening events in preparation for shutdown.
+ virtual void PrepareForShutdown() = 0;
+
protected:
friend class TestScreen; // TODO(beng): see if we can remove/consolidate.
« no previous file with comments | « trunk/src/ui/aura/window_event_dispatcher.cc ('k') | trunk/src/ui/aura/window_tree_host_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698