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

Unified Diff: content/renderer/input/input_event_filter.cc

Issue 324143002: Decouple IPC::MessageFilter from IPC::Channel (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing compilation errors Created 6 years, 6 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
Index: content/renderer/input/input_event_filter.cc
diff --git a/content/renderer/input/input_event_filter.cc b/content/renderer/input/input_event_filter.cc
index 06d07a9ba17f3b40e45b10283d209a98855a6402..d9153a47c81b3c96eb05715dc3e248daf4ac2f90 100644
--- a/content/renderer/input/input_event_filter.cc
+++ b/content/renderer/input/input_event_filter.cc
@@ -16,8 +16,8 @@
#include "content/common/input_messages.h"
#include "content/common/view_messages.h"
#include "content/public/common/content_switches.h"
-#include "ipc/ipc_channel.h"
#include "ipc/ipc_listener.h"
+#include "ipc/ipc_sender.h"
#include "ui/gfx/vector2d_f.h"
using blink::WebInputEvent;
@@ -89,16 +89,16 @@ void InputEventFilter::DidStopFlinging(int routing_id) {
scoped_ptr<IPC::Message>(new ViewHostMsg_DidStopFlinging(routing_id)));
}
-void InputEventFilter::OnFilterAdded(IPC::Channel* channel) {
+void InputEventFilter::OnFilterAdded(IPC::Sender* sender) {
io_loop_ = base::MessageLoopProxy::current();
- sender_ = channel;
+ sender_ = sender;
}
void InputEventFilter::OnFilterRemoved() {
sender_ = NULL;
}
-void InputEventFilter::OnChannelClosing() {
+void InputEventFilter::OnSenderClosing() {
sender_ = NULL;
}

Powered by Google App Engine
This is Rietveld 408576698