| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef SERVICES_NATIVE_VIEWPORT_APP_DELEGATE_OZONE_H_ | 5 #ifndef SERVICES_NATIVE_VIEWPORT_APP_DELEGATE_OZONE_H_ |
| 6 #define SERVICES_NATIVE_VIEWPORT_APP_DELEGATE_OZONE_H_ | 6 #define SERVICES_NATIVE_VIEWPORT_APP_DELEGATE_OZONE_H_ |
| 7 | 7 |
| 8 #include "services/native_viewport/app_delegate.h" | 8 #include "services/native_viewport/app_delegate.h" |
| 9 #include "services/native_viewport/ozone/display_manager.h" | 9 #include "services/native_viewport/ozone/display_manager.h" |
| 10 | 10 |
| 11 namespace native_viewport { | 11 namespace native_viewport { |
| 12 | 12 |
| 13 class NativeViewportOzoneAppDelegate : public NativeViewportAppDelegate { | 13 class NativeViewportOzoneAppDelegate : public NativeViewportAppDelegate { |
| 14 public: | 14 public: |
| 15 using NativeViewportAppDelegate::Create; | 15 using NativeViewportAppDelegate::Create; |
| 16 | 16 |
| 17 void Initialize(mojo::ApplicationImpl* application) override; | 17 void Initialize(mojo::ApplicationImpl* application) override; |
| 18 bool ConfigureIncomingConnection(ApplicationConnection* connection) override; | 18 bool ConfigureIncomingConnection( |
| 19 mojo::ServiceProviderImpl* service_provider_impl) override; |
| 19 | 20 |
| 20 private: | 21 private: |
| 21 std::unique_ptr<DisplayManager> display_manager_; | 22 std::unique_ptr<DisplayManager> display_manager_; |
| 22 }; | 23 }; |
| 23 | 24 |
| 24 } // namespace native_viewport | 25 } // namespace native_viewport |
| 25 | 26 |
| 26 #endif | 27 #endif |
| OLD | NEW |