Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / ui / display / chromeos / ozone / display_configurator_ozone.cc
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ui/display/chromeos/display_configurator.h"
6
7 #include "ui/display/chromeos/ozone/touchscreen_delegate_ozone.h"
8 #include "ui/display/types/chromeos/native_display_delegate.h"
9 #include "ui/ozone/ozone_platform.h"
10
11 namespace ui {
12
13 void DisplayConfigurator::PlatformInitialize() {
14   InitializeDelegates(
15       ui::OzonePlatform::GetInstance()->CreateNativeDisplayDelegate(),
16       scoped_ptr<TouchscreenDelegate>(new TouchscreenDelegateOzone()));
17 }
18
19 }  // namespace ui