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

Unified Diff: ui/ozone/platform/test/file_surface_factory.h

Issue 312393002: ozone: Move the factory interfaces into a common target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge-r278697 Created 6 years, 6 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/platform/test/DEPS ('k') | ui/ozone/platform/test/file_surface_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/test/file_surface_factory.h
diff --git a/ui/gfx/ozone/impl/file_surface_factory.h b/ui/ozone/platform/test/file_surface_factory.h
similarity index 68%
rename from ui/gfx/ozone/impl/file_surface_factory.h
rename to ui/ozone/platform/test/file_surface_factory.h
index 08c2b901042334fa01afd5eefab52a8908be10fd..54ab1046e266e2dfd3197fbea3d5b02065ca52aa 100644
--- a/ui/gfx/ozone/impl/file_surface_factory.h
+++ b/ui/ozone/platform/test/file_surface_factory.h
@@ -2,17 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_GFX_OZONE_IMPL_FILE_SURFACE_FACTORY_H_
-#define UI_GFX_OZONE_IMPL_FILE_SURFACE_FACTORY_H_
+#ifndef UI_OZONE_PLATFORM_TEST_FILE_SURFACE_FACTORY_H_
+#define UI_OZONE_PLATFORM_TEST_FILE_SURFACE_FACTORY_H_
#include "base/files/file_path.h"
#include "base/memory/scoped_ptr.h"
#include "ui/gfx/native_widget_types.h"
-#include "ui/gfx/ozone/surface_factory_ozone.h"
+#include "ui/ozone/public/surface_factory_ozone.h"
-namespace gfx {
+namespace ui {
-class GFX_EXPORT FileSurfaceFactory : public SurfaceFactoryOzone {
+class OZONE_BASE_EXPORT FileSurfaceFactory : public SurfaceFactoryOzone {
public:
explicit FileSurfaceFactory(const base::FilePath& dump_location);
virtual ~FileSurfaceFactory();
@@ -21,7 +21,7 @@ class GFX_EXPORT FileSurfaceFactory : public SurfaceFactoryOzone {
// SurfaceFactoryOzone:
virtual HardwareState InitializeHardware() OVERRIDE;
virtual void ShutdownHardware() OVERRIDE;
- virtual AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
+ virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
virtual scoped_ptr<SurfaceOzoneCanvas> CreateCanvasForWidget(
gfx::AcceleratedWidget w) OVERRIDE;
virtual bool LoadEGLGLES2Bindings(
@@ -33,6 +33,6 @@ class GFX_EXPORT FileSurfaceFactory : public SurfaceFactoryOzone {
DISALLOW_COPY_AND_ASSIGN(FileSurfaceFactory);
};
-} // namespace gfx
+} // namespace ui
-#endif // UI_GFX_OZONE_IMPL_FILE_SURFACE_FACTORY_H_
+#endif // UI_OZONE_PLATFORM_TEST_FILE_SURFACE_FACTORY_H_
« no previous file with comments | « ui/ozone/platform/test/DEPS ('k') | ui/ozone/platform/test/file_surface_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698