Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Side by Side Diff: services/native_viewport/ozone/native_viewport_app_ozone.h

Issue 2011383002: Get rid of {Run,Terminate}MainApplication(), and more ApplicationDelegate conversion. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_
OLDNEW
« no previous file with comments | « services/native_viewport/ozone/app_delegate_ozone.cc ('k') | services/native_viewport/ozone/native_viewport_app_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698