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

Side by Side Diff: examples/ui/tile/tile_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/ui/spinning_cube/spinning_cube_app.cc ('k') | examples/ui/tile/tile_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 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 EXAMPLES_UI_TILE_TILE_APP_H_ 5 #ifndef EXAMPLES_UI_TILE_TILE_APP_H_
6 #define EXAMPLES_UI_TILE_TILE_APP_H_ 6 #define EXAMPLES_UI_TILE_TILE_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 struct TileParams; 12 struct TileParams;
13 13
14 class TileApp : public mojo::ui::ViewProviderApp { 14 class TileApp : public mojo::ui::ViewProviderApp {
15 public: 15 public:
16 TileApp(); 16 TileApp();
17 ~TileApp() override; 17 ~TileApp() override;
18 18
19 void CreateView( 19 void CreateView(
20 const std::string& connection_url, 20 const std::string& connection_url,
21 mojo::InterfaceRequest<mojo::ui::ViewOwner> view_owner_request, 21 mojo::InterfaceRequest<mojo::ui::ViewOwner> view_owner_request,
22 mojo::InterfaceRequest<mojo::ServiceProvider> services, 22 mojo::InterfaceRequest<mojo::ServiceProvider> services) override;
23 mojo::InterfaceHandle<mojo::ServiceProvider> exposed_services) override;
24 23
25 private: 24 private:
26 bool ParseParams(const std::string& connection_url, TileParams* params); 25 bool ParseParams(const std::string& connection_url, TileParams* params);
27 26
28 DISALLOW_COPY_AND_ASSIGN(TileApp); 27 DISALLOW_COPY_AND_ASSIGN(TileApp);
29 }; 28 };
30 29
31 } // namespace examples 30 } // namespace examples
32 31
33 #endif // EXAMPLES_UI_TILE_TILE_APP_H_ 32 #endif // EXAMPLES_UI_TILE_TILE_APP_H_
OLDNEW
« no previous file with comments | « examples/ui/spinning_cube/spinning_cube_app.cc ('k') | examples/ui/tile/tile_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698