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

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: remove Synthetic tests that were added for NWViews 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') | ui/aura/desktop_host_linux.cc » ('J')
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..006ea2a967e1f353751cbb6b5acfd430cace5d94 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 DestroyMessagePump() {}
oshima 2011/11/29 21:08:11 OnMessagePumpDestroying. how much work do we need
sadrul 2011/11/29 21:21:33 Renamed. To make it pure virtual: I am not sure h
oshima 2011/11/30 00:04:16 That's true if Observer interface is broad (like W
+
protected:
virtual ~MessagePumpObserver() {}
};
« no previous file with comments | « no previous file | base/message_pump_win.h » ('j') | ui/aura/desktop_host_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698