| 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_VIEW_MANAGER_PUBLIC_CPP_VIEW_MANAGER_DELEGATE_H_ | 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_CPP_VIEW_MANAGER_DELEGATE_H_ |
| 6 #define MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_MANAGER_DELEGATE_H_ | 6 #define MOJO_SERVICES_VIEW_MANAGER_CPP_VIEW_MANAGER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "mojo/public/interfaces/application/service_provider.mojom.h" | 10 #include "mojo/public/interfaces/application/service_provider.mojom.h" |
| 11 | 11 |
| 12 namespace mojo { | 12 namespace mojo { |
| 13 | 13 |
| 14 class View; | 14 class View; |
| 15 class ViewManager; | 15 class ViewManager; |
| 16 | 16 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 42 // Asks the delegate to perform the specified action. | 42 // Asks the delegate to perform the specified action. |
| 43 // TODO(sky): nuke! See comments in view_manager.mojom for details. | 43 // TODO(sky): nuke! See comments in view_manager.mojom for details. |
| 44 virtual bool OnPerformAction(View* view, const std::string& action); | 44 virtual bool OnPerformAction(View* view, const std::string& action); |
| 45 | 45 |
| 46 protected: | 46 protected: |
| 47 virtual ~ViewManagerDelegate() {} | 47 virtual ~ViewManagerDelegate() {} |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 } // namespace mojo | 50 } // namespace mojo |
| 51 | 51 |
| 52 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_MANAGER_DELEGATE_H_ | 52 #endif // MOJO_SERVICES_VIEW_MANAGER_CPP_VIEW_MANAGER_DELEGATE_H_ |
| OLD | NEW |