| 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_LIB_WINDOW_TREE_CLIENT_IMPL_H_ | 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ |
| 6 #define COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ | 6 #define COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 void OnWindowVisibilityChanged(Id window_id, bool visible) override; | 213 void OnWindowVisibilityChanged(Id window_id, bool visible) override; |
| 214 void OnWindowOpacityChanged(Id window_id, | 214 void OnWindowOpacityChanged(Id window_id, |
| 215 float old_opacity, | 215 float old_opacity, |
| 216 float new_opacity) override; | 216 float new_opacity) override; |
| 217 void OnWindowParentDrawnStateChanged(Id window_id, bool drawn) override; | 217 void OnWindowParentDrawnStateChanged(Id window_id, bool drawn) override; |
| 218 void OnWindowSharedPropertyChanged(Id window_id, | 218 void OnWindowSharedPropertyChanged(Id window_id, |
| 219 const mojo::String& name, | 219 const mojo::String& name, |
| 220 mojo::Array<uint8_t> new_data) override; | 220 mojo::Array<uint8_t> new_data) override; |
| 221 void OnWindowInputEvent(uint32_t event_id, | 221 void OnWindowInputEvent(uint32_t event_id, |
| 222 Id window_id, | 222 Id window_id, |
| 223 mojom::EventPtr event) override; | 223 mojom::EventPtr event, |
| 224 uint32_t event_observer_id) override; |
| 225 void OnEventObserved(mojom::EventPtr event, |
| 226 uint32_t event_observer_id) override; |
| 224 void OnWindowFocused(Id focused_window_id) override; | 227 void OnWindowFocused(Id focused_window_id) override; |
| 225 void OnWindowPredefinedCursorChanged(Id window_id, | 228 void OnWindowPredefinedCursorChanged(Id window_id, |
| 226 mojom::Cursor cursor) override; | 229 mojom::Cursor cursor) override; |
| 227 void OnChangeCompleted(uint32_t change_id, bool success) override; | 230 void OnChangeCompleted(uint32_t change_id, bool success) override; |
| 228 void RequestClose(uint32_t window_id) override; | 231 void RequestClose(uint32_t window_id) override; |
| 229 void GetWindowManager( | 232 void GetWindowManager( |
| 230 mojo::AssociatedInterfaceRequest<WindowManager> internal) override; | 233 mojo::AssociatedInterfaceRequest<WindowManager> internal) override; |
| 231 | 234 |
| 232 // Overridden from WindowManager: | 235 // Overridden from WindowManager: |
| 233 void WmSetBounds(uint32_t change_id, | 236 void WmSetBounds(uint32_t change_id, |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 std::unique_ptr<mojo::AssociatedBinding<mojom::WindowManager>> | 298 std::unique_ptr<mojo::AssociatedBinding<mojom::WindowManager>> |
| 296 window_manager_internal_; | 299 window_manager_internal_; |
| 297 mojom::WindowManagerClientAssociatedPtr window_manager_internal_client_; | 300 mojom::WindowManagerClientAssociatedPtr window_manager_internal_client_; |
| 298 | 301 |
| 299 DISALLOW_COPY_AND_ASSIGN(WindowTreeClientImpl); | 302 DISALLOW_COPY_AND_ASSIGN(WindowTreeClientImpl); |
| 300 }; | 303 }; |
| 301 | 304 |
| 302 } // namespace mus | 305 } // namespace mus |
| 303 | 306 |
| 304 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ | 307 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ |
| OLD | NEW |