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

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

Issue 2768343002: Change namespace from ui to gfx for NativePixmap related code (Closed)
Patch Set: Addressed sadrul's remark Created 3 years, 9 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 | « ui/ozone/public/client_native_pixmap_factory_ozone.cc ('k') | ui/ozone/public/surface_factory_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/public/surface_factory_ozone.h
diff --git a/ui/ozone/public/surface_factory_ozone.h b/ui/ozone/public/surface_factory_ozone.h
index 7f1520d4983ab6a7a10623c0130cf05a58d9432b..6e7726a660cd7ae319132e455f51f51883df75f6 100644
--- a/ui/ozone/public/surface_factory_ozone.h
+++ b/ui/ozone/public/surface_factory_ozone.h
@@ -23,9 +23,12 @@
#include "ui/ozone/ozone_base_export.h"
#include "ui/ozone/public/gl_ozone.h"
+namespace gfx {
+class NativePixmap;
+}
+
namespace ui {
-class NativePixmap;
class SurfaceOzoneCanvas;
// The Ozone interface allows external implementations to hook into Chromium to
@@ -82,7 +85,7 @@ class OZONE_BASE_EXPORT SurfaceFactoryOzone {
// for |widget| representing a particular display controller or default
// display controller for kNullAcceleratedWidget.
// It can be called on any thread.
- virtual scoped_refptr<NativePixmap> CreateNativePixmap(
+ virtual scoped_refptr<gfx::NativePixmap> CreateNativePixmap(
gfx::AcceleratedWidget widget,
gfx::Size size,
gfx::BufferFormat format,
@@ -90,7 +93,7 @@ class OZONE_BASE_EXPORT SurfaceFactoryOzone {
// Create a single native buffer from an existing handle. Takes ownership of
// |handle| and can be called on any thread.
- virtual scoped_refptr<NativePixmap> CreateNativePixmapFromHandle(
+ virtual scoped_refptr<gfx::NativePixmap> CreateNativePixmapFromHandle(
gfx::AcceleratedWidget widget,
gfx::Size size,
gfx::BufferFormat format,
« no previous file with comments | « ui/ozone/public/client_native_pixmap_factory_ozone.cc ('k') | ui/ozone/public/surface_factory_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698