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

Unified Diff: content/renderer/gpu/input_event_filter.h

Issue 14487003: Add a new pair of IPC categories for messages that need handling as input events (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addresses feedback Created 7 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 | « content/public/test/render_view_test.cc ('k') | content/renderer/gpu/input_event_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/input_event_filter.h
diff --git a/content/renderer/gpu/input_event_filter.h b/content/renderer/gpu/input_event_filter.h
index 855e844a03a33fd6fc290abd773e0bdb7eff2502..9e9481936f2d801c444b9e28c63b6ae68df28973 100644
--- a/content/renderer/gpu/input_event_filter.h
+++ b/content/renderer/gpu/input_event_filter.h
@@ -15,7 +15,7 @@
#include "ipc/ipc_channel_proxy.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
-// This class can be used to intercept ViewMsg_HandleInputEvent messages
+// This class can be used to intercept InputMsg_HandleInputEvent messages
// and have them be delivered to a target thread. Input events are filtered
// based on routing_id (see AddRoute and RemoveRoute).
//
@@ -38,11 +38,12 @@ class CONTENT_EXPORT InputEventFilter
// must be called on the target thread.
//
// If DidNotHandleInputEvent is called with send_to_widget set to true, then
- // the original ViewMsg_HandleInputEvent message will be delivered to
+ // the original InputMsg_HandleInputEvent message will be delivered to
// |main_listener| on the main thread. (The "main thread" in this context is
// the thread where the InputEventFilter was constructed.) If send_to_widget
- // is true, then a ViewHostMsg_HandleInputEvent_ACK will not be generated,
- // leaving that responsibility up to the eventual handler on the main thread.
+ // is true, then a InputHostMsg_HandleInputEvent_ACK will not be
+ // generated, leaving that responsibility up to the eventual handler on the
+ // main thread.
//
InputEventFilter(IPC::Listener* main_listener,
const scoped_refptr<base::MessageLoopProxy>& target_loop,
@@ -62,7 +63,7 @@ class CONTENT_EXPORT InputEventFilter
virtual void OnChannelClosing() OVERRIDE;
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
- // Expects a ViewMsg_HandleInputEvent message.
+ // Expects a InputMsg_HandleInputEvent message.
static const WebKit::WebInputEvent* CrackMessage(const IPC::Message& message);
private:
« no previous file with comments | « content/public/test/render_view_test.cc ('k') | content/renderer/gpu/input_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698