| 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 MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_MANAGER_DELEGATE_H_ | 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_MANAGER_DELEGATE_H_ |
| 6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_MANAGER_DELEGATE_H_ | 6 #define MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_MANAGER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.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 mojo { | 11 namespace mojo { |
| 12 | 12 |
| 13 class ServiceProviderImpl; | 13 class ServiceProviderImpl; |
| 14 class View; | 14 class View; |
| 15 class ViewManager; | 15 class ViewManager; |
| 16 | 16 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 39 // Called when a connection to the view manager service is closed. | 39 // Called when a connection to the view manager service is closed. |
| 40 // |view_manager| is not valid after this function returns. | 40 // |view_manager| is not valid after this function returns. |
| 41 virtual void OnViewManagerDisconnected(ViewManager* view_manager) = 0; | 41 virtual void OnViewManagerDisconnected(ViewManager* view_manager) = 0; |
| 42 | 42 |
| 43 protected: | 43 protected: |
| 44 virtual ~ViewManagerDelegate() {} | 44 virtual ~ViewManagerDelegate() {} |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 } // namespace mojo | 47 } // namespace mojo |
| 48 | 48 |
| 49 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_MANAGER_DELEGATE_H_ | 49 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_MANAGER_DELEGATE_H_ |
| OLD | NEW |