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

Side by Side Diff: apps/moterm/moterm_app.h

Issue 1556683004: Port Moterm to Mozart. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-16
Patch Set: fix nits Created 4 years, 11 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 | « apps/moterm/main.cc ('k') | apps/moterm/moterm_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 APPS_MOTERM_MOTERM_APP_H_
6 #define EXAMPLES_UI_TILE_TILE_APP_H_ 6 #define APPS_MOTERM_MOTERM_APP_H_
7 7
8 #include "base/macros.h"
8 #include "mojo/ui/view_provider_app.h" 9 #include "mojo/ui/view_provider_app.h"
9 10
10 namespace examples { 11 class MotermApp : public mojo::ui::ViewProviderApp {
11
12 class TileApp : public mojo::ui::ViewProviderApp {
13 public: 12 public:
14 TileApp(); 13 MotermApp();
15 ~TileApp() override; 14 ~MotermApp() override;
16 15
17 bool CreateView( 16 bool CreateView(
18 const std::string& connection_url, 17 const std::string& connection_url,
19 mojo::InterfaceRequest<mojo::ServiceProvider> services, 18 mojo::InterfaceRequest<mojo::ServiceProvider> services,
20 mojo::ServiceProviderPtr exposed_services, 19 mojo::ServiceProviderPtr exposed_services,
21 const mojo::ui::ViewProvider::CreateViewCallback& callback) override; 20 const mojo::ui::ViewProvider::CreateViewCallback& callback) override;
22 21
23 private: 22 private:
24 DISALLOW_COPY_AND_ASSIGN(TileApp); 23 DISALLOW_COPY_AND_ASSIGN(MotermApp);
25 }; 24 };
26 25
27 } // namespace examples 26 #endif // APPS_MOTERM_MOTERM_APP_H_
28
29 #endif // EXAMPLES_UI_TILE_TILE_APP_H_
OLDNEW
« no previous file with comments | « apps/moterm/main.cc ('k') | apps/moterm/moterm_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698