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

Unified Diff: ui/ozone/platform/test/ozone_platform_test.cc

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/file_surface_factory.cc ('k') | ui/ozone/platform/test/test.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/test/ozone_platform_test.cc
diff --git a/ui/ozone/platform/test/ozone_platform_test.cc b/ui/ozone/platform/test/ozone_platform_test.cc
index d655fa706b955e399b2188f4a76fa5121260aa8a..b6339d69a3e56ad11fcce6226b19a333a05c5006 100644
--- a/ui/ozone/platform/test/ozone_platform_test.cc
+++ b/ui/ozone/platform/test/ozone_platform_test.cc
@@ -6,12 +6,12 @@
#include "base/command_line.h"
#include "base/files/file_path.h"
-#include "ui/base/cursor/ozone/cursor_factory_ozone.h"
#include "ui/events/ozone/device/device_manager.h"
#include "ui/events/ozone/evdev/event_factory_evdev.h"
-#include "ui/gfx/ozone/impl/file_surface_factory.h"
#include "ui/ozone/ozone_platform.h"
#include "ui/ozone/ozone_switches.h"
+#include "ui/ozone/platform/test/file_surface_factory.h"
+#include "ui/ozone/public/cursor_factory_ozone.h"
#if defined(OS_CHROMEOS)
#include "ui/ozone/common/chromeos/native_display_delegate_ozone.h"
@@ -31,7 +31,7 @@ class OzonePlatformTest : public OzonePlatform {
virtual ~OzonePlatformTest() {}
// OzonePlatform:
- virtual gfx::SurfaceFactoryOzone* GetSurfaceFactoryOzone() OVERRIDE {
+ virtual ui::SurfaceFactoryOzone* GetSurfaceFactoryOzone() OVERRIDE {
return surface_factory_ozone_.get();
}
virtual EventFactoryOzone* GetEventFactoryOzone() OVERRIDE {
@@ -55,7 +55,7 @@ class OzonePlatformTest : public OzonePlatform {
virtual void InitializeUI() OVERRIDE {
device_manager_ = CreateDeviceManager();
- surface_factory_ozone_.reset(new gfx::FileSurfaceFactory(file_path_));
+ surface_factory_ozone_.reset(new FileSurfaceFactory(file_path_));
event_factory_ozone_.reset(
new EventFactoryEvdev(NULL, device_manager_.get()));
cursor_factory_ozone_.reset(new CursorFactoryOzone());
@@ -65,7 +65,7 @@ class OzonePlatformTest : public OzonePlatform {
private:
scoped_ptr<DeviceManager> device_manager_;
- scoped_ptr<gfx::FileSurfaceFactory> surface_factory_ozone_;
+ scoped_ptr<FileSurfaceFactory> surface_factory_ozone_;
scoped_ptr<EventFactoryEvdev> event_factory_ozone_;
scoped_ptr<CursorFactoryOzone> cursor_factory_ozone_;
base::FilePath file_path_;
« no previous file with comments | « ui/ozone/platform/test/file_surface_factory.cc ('k') | ui/ozone/platform/test/test.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698