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

Unified Diff: ui/ozone/public/surface_ozone_egl.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/public/surface_ozone_canvas.h ('k') | ui/ui_unittests.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/public/surface_ozone_egl.h
diff --git a/ui/gfx/ozone/surface_ozone_egl.h b/ui/ozone/public/surface_ozone_egl.h
similarity index 84%
rename from ui/gfx/ozone/surface_ozone_egl.h
rename to ui/ozone/public/surface_ozone_egl.h
index 97c076e80f0269c73d45dee23fb70b3523d9e58a..fa7e43a3ef1ec86ccb1aad0524ab5ff5eb58a8f6 100644
--- a/ui/gfx/ozone/surface_ozone_egl.h
+++ b/ui/ozone/public/surface_ozone_egl.h
@@ -2,23 +2,25 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_GFX_OZONE_SURFACE_OZONE_EGL_H_
-#define UI_GFX_OZONE_SURFACE_OZONE_EGL_H_
+#ifndef UI_OZONE_PUBLIC_SURFACE_OZONE_EGL_H_
+#define UI_OZONE_PUBLIC_SURFACE_OZONE_EGL_H_
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
-#include "ui/gfx/gfx_export.h"
+#include "ui/ozone/ozone_base_export.h"
namespace gfx {
-
class Size;
class VSyncProvider;
+}
+
+namespace ui {
// The platform-specific part of an EGL surface.
//
// This class owns any bits that the ozone implementation needs freed when
// the EGL surface is destroyed.
-class GFX_EXPORT SurfaceOzoneEGL {
+class OZONE_BASE_EXPORT SurfaceOzoneEGL {
public:
virtual ~SurfaceOzoneEGL() {}
@@ -42,6 +44,6 @@ class GFX_EXPORT SurfaceOzoneEGL {
virtual scoped_ptr<gfx::VSyncProvider> CreateVSyncProvider() = 0;
};
-} // namespace gfx
+} // namespace ui
-#endif // UI_GFX_OZONE_SURFACE_OZONE_EGL_H_
+#endif // UI_OZONE_PUBLIC_SURFACE_OZONE_EGL_H_
« no previous file with comments | « ui/ozone/public/surface_ozone_canvas.h ('k') | ui/ui_unittests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698