Index: content/child/child_client_native_pixmap_manager_message_filter_ozone.h |
diff --git a/content/child/child_client_native_pixmap_manager_message_filter_ozone.h b/content/child/child_client_native_pixmap_manager_message_filter_ozone.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ad627cce4d976fca80ab91a7809d09b48f27642b |
--- /dev/null |
+++ b/content/child/child_client_native_pixmap_manager_message_filter_ozone.h |
@@ -0,0 +1,31 @@ |
+// Copyright 2015 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_CHILD_CHILD_CLIENT_NATIVE_PIXMAP_MANAGER_MESSAGE_FILTER_OZONE_H_ |
+#define CONTENT_CHILD_CHILD_CLIENT_NATIVE_PIXMAP_MANAGER_MESSAGE_FILTER_OZONE_H_ |
+ |
+#include "base/file_descriptor_posix.h" |
+#include "ipc/message_filter.h" |
+ |
+namespace content { |
+ |
+// Receives database messages from the browser process and processes them on the |
+// IO thread. |
+class ChildClientNativePixmapManagerMessageFilter : public IPC::MessageFilter { |
+ public: |
+ ChildClientNativePixmapManagerMessageFilter(); |
+ ~ChildClientNativePixmapManagerMessageFilter() override; |
+ |
+ void OnSetVirtualDevice(const base::FileDescriptor& virtual_device); |
+ |
+ // IPC::MessageFilter |
+ bool OnMessageReceived(const IPC::Message& message) override; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(ChildClientNativePixmapManagerMessageFilter); |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_CHILD_CHILD_CLIENT_NATIVE_PIXMAP_MANAGER_MESSAGE_FILTER_OZONE_H_ |