| Index: ui/display/chromeos/ozone/display_configurator_ozone.cc
|
| diff --git a/ui/display/chromeos/ozone/display_configurator_ozone.cc b/ui/display/chromeos/ozone/display_configurator_ozone.cc
|
| index 0a8528ffe5a79ef937163aacc646d4c5531e92bc..5f4bb8e1138399dd6ed50b01991e6be28c2186de 100644
|
| --- a/ui/display/chromeos/ozone/display_configurator_ozone.cc
|
| +++ b/ui/display/chromeos/ozone/display_configurator_ozone.cc
|
| @@ -11,11 +11,15 @@
|
|
|
| namespace ui {
|
|
|
| -void DisplayConfigurator::PlatformInitialize() {
|
| - InitializeDelegates(
|
| - ui::OzonePlatform::GetInstance()->CreateNativeDisplayDelegate(),
|
| - scoped_ptr<TouchscreenDelegate>(new TouchscreenDelegateImpl(
|
| - ui::OzonePlatform::GetInstance()->CreateTouchscreenDeviceManager())));
|
| +scoped_ptr<NativeDisplayDelegate>
|
| +DisplayConfigurator::CreatePlatformNativeDisplayDelegate() {
|
| + return ui::OzonePlatform::GetInstance()->CreateNativeDisplayDelegate();
|
| +}
|
| +
|
| +scoped_ptr<DisplayConfigurator::TouchscreenDelegate>
|
| +DisplayConfigurator::CreatePlatformTouchscreenDelegate() {
|
| + return scoped_ptr<TouchscreenDelegate>(new TouchscreenDelegateImpl(
|
| + ui::OzonePlatform::GetInstance()->CreateTouchscreenDeviceManager()));
|
| }
|
|
|
| } // namespace ui
|
|
|