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

Side by Side Diff: examples/shadows/shadows_app.h

Issue 2001283002: Remove ViewProvider.CreateView()'s exposed_services. (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 | « examples/moterm_example_app/moterm_example_app.cc ('k') | examples/shadows/shadows_app.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 EXAMPLES_SHADOWS_SHADOWS_APP_H_ 5 #ifndef EXAMPLES_SHADOWS_SHADOWS_APP_H_
6 #define EXAMPLES_SHADOWS_SHADOWS_APP_H_ 6 #define EXAMPLES_SHADOWS_SHADOWS_APP_H_
7 7
8 #include "mojo/ui/view_provider_app.h" 8 #include "mojo/ui/view_provider_app.h"
9 9
10 namespace examples { 10 namespace examples {
11 11
12 class ShadowsApp : public mojo::ui::ViewProviderApp { 12 class ShadowsApp : public mojo::ui::ViewProviderApp {
13 public: 13 public:
14 ShadowsApp(); 14 ShadowsApp();
15 ~ShadowsApp() override; 15 ~ShadowsApp() override;
16 16
17 void CreateView( 17 void CreateView(
18 const std::string& connection_url, 18 const std::string& connection_url,
19 mojo::InterfaceRequest<mojo::ui::ViewOwner> view_owner_request, 19 mojo::InterfaceRequest<mojo::ui::ViewOwner> view_owner_request,
20 mojo::InterfaceRequest<mojo::ServiceProvider> services, 20 mojo::InterfaceRequest<mojo::ServiceProvider> services) override;
21 mojo::InterfaceHandle<mojo::ServiceProvider> exposed_services) override;
22 21
23 private: 22 private:
24 DISALLOW_COPY_AND_ASSIGN(ShadowsApp); 23 DISALLOW_COPY_AND_ASSIGN(ShadowsApp);
25 }; 24 };
26 25
27 } // namespace examples 26 } // namespace examples
28 27
29 #endif // EXAMPLES_SHADOWS_SHADOWS_APP_H_ 28 #endif // EXAMPLES_SHADOWS_SHADOWS_APP_H_
OLDNEW
« no previous file with comments | « examples/moterm_example_app/moterm_example_app.cc ('k') | examples/shadows/shadows_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698