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

Unified Diff: ui/ozone/public/client_native_pixmap_manager.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 latest crrev.com/1128113011 Created 5 years, 5 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: ui/ozone/public/client_native_pixmap_manager.h
diff --git a/ui/ozone/public/client_native_pixmap_manager.h b/ui/ozone/public/client_native_pixmap_manager.h
index ba77745bf2035a5123b381d6ced983148595eefd..419d8d58a886bfb2fff6cbf3b5198dffb0f5b33c 100644
--- a/ui/ozone/public/client_native_pixmap_manager.h
+++ b/ui/ozone/public/client_native_pixmap_manager.h
@@ -28,7 +28,8 @@ class OZONE_EXPORT ClientNativePixmapManager {
static ClientNativePixmapManager* GetInstance();
static void SetInstance(ClientNativePixmapManager* instance);
- static scoped_ptr<ClientNativePixmapManager> Create();
+ static scoped_ptr<ClientNativePixmapManager> Create(
+ const base::FileDescriptor& virtual_device);
virtual ~ClientNativePixmapManager();
@@ -51,6 +52,8 @@ class OZONE_EXPORT ClientNativePixmapManager {
protected:
ClientNativePixmapManager();
+ virtual void Initialize(const base::FileDescriptor& virtual_device) = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(ClientNativePixmapManager);
};

Powered by Google App Engine
This is Rietveld 408576698