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

Unified Diff: base/message_pump_observer.h

Issue 8566037: aura: Fix unit_tests on linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 1 month 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 | « no previous file | base/message_pump_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_pump_observer.h
diff --git a/base/message_pump_observer.h b/base/message_pump_observer.h
index efcdebfe1a2b3ecebcfbedb2379f96cec47c5ddd..42f201f346e4ea1c115ba6e5fbb25056c01244b7 100644
--- a/base/message_pump_observer.h
+++ b/base/message_pump_observer.h
@@ -38,6 +38,9 @@ class BASE_EXPORT MessagePumpObserver {
// will not be called if WillProcessEvent returns EVENT_HANDLED.
virtual void DidProcessEvent(const NativeEvent& event) = 0;
+ // This method is called just before the message pump is destroyed.
+ virtual void OnMessagePumpDestroying() {}
darin (slow to review) 2011/11/30 06:30:31 nit: I think a better name would be WillDestroyMes
+
protected:
virtual ~MessagePumpObserver() {}
};
« no previous file with comments | « no previous file | base/message_pump_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698