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

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

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/surface_factory_ozone.h ('k') | ui/gfx/ozone/surface_ozone.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/ozone/surface_factory_ozone.cc
diff --git a/ui/gfx/ozone/surface_factory_ozone.cc b/ui/gfx/ozone/surface_factory_ozone.cc
index 8690db468a24ef40f9d29125ab97a5b6f583833b..a678fa88ac83a1bcbd21a3ca910904479d3c74c1 100644
--- a/ui/gfx/ozone/surface_factory_ozone.cc
+++ b/ui/gfx/ozone/surface_factory_ozone.cc
@@ -7,7 +7,7 @@
#include <stdlib.h>
#include "base/command_line.h"
-#include "ui/gfx/vsync_provider.h"
+#include "ui/gfx/ozone/surface_ozone.h"
namespace gfx {
@@ -33,12 +33,10 @@ intptr_t SurfaceFactoryOzone::GetNativeDisplay() {
return 0;
}
-bool SurfaceFactoryOzone::SchedulePageFlip(gfx::AcceleratedWidget w) {
- return true;
-}
-
-SkCanvas* SurfaceFactoryOzone::GetCanvasForWidget(gfx::AcceleratedWidget w) {
- return NULL;
+scoped_ptr<SurfaceOzone> SurfaceFactoryOzone::CreateSurfaceForWidget(
+ gfx::AcceleratedWidget widget) {
+ NOTIMPLEMENTED();
+ return scoped_ptr<SurfaceOzone>();
}
const int32* SurfaceFactoryOzone::GetEGLSurfaceProperties(
« no previous file with comments | « ui/gfx/ozone/surface_factory_ozone.h ('k') | ui/gfx/ozone/surface_ozone.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698