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

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

Issue 619843002: cc: Make separate interface for BeginFrame ipc from OutputSurface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/gpu/compositor_ipc_message_filter.h
diff --git a/content/renderer/gpu/compositor_ipc_message_filter.h b/content/renderer/gpu/compositor_ipc_message_filter.h
new file mode 100644
index 0000000000000000000000000000000000000000..ecbc0f6989df8a6a1bfe781699a9adf04ac5667f
--- /dev/null
+++ b/content/renderer/gpu/compositor_ipc_message_filter.h
@@ -0,0 +1,25 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_RENDERER_GPU_COMPOSITOR_IPC_MESSAGE_FILTER_
+#define CONTENT_RENDERER_GPU_COMPOSITOR_IPC_MESSAGE_FILTER_
+
+namespace base {
+class TaskRunner;
+}
+
+namespace IPC {
+class ForwardingMessageFilter;
+}
+
+namespace content {
+
+// Create all ipc message filters used by compositor.
+// TODO(simonhong): Unify all filters used by compositor into this one.
+IPC::ForwardingMessageFilter* CreateCompositorIPCMessageFilter(
+ base::TaskRunner* target_task_runner);
+
+} // namespace content
+
+#endif // CONTENT_RENDERER_GPU_COMPOSITOR_IPC_MESSAGE_FILTER_

Powered by Google App Engine
This is Rietveld 408576698