| // Copyright 2014 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #include "services/native_viewport/ozone/app_delegate_ozone.h" |
| #include "services/native_viewport/app_delegate.h" |
| MojoResult MojoMain(MojoHandle application_request) { |
| mojo::ApplicationRunnerChromium runner( |
| new native_viewport::NativeViewportOzoneAppDelegate); |
| mojo::ApplicationRunnerChromium runner( |
| new native_viewport::NativeViewportAppDelegate); |
| runner.set_message_loop_type(base::MessageLoop::TYPE_UI); |
| return runner.Run(application_request); |