OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_CHILD_CHILD_CLIENT_NATIVE_PIXMAP_FACTORY_MESSAGE_FILTER_OZONE_H_ |
| 6 #define CONTENT_CHILD_CHILD_CLIENT_NATIVE_PIXMAP_FACTORY_MESSAGE_FILTER_OZONE_H_ |
| 7 |
| 8 #include "base/file_descriptor_posix.h" |
| 9 #include "ipc/message_filter.h" |
| 10 |
| 11 namespace content { |
| 12 |
| 13 // Receives database messages from the browser process and processes them on the |
| 14 // IO thread. |
| 15 class ChildClientNativePixmapFactoryMessageFilter : public IPC::MessageFilter { |
| 16 public: |
| 17 ChildClientNativePixmapFactoryMessageFilter(); |
| 18 ~ChildClientNativePixmapFactoryMessageFilter() override; |
| 19 |
| 20 void OnSetVirtualDevice(const base::FileDescriptor& virtual_device); |
| 21 |
| 22 // IPC::MessageFilter |
| 23 bool OnMessageReceived(const IPC::Message& message) override; |
| 24 |
| 25 private: |
| 26 DISALLOW_COPY_AND_ASSIGN(ChildClientNativePixmapFactoryMessageFilter); |
| 27 }; |
| 28 |
| 29 } // namespace content |
| 30 |
| 31 #endif // CONTENT_CHILD_CHILD_CLIENT_NATIVE_PIXMAP_FACTORY_MESSAGE_FILTER_OZONE
_H_ |
OLD | NEW |