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

Side by Side Diff: content/child/child_client_native_pixmap_factory_message_filter_ozone.h

Issue 1248713002: ozone: ClientPixmapManager passes VGEM fd from browser to renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename to ClientNativePixmapFactory Created 5 years, 4 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698