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

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

Issue 281073002: NOT FOR REVIEW: Adding prioritized incoming task queue to renderers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Prioritize input events Created 6 years, 7 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/content_renderer.gypi ('k') | content/renderer/input/input_event_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/input/input_event_filter.h
diff --git a/content/renderer/input/input_event_filter.h b/content/renderer/input/input_event_filter.h
index 88a8518d9493293aff797a9576b49e465c4aad2e..0f1146ff473d84f143bac30d4b7e408150e1864d 100644
--- a/content/renderer/input/input_event_filter.h
+++ b/content/renderer/input/input_event_filter.h
@@ -17,6 +17,7 @@
#include "third_party/WebKit/public/web/WebInputEvent.h"
namespace base {
+class HighPriorityTaskRunner;
class MessageLoopProxy;
}
@@ -65,6 +66,9 @@ class CONTENT_EXPORT InputEventFilter : public InputHandlerManagerClient,
virtual void OnChannelClosing() OVERRIDE;
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
+ void SetHighPriorityTaskRunner(
+ scoped_refptr<base::HighPriorityTaskRunner> high_priority_task_runner);
+
private:
virtual ~InputEventFilter();
@@ -96,6 +100,8 @@ class CONTENT_EXPORT InputEventFilter : public InputHandlerManagerClient,
// Specifies whether overscroll notifications are forwarded to the host.
bool overscroll_notifications_enabled_;
+
+ scoped_refptr<base::HighPriorityTaskRunner> high_priority_task_runner_;
};
} // namespace content
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/input/input_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698