| 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_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ | 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ |
| 6 #define MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ | 6 #define MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ |
| 7 | 7 |
| 8 #include "mojo/public/cpp/bindings/strong_binding.h" | 8 #include "mojo/public/cpp/bindings/strong_binding.h" |
| 9 #include "view_manager/public/cpp/types.h" | 9 #include "view_manager/public/cpp/types.h" |
| 10 #include "view_manager/public/cpp/view.h" | 10 #include "view_manager/public/cpp/view.h" |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 OrderDirection direction) override; | 112 OrderDirection direction) override; |
| 113 void OnViewDeleted(Id view_id) override; | 113 void OnViewDeleted(Id view_id) override; |
| 114 void OnViewVisibilityChanged(Id view_id, bool visible) override; | 114 void OnViewVisibilityChanged(Id view_id, bool visible) override; |
| 115 void OnViewDrawnStateChanged(Id view_id, bool drawn) override; | 115 void OnViewDrawnStateChanged(Id view_id, bool drawn) override; |
| 116 void OnViewSharedPropertyChanged(Id view_id, | 116 void OnViewSharedPropertyChanged(Id view_id, |
| 117 const String& name, | 117 const String& name, |
| 118 Array<uint8_t> new_data) override; | 118 Array<uint8_t> new_data) override; |
| 119 void OnViewInputEvent(Id view_id, | 119 void OnViewInputEvent(Id view_id, |
| 120 EventPtr event, | 120 EventPtr event, |
| 121 const Callback<void()>& callback) override; | 121 const Callback<void()>& callback) override; |
| 122 void OnPerformAction(Id view_id, const String& name) override; |
| 122 | 123 |
| 123 // Overridden from WindowManagerObserver: | 124 // Overridden from WindowManagerObserver: |
| 124 void OnCaptureChanged(Id capture_view_id) override; | 125 void OnCaptureChanged(Id capture_view_id) override; |
| 125 void OnFocusChanged(Id focused_view_id) override; | 126 void OnFocusChanged(Id focused_view_id) override; |
| 126 void OnActiveWindowChanged(Id focused_view_id) override; | 127 void OnActiveWindowChanged(Id focused_view_id) override; |
| 127 | 128 |
| 128 // ErrorHandler implementation. | 129 // ErrorHandler implementation. |
| 129 void OnConnectionError() override; | 130 void OnConnectionError() override; |
| 130 | 131 |
| 131 void RootDestroyed(View* root); | 132 void RootDestroyed(View* root); |
| (...skipping 25 matching lines...) Expand all Loading... |
| 157 Binding<ViewManagerClient> binding_; | 158 Binding<ViewManagerClient> binding_; |
| 158 ViewManagerServicePtr service_; | 159 ViewManagerServicePtr service_; |
| 159 const bool delete_on_error_; | 160 const bool delete_on_error_; |
| 160 | 161 |
| 161 MOJO_DISALLOW_COPY_AND_ASSIGN(ViewManagerClientImpl); | 162 MOJO_DISALLOW_COPY_AND_ASSIGN(ViewManagerClientImpl); |
| 162 }; | 163 }; |
| 163 | 164 |
| 164 } // namespace mojo | 165 } // namespace mojo |
| 165 | 166 |
| 166 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ | 167 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ |
| OLD | NEW |