OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_DELEGATE_H_ |
| 6 #define SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_DELEGATE_H_ |
| 7 |
| 8 #include "mojo/public/cpp/bindings/string.h" |
| 9 #include "mojo/public/interfaces/application/service_provider.mojom.h" |
| 10 |
| 11 namespace window_manager { |
| 12 |
| 13 class WindowManagerDelegate { |
| 14 public: |
| 15 // See WindowManager::Embed() for details. |
| 16 virtual void Embed(const mojo::String& url, |
| 17 mojo::InterfaceRequest<mojo::ServiceProvider> services, |
| 18 mojo::ServiceProviderPtr exposed_services) = 0; |
| 19 |
| 20 protected: |
| 21 virtual ~WindowManagerDelegate() {} |
| 22 }; |
| 23 |
| 24 } // namespace mojo |
| 25 |
| 26 #endif // SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_DELEGATE_H_ |
OLD | NEW |