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

Unified Diff: ui/aura/env.h

Issue 2803523002: Always create ClientNativePixmapFactory in chrome --mash (Closed)
Patch Set: rebased Created 3 years, 8 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
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | ui/aura/env.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/env.h
diff --git a/ui/aura/env.h b/ui/aura/env.h
index 0d4b6d17c1f54678badf97c272b22eae6f7abf6f..2d1ecf1f024e0b950aab0696255fe9fbc5e472e1 100644
--- a/ui/aura/env.h
+++ b/ui/aura/env.h
@@ -16,6 +16,14 @@
#include "ui/events/event_target.h"
#include "ui/gfx/geometry/point.h"
+#if defined(USE_OZONE)
+#include "ui/ozone/public/client_native_pixmap_factory_ozone.h"
+
+namespace gfx {
+class ClientNativePixmapFactory;
+}
+#endif
+
namespace ui {
class ContextFactory;
class ContextFactoryPrivate;
@@ -156,6 +164,12 @@ class AURA_EXPORT Env : public ui::EventTarget,
std::unique_ptr<InputStateLookup> input_state_lookup_;
std::unique_ptr<ui::PlatformEventSource> event_source_;
+#if defined(USE_OZONE)
+ // Factory for pixmaps that can use be transported from the client to the GPU
+ // process using a low-level ozone-provided platform specific mechanism.
+ std::unique_ptr<gfx::ClientNativePixmapFactory> native_pixmap_factory_;
+#endif
+
ui::ContextFactory* context_factory_;
ui::ContextFactoryPrivate* context_factory_private_;
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | ui/aura/env.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698