This source file includes following definitions.
- event_factory_ozone_
- GetSurfaceFactoryOzone
- GetEventFactoryOzone
- GetInputMethodContextFactoryOzone
- GetCursorFactoryOzone
- CreateOzonePlatformDri
#include "ui/ozone/platform/dri/ozone_platform_dri.h"
#include "ui/events/ozone/evdev/cursor_delegate_evdev.h"
#include "ui/ozone/ozone_platform.h"
namespace ui {
OzonePlatformDri::OzonePlatformDri()
: cursor_factory_ozone_(&surface_factory_ozone_),
event_factory_ozone_(&cursor_factory_ozone_) {}
OzonePlatformDri::~OzonePlatformDri() {}
gfx::SurfaceFactoryOzone* OzonePlatformDri::GetSurfaceFactoryOzone() {
return &surface_factory_ozone_;
}
ui::EventFactoryOzone* OzonePlatformDri::GetEventFactoryOzone() {
return &event_factory_ozone_;
}
ui::InputMethodContextFactoryOzone*
OzonePlatformDri::GetInputMethodContextFactoryOzone() {
return &input_method_context_factory_ozone_;
}
ui::CursorFactoryOzone* OzonePlatformDri::GetCursorFactoryOzone() {
return &cursor_factory_ozone_;
}
OzonePlatform* CreateOzonePlatformDri() { return new OzonePlatformDri; }
}