| OLD | NEW |
| 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 COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_DELEGATE_H_ | 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_DELEGATE_H_ |
| 6 #define COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_DELEGATE_H_ | 6 #define COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "components/mus/public/interfaces/view_tree.mojom.h" | 10 #include "components/mus/public/interfaces/window_tree.mojom.h" |
| 11 #include "mojo/application/public/interfaces/service_provider.mojom.h" | 11 #include "mojo/application/public/interfaces/service_provider.mojom.h" |
| 12 #include "mojo/services/network/public/interfaces/url_loader.mojom.h" | 12 #include "mojo/services/network/public/interfaces/url_loader.mojom.h" |
| 13 | 13 |
| 14 namespace mus { | 14 namespace mus { |
| 15 | 15 |
| 16 class Window; | 16 class Window; |
| 17 class WindowTreeConnection; | 17 class WindowTreeConnection; |
| 18 | 18 |
| 19 // Interface implemented by an application using the view manager. | 19 // Interface implemented by an application using the view manager. |
| 20 // | 20 // |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 // been destroyed. |connection| is no longer valid after this call. | 55 // been destroyed. |connection| is no longer valid after this call. |
| 56 virtual void OnConnectionLost(WindowTreeConnection* connection) = 0; | 56 virtual void OnConnectionLost(WindowTreeConnection* connection) = 0; |
| 57 | 57 |
| 58 protected: | 58 protected: |
| 59 virtual ~WindowTreeDelegate() {} | 59 virtual ~WindowTreeDelegate() {} |
| 60 }; | 60 }; |
| 61 | 61 |
| 62 } // namespace mus | 62 } // namespace mus |
| 63 | 63 |
| 64 #endif // COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_DELEGATE_H_ | 64 #endif // COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_DELEGATE_H_ |
| OLD | NEW |