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

Side by Side Diff: services/window_manager/window_manager_delegate.h

Issue 858103002: Remove [Client=] annotation from ServiceProvider (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: rebase for trybots (no code changes from ps2) Created 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_DELEGATE_H_ 5 #ifndef SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_DELEGATE_H_
6 #define SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_DELEGATE_H_ 6 #define SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_DELEGATE_H_
7 7
8 #include "mojo/public/cpp/bindings/string.h" 8 #include "mojo/public/cpp/bindings/string.h"
9 #include "mojo/public/interfaces/application/service_provider.mojom.h" 9 #include "mojo/public/interfaces/application/service_provider.mojom.h"
10 10
11 namespace window_manager { 11 namespace window_manager {
12 12
13 class WindowManagerDelegate { 13 class WindowManagerDelegate {
14 public: 14 public:
15 // See WindowManager::Embed() for details. 15 // See WindowManager::Embed() for details.
16 virtual void Embed( 16 virtual void Embed(const mojo::String& url,
17 const mojo::String& url, 17 mojo::InterfaceRequest<mojo::ServiceProvider> services,
18 mojo::InterfaceRequest<mojo::ServiceProvider> service_provider) = 0; 18 mojo::ServiceProviderPtr exposed_services) = 0;
19 19
20 protected: 20 protected:
21 virtual ~WindowManagerDelegate() {} 21 virtual ~WindowManagerDelegate() {}
22 }; 22 };
23 23
24 } // namespace mojo 24 } // namespace mojo
25 25
26 #endif // SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_DELEGATE_H_ 26 #endif // SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_DELEGATE_H_
OLDNEW
« no previous file with comments | « services/window_manager/window_manager_apptest.cc ('k') | services/window_manager/window_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698