Chromium Code Reviews

Side by Side Diff: content/child/child_native_pixmap_manager_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: rebase to lastest crrev.com/1128113011 Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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_NATIVE_PIXMAP_MANAGER_OZONE_H_
6 #define CONTENT_CHILD_CHILD_NATIVE_PIXMAP_MANAGER_OZONE_H_
7
8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "content/child/thread_safe_sender.h"
11 #include "ui/ozone/public/native_pixmap_manager.h"
12
13 namespace content {
14
15 class ChildNativePixmapManager : public ui::NativePixmapManager {
16 public:
17 static void CreateSingleton(ThreadSafeSender* sender);
18 ~ChildNativePixmapManager() override;
19
20 // ui::NativePixmapManager:
21 void Initialize(const base::FileDescriptor& device_fd) override;
22 std::vector<Configuration> GetSupportedNativePixmapConfigurations()
23 const override;
24
25 private:
26 ChildNativePixmapManager();
27
28 scoped_ptr<ui::NativePixmapManager> pixmap_manager_;
29
30 DISALLOW_COPY_AND_ASSIGN(ChildNativePixmapManager);
31 };
32
33 } // namespace content
34
35 #endif // CONTENT_CHILD_CHILD_NATIVE_PIXMAP_MANAGER_OZONE_H_
OLDNEW
« no previous file with comments | « content/child/child_gpu_memory_buffer_manager.cc ('k') | content/child/child_native_pixmap_manager_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine