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

Side by Side Diff: services/native_viewport/app_delegate.h

Issue 1979723002: ApplicationConnection devolution, part 3. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « services/native_support/main.cc ('k') | services/native_viewport/app_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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_H_ 5 #ifndef SERVICES_NATIVE_VIEWPORT_APP_DELEGATE_H_
6 #define SERVICES_NATIVE_VIEWPORT_APP_DELEGATE_H_ 6 #define SERVICES_NATIVE_VIEWPORT_APP_DELEGATE_H_
7 7
8 #include <algorithm> 8 #include <algorithm>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 15 matching lines...) Expand all
26 26
27 class NativeViewportAppDelegate : public mojo::ApplicationDelegate { 27 class NativeViewportAppDelegate : public mojo::ApplicationDelegate {
28 public: 28 public:
29 NativeViewportAppDelegate(); 29 NativeViewportAppDelegate();
30 ~NativeViewportAppDelegate() override; 30 ~NativeViewportAppDelegate() override;
31 31
32 // mojo::ApplicationDelegate implementation. 32 // mojo::ApplicationDelegate implementation.
33 void Initialize(mojo::ApplicationImpl* application) override; 33 void Initialize(mojo::ApplicationImpl* application) override;
34 34
35 bool ConfigureIncomingConnection( 35 bool ConfigureIncomingConnection(
36 mojo::ApplicationConnection* connection) override; 36 mojo::ServiceProviderImpl* service_provider_impl) override;
37 37
38 private: 38 private:
39 void InitLogging(mojo::ApplicationImpl* application); 39 void InitLogging(mojo::ApplicationImpl* application);
40 40
41 mojo::ApplicationImpl* application_; 41 mojo::ApplicationImpl* application_;
42 scoped_refptr<gles2::GpuState> gpu_state_; 42 scoped_refptr<gles2::GpuState> gpu_state_;
43 bool is_headless_; 43 bool is_headless_;
44 mojo::TracingImpl tracing_; 44 mojo::TracingImpl tracing_;
45 45
46 DISALLOW_COPY_AND_ASSIGN(NativeViewportAppDelegate); 46 DISALLOW_COPY_AND_ASSIGN(NativeViewportAppDelegate);
47 }; 47 };
48 48
49 } // namespace native_viewport 49 } // namespace native_viewport
50 50
51 #endif 51 #endif
OLDNEW
« no previous file with comments | « services/native_support/main.cc ('k') | services/native_viewport/app_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698