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

Unified Diff: ui/ozone/public/ozone_platform.h

Issue 1128113011: ozone: Introduce ClientPixmap and ClientPixmapFactory for non-GPU processes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NativePixmapManager is singleton 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/ozone_platform.h
diff --git a/ui/ozone/public/ozone_platform.h b/ui/ozone/public/ozone_platform.h
index 590104b8428a8145afcb8c0f8da5a4a2e95ed591..0e8fb33b29751546eed58bae1e73014d83421ce4 100644
--- a/ui/ozone/public/ozone_platform.h
+++ b/ui/ozone/public/ozone_platform.h
@@ -8,6 +8,10 @@
#include "base/memory/scoped_ptr.h"
#include "ui/ozone/ozone_export.h"
+namespace base {
+struct FileDescriptor;
+}
+
namespace gfx {
class Rect;
}
@@ -68,6 +72,8 @@ class OZONE_EXPORT OzonePlatform {
const gfx::Rect& bounds) = 0;
virtual scoped_ptr<ui::NativeDisplayDelegate>
CreateNativeDisplayDelegate() = 0;
+ // Return virtual device FD which Renderer uses to manage a native surface.
+ virtual base::FileDescriptor GetVirtualDeviceFd() = 0;
private:
virtual void InitializeUI() = 0;

Powered by Google App Engine
This is Rietveld 408576698