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

Unified Diff: ui/ozone/ozone_platform.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/ozone_base_export.h ('k') | ui/ozone/platform/caca/caca_event_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/ozone_platform.h
diff --git a/ui/ozone/ozone_platform.h b/ui/ozone/ozone_platform.h
index e6e2e0e610f13f3bf8c7498f70cad04ba5c28248..7a8c6c473951db54433870a1fef0af0727869967 100644
--- a/ui/ozone/ozone_platform.h
+++ b/ui/ozone/ozone_platform.h
@@ -8,15 +8,12 @@
#include "base/memory/scoped_ptr.h"
#include "ui/ozone/ozone_export.h"
-namespace gfx {
-class SurfaceFactoryOzone;
-}
-
namespace ui {
class CursorFactoryOzone;
class EventFactoryOzone;
class NativeDisplayDelegate;
+class SurfaceFactoryOzone;
class TouchscreenDeviceManager;
// Base class for Ozone platform implementations.
@@ -50,7 +47,7 @@ class OZONE_EXPORT OzonePlatform {
// Factory getters to override in subclasses. The returned objects will be
// injected into the appropriate layer at startup. Subclasses should not
// inject these objects themselves. Ownership is retained by OzonePlatform.
- virtual gfx::SurfaceFactoryOzone* GetSurfaceFactoryOzone() = 0;
+ virtual ui::SurfaceFactoryOzone* GetSurfaceFactoryOzone() = 0;
virtual ui::EventFactoryOzone* GetEventFactoryOzone() = 0;
virtual ui::CursorFactoryOzone* GetCursorFactoryOzone() = 0;
#if defined(OS_CHROMEOS)
« no previous file with comments | « ui/ozone/ozone_base_export.h ('k') | ui/ozone/platform/caca/caca_event_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698