Index: base/message_loop/message_pump_win.cc |
diff --git a/base/message_loop/message_pump_win.cc b/base/message_loop/message_pump_win.cc |
index ae022bf0957f48be47ad16c77b0f0d99693add21..ad422260364db3f31f4c114eeb5511c27cc10579 100644 |
--- a/base/message_loop/message_pump_win.cc |
+++ b/base/message_loop/message_pump_win.cc |
@@ -35,22 +35,6 @@ static const int kMsgHaveWork = WM_USER + 1; |
//----------------------------------------------------------------------------- |
// MessagePumpWin public: |
-void MessagePumpWin::AddObserver(MessagePumpObserver* observer) { |
- observers_.AddObserver(observer); |
-} |
- |
-void MessagePumpWin::RemoveObserver(MessagePumpObserver* observer) { |
- observers_.RemoveObserver(observer); |
-} |
- |
-void MessagePumpWin::WillProcessMessage(const MSG& msg) { |
- FOR_EACH_OBSERVER(MessagePumpObserver, observers_, WillProcessEvent(msg)); |
-} |
- |
-void MessagePumpWin::DidProcessMessage(const MSG& msg) { |
- FOR_EACH_OBSERVER(MessagePumpObserver, observers_, DidProcessEvent(msg)); |
-} |
- |
void MessagePumpWin::RunWithDispatcher( |
Delegate* delegate, MessagePumpDispatcher* dispatcher) { |
RunState s; |
@@ -369,8 +353,6 @@ bool MessagePumpForUI::ProcessMessageHelper(const MSG& msg) { |
if (CallMsgFilter(const_cast<MSG*>(&msg), kMessageFilterCode)) |
return true; |
- WillProcessMessage(msg); |
- |
uint32_t action = MessagePumpDispatcher::POST_DISPATCH_PERFORM_DEFAULT; |
if (state_->dispatcher) |
action = state_->dispatcher->Dispatch(msg); |
@@ -381,7 +363,6 @@ bool MessagePumpForUI::ProcessMessageHelper(const MSG& msg) { |
DispatchMessage(&msg); |
} |
- DidProcessMessage(msg); |
return true; |
} |