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

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: address feedback 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
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 "mojo/ui/view_provider_app.h" 8 #include "mojo/ui/view_provider_app.h"
9 9
10 namespace examples { 10 class MotermApp : public mojo::ui::ViewProviderApp {
11
12 class TileApp : public mojo::ui::ViewProviderApp {
13 public: 11 public:
14 TileApp(); 12 MotermApp();
15 ~TileApp() override; 13 ~MotermApp() override;
16 14
17 bool CreateView( 15 bool CreateView(
18 const std::string& connection_url, 16 const std::string& connection_url,
19 mojo::InterfaceRequest<mojo::ServiceProvider> services, 17 mojo::InterfaceRequest<mojo::ServiceProvider> services,
20 mojo::ServiceProviderPtr exposed_services, 18 mojo::ServiceProviderPtr exposed_services,
21 const mojo::ui::ViewProvider::CreateViewCallback& callback) override; 19 const mojo::ui::ViewProvider::CreateViewCallback& callback) override;
22 20
23 private: 21 private:
24 DISALLOW_COPY_AND_ASSIGN(TileApp); 22 DISALLOW_COPY_AND_ASSIGN(MotermApp);
viettrungluu 2016/01/26 18:33:35 You should include "base/macros.h" for this macro.
jeffbrown 2016/01/26 23:10:44 Done.
25 }; 23 };
26 24
27 } // namespace examples 25 #endif // APPS_MOTERM_MOTERM_APP_H_
28
29 #endif // EXAMPLES_UI_TILE_TILE_APP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698