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_OZONE_NATIVE_VIEWPORT_APP_OZONE_H_ |
6 #define SERVICES_NATIVE_VIEWPORT_APP_DELEGATE_OZONE_H_ | 6 #define SERVICES_NATIVE_VIEWPORT_OZONE_NATIVE_VIEWPORT_APP_OZONE_H_ |
7 | 7 |
8 #include "services/native_viewport/app_delegate.h" | 8 #include "services/native_viewport/native_viewport_app.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 NativeViewportAppOzone : public NativeViewportApp { |
14 public: | 14 public: |
15 using NativeViewportAppDelegate::Create; | 15 using NativeViewportApp::Create; |
16 | 16 |
17 void Initialize(mojo::ApplicationImpl* application) override; | 17 void OnInitialize() override; |
18 bool ConfigureIncomingConnection( | 18 bool OnAcceptConnection( |
19 mojo::ServiceProviderImpl* service_provider_impl) override; | 19 mojo::ServiceProviderImpl* service_provider_impl) override; |
20 | 20 |
21 private: | 21 private: |
22 std::unique_ptr<DisplayManager> display_manager_; | 22 std::unique_ptr<DisplayManager> display_manager_; |
23 }; | 23 }; |
24 | 24 |
25 } // namespace native_viewport | 25 } // namespace native_viewport |
26 | 26 |
27 #endif | 27 #endif // SERVICES_NATIVE_VIEWPORT_OZONE_NATIVE_VIEWPORT_APP_OZONE_H_ |
OLD | NEW |