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

Unified Diff: ui/gfx/ozone/impl/file_surface_factory.h

Issue 205433002: ozone: Add OzoneSurface object that is owned by compositor, GLSurface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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/gfx/ozone/dri/dri_surface_factory_unittest.cc ('k') | ui/gfx/ozone/impl/file_surface_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/ozone/impl/file_surface_factory.h
diff --git a/ui/gfx/ozone/impl/file_surface_factory.h b/ui/gfx/ozone/impl/file_surface_factory.h
index b3b2cc03549ad83a0e09aad2b862e5b3273ba639..11f937cb7acf19c72b234d8cc28d87825a963867 100644
--- a/ui/gfx/ozone/impl/file_surface_factory.h
+++ b/ui/gfx/ozone/impl/file_surface_factory.h
@@ -9,7 +9,6 @@
#include "base/memory/scoped_ptr.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/ozone/surface_factory_ozone.h"
-#include "ui/gfx/skia_util.h"
class SkBitmapDevice;
class SkCanvas;
@@ -26,21 +25,13 @@ class GFX_EXPORT FileSurfaceFactory : public SurfaceFactoryOzone {
virtual HardwareState InitializeHardware() OVERRIDE;
virtual void ShutdownHardware() OVERRIDE;
virtual AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
- virtual AcceleratedWidget RealizeAcceleratedWidget(
+ virtual scoped_ptr<SurfaceOzone> CreateSurfaceForWidget(
AcceleratedWidget widget) OVERRIDE;
virtual bool LoadEGLGLES2Bindings(
AddGLLibraryCallback add_gl_library,
SetGLGetProcAddressProcCallback set_gl_get_proc_address) OVERRIDE;
- virtual bool AttemptToResizeAcceleratedWidget(AcceleratedWidget widget,
- const Rect& bounds) OVERRIDE;
- virtual bool SchedulePageFlip(AcceleratedWidget widget) OVERRIDE;
- virtual SkCanvas* GetCanvasForWidget(AcceleratedWidget widget) OVERRIDE;
- virtual scoped_ptr<VSyncProvider> CreateVSyncProvider(
- AcceleratedWidget widget) OVERRIDE;
base::FilePath location_;
- skia::RefPtr<SkBitmapDevice> device_;
- skia::RefPtr<SkCanvas> canvas_;
DISALLOW_COPY_AND_ASSIGN(FileSurfaceFactory);
};
« no previous file with comments | « ui/gfx/ozone/dri/dri_surface_factory_unittest.cc ('k') | ui/gfx/ozone/impl/file_surface_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698