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

Side by Side Diff: examples/ui/tile/tile_app.h

Issue 1869263002: Mozart: Enhance tile app to test various sync behaviors. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-1
Patch Set: Created 4 years, 8 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/tile/README.md ('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;
13
12 class TileApp : public mojo::ui::ViewProviderApp { 14 class TileApp : public mojo::ui::ViewProviderApp {
13 public: 15 public:
14 TileApp(); 16 TileApp();
15 ~TileApp() override; 17 ~TileApp() override;
16 18
17 void CreateView( 19 void CreateView(
18 const std::string& connection_url, 20 const std::string& connection_url,
19 mojo::InterfaceRequest<mojo::ui::ViewOwner> view_owner_request, 21 mojo::InterfaceRequest<mojo::ui::ViewOwner> view_owner_request,
20 mojo::InterfaceRequest<mojo::ServiceProvider> services, 22 mojo::InterfaceRequest<mojo::ServiceProvider> services,
21 mojo::InterfaceHandle<mojo::ServiceProvider> exposed_services) override; 23 mojo::InterfaceHandle<mojo::ServiceProvider> exposed_services) override;
22 24
23 private: 25 private:
26 bool ParseParams(const std::string& connection_url, TileParams* params);
27
24 DISALLOW_COPY_AND_ASSIGN(TileApp); 28 DISALLOW_COPY_AND_ASSIGN(TileApp);
25 }; 29 };
26 30
27 } // namespace examples 31 } // namespace examples
28 32
29 #endif // EXAMPLES_UI_TILE_TILE_APP_H_ 33 #endif // EXAMPLES_UI_TILE_TILE_APP_H_
OLDNEW
« no previous file with comments | « examples/ui/tile/README.md ('k') | examples/ui/tile/tile_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698