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

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

Issue 2190353003: Delete old Ozone surface creation API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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/surface_factory_ozone.h ('k') | ui/ozone/public/surface_ozone_egl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/public/surface_factory_ozone.cc
diff --git a/ui/ozone/public/surface_factory_ozone.cc b/ui/ozone/public/surface_factory_ozone.cc
index 76050437e0a463907268c56a365a3fb14e58f103..55e3be925c7f90f2be314e810cd41d104f9feaa4 100644
--- a/ui/ozone/public/surface_factory_ozone.cc
+++ b/ui/ozone/public/surface_factory_ozone.cc
@@ -9,24 +9,17 @@
#include "base/command_line.h"
#include "ui/ozone/public/native_pixmap.h"
#include "ui/ozone/public/surface_ozone_canvas.h"
-#include "ui/ozone/public/surface_ozone_egl.h"
namespace ui {
-SurfaceFactoryOzone::SurfaceFactoryOzone() {
-}
+SurfaceFactoryOzone::SurfaceFactoryOzone() {}
-SurfaceFactoryOzone::~SurfaceFactoryOzone() {
-}
+SurfaceFactoryOzone::~SurfaceFactoryOzone() {}
intptr_t SurfaceFactoryOzone::GetNativeDisplay() {
return 0;
}
-bool SurfaceFactoryOzone::UseNewSurfaceAPI() {
- return true;
-}
-
scoped_refptr<gl::GLSurface> SurfaceFactoryOzone::CreateViewGLSurface(
gl::GLImplementation implementation,
gfx::AcceleratedWidget widget) {
@@ -46,17 +39,6 @@ scoped_refptr<gl::GLSurface> SurfaceFactoryOzone::CreateOffscreenGLSurface(
return nullptr;
}
-std::unique_ptr<SurfaceOzoneEGL> SurfaceFactoryOzone::CreateEGLSurfaceForWidget(
- gfx::AcceleratedWidget widget) {
- return nullptr;
-}
-
-std::unique_ptr<SurfaceOzoneEGL>
-SurfaceFactoryOzone::CreateSurfacelessEGLSurfaceForWidget(
- gfx::AcceleratedWidget widget) {
- return nullptr;
-}
-
std::unique_ptr<SurfaceOzoneCanvas> SurfaceFactoryOzone::CreateCanvasForWidget(
gfx::AcceleratedWidget widget) {
return nullptr;
« no previous file with comments | « ui/ozone/public/surface_factory_ozone.h ('k') | ui/ozone/public/surface_ozone_egl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698