display_configurator_ozone.cc revision a02191e04bc25c4935f804f2c080ae28663d096d
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
11namespace ui {
12
13void DisplayConfigurator::PlatformInitialize() {
14  InitializeDelegates(
15      ui::OzonePlatform::GetInstance()->CreateNativeDisplayDelegate(),
16      scoped_ptr<TouchscreenDelegate>(new TouchscreenDelegateOzone()));
17}
18
19}  // namespace ui
20