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

Unified Diff: base/message_loop/message_loop.cc

Issue 233653002: x11: Remove MessagePumpObserver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 8 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 | « base/message_loop/message_loop.h ('k') | base/message_loop/message_pump_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_loop/message_loop.cc
diff --git a/base/message_loop/message_loop.cc b/base/message_loop/message_loop.cc
index d4315c19f6b07f5499bb06f8090b0e563768dca1..ae602f081db6c509e532f79f6277092c41d6ee8c 100644
--- a/base/message_loop/message_loop.cc
+++ b/base/message_loop/message_loop.cc
@@ -669,8 +669,7 @@ void MessageLoopForUI::Attach() {
}
#endif
-#if !defined(OS_NACL) && (defined(TOOLKIT_GTK) || \
- defined(OS_WIN) || defined(USE_X11))
+#if !defined(OS_NACL) && defined(OS_WIN)
void MessageLoopForUI::AddObserver(Observer* observer) {
pump_ui()->AddObserver(observer);
}
@@ -678,7 +677,7 @@ void MessageLoopForUI::AddObserver(Observer* observer) {
void MessageLoopForUI::RemoveObserver(Observer* observer) {
pump_ui()->RemoveObserver(observer);
}
-#endif // !defined(OS_MACOSX) && !defined(OS_NACL) && !defined(OS_ANDROID)
+#endif // !defined(OS_NACL) && defined(OS_WIN)
#if defined(USE_OZONE)
bool MessageLoopForUI::WatchFileDescriptor(
« no previous file with comments | « base/message_loop/message_loop.h ('k') | base/message_loop/message_pump_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698