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

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

Issue 131493005: [Ozone] Removing Stub SFO implementation & CreateTestHelper from SFO (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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') | no next file » | 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 a99c3af8c9700ee17bed1f1b2fd710c799f45caf..97e28bf241f0c309d7ba1c8f774fb1089c489f31 100644
--- a/ui/gfx/ozone/surface_factory_ozone.cc
+++ b/ui/gfx/ozone/surface_factory_ozone.cc
@@ -14,34 +14,6 @@ namespace gfx {
// static
SurfaceFactoryOzone* SurfaceFactoryOzone::impl_ = NULL;
-class SurfaceFactoryOzoneStub : public SurfaceFactoryOzone {
- public:
- SurfaceFactoryOzoneStub() {}
- virtual ~SurfaceFactoryOzoneStub() {}
-
- virtual HardwareState InitializeHardware() OVERRIDE { return INITIALIZED; }
- virtual void ShutdownHardware() OVERRIDE {}
- virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE { return 0; }
- virtual gfx::AcceleratedWidget RealizeAcceleratedWidget(
- gfx::AcceleratedWidget w) OVERRIDE {
- return 0;
- }
- virtual bool LoadEGLGLES2Bindings(
- AddGLLibraryCallback add_gl_library,
- SetGLGetProcAddressProcCallback set_gl_get_proc_address) OVERRIDE {
- return true;
- }
- virtual bool AttemptToResizeAcceleratedWidget(
- gfx::AcceleratedWidget w,
- const gfx::Rect& bounds) OVERRIDE {
- return false;
- }
- virtual scoped_ptr<gfx::VSyncProvider> CreateVSyncProvider(
- gfx::AcceleratedWidget w) OVERRIDE {
- return scoped_ptr<VSyncProvider>();
- }
-};
-
SurfaceFactoryOzone::SurfaceFactoryOzone() {
}
@@ -85,9 +57,4 @@ const int32* SurfaceFactoryOzone::GetEGLSurfaceProperties(
return desired_attributes;
}
-// static
-SurfaceFactoryOzone* SurfaceFactoryOzone::CreateTestHelper() {
- return new SurfaceFactoryOzoneStub;
-}
-
} // namespace gfx
« no previous file with comments | « ui/gfx/ozone/surface_factory_ozone.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698