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

Side by Side Diff: apps/moterm/moterm_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 | « no previous file | 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 APPS_MOTERM_MOTERM_APP_H_ 5 #ifndef APPS_MOTERM_MOTERM_APP_H_
6 #define APPS_MOTERM_MOTERM_APP_H_ 6 #define APPS_MOTERM_MOTERM_APP_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "mojo/ui/view_provider_app.h" 9 #include "mojo/ui/view_provider_app.h"
10 10
11 class MotermApp : public mojo::ui::ViewProviderApp { 11 class MotermApp : public mojo::ui::ViewProviderApp {
12 public: 12 public:
13 MotermApp(); 13 MotermApp();
14 ~MotermApp() override; 14 ~MotermApp() override;
15 15
16 void CreateView( 16 void CreateView(
17 const std::string& connection_url, 17 const std::string& connection_url,
18 mojo::InterfaceRequest<mojo::ui::ViewOwner> view_owner_request, 18 mojo::InterfaceRequest<mojo::ui::ViewOwner> view_owner_request,
19 mojo::InterfaceRequest<mojo::ServiceProvider> services, 19 mojo::InterfaceRequest<mojo::ServiceProvider> services) override;
20 mojo::InterfaceHandle<mojo::ServiceProvider> exposed_services) override;
21 20
22 private: 21 private:
23 DISALLOW_COPY_AND_ASSIGN(MotermApp); 22 DISALLOW_COPY_AND_ASSIGN(MotermApp);
24 }; 23 };
25 24
26 #endif // APPS_MOTERM_MOTERM_APP_H_ 25 #endif // APPS_MOTERM_MOTERM_APP_H_
OLDNEW
« no previous file with comments | « no previous file | apps/moterm/moterm_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698