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_WS_WINDOW_TREE_H_ | 5 #ifndef COMPONENTS_MUS_WS_WINDOW_TREE_H_ |
6 #define COMPONENTS_MUS_WS_WINDOW_TREE_H_ | 6 #define COMPONENTS_MUS_WS_WINDOW_TREE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 void SetFocus(uint32_t change_id, Id transport_window_id) override; | 358 void SetFocus(uint32_t change_id, Id transport_window_id) override; |
359 void SetCanFocus(Id transport_window_id, bool can_focus) override; | 359 void SetCanFocus(Id transport_window_id, bool can_focus) override; |
360 void SetPredefinedCursor(uint32_t change_id, | 360 void SetPredefinedCursor(uint32_t change_id, |
361 Id transport_window_id, | 361 Id transport_window_id, |
362 mus::mojom::Cursor cursor_id) override; | 362 mus::mojom::Cursor cursor_id) override; |
363 void SetWindowTextInputState(Id transport_window_id, | 363 void SetWindowTextInputState(Id transport_window_id, |
364 mojo::TextInputStatePtr state) override; | 364 mojo::TextInputStatePtr state) override; |
365 void SetImeVisibility(Id transport_window_id, | 365 void SetImeVisibility(Id transport_window_id, |
366 bool visible, | 366 bool visible, |
367 mojo::TextInputStatePtr state) override; | 367 mojo::TextInputStatePtr state) override; |
368 void OnWindowInputEventAck(uint32_t event_id, bool handled) override; | 368 void OnWindowInputEventAck(uint32_t event_id, |
| 369 mojom::EventResult result) override; |
369 void SetClientArea( | 370 void SetClientArea( |
370 Id transport_window_id, | 371 Id transport_window_id, |
371 mojo::InsetsPtr insets, | 372 mojo::InsetsPtr insets, |
372 mojo::Array<mojo::RectPtr> transport_additional_client_areas) override; | 373 mojo::Array<mojo::RectPtr> transport_additional_client_areas) override; |
373 void GetWindowManagerClient( | 374 void GetWindowManagerClient( |
374 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) | 375 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) |
375 override; | 376 override; |
376 | 377 |
377 // mojom::WindowManagerClient: | 378 // mojom::WindowManagerClient: |
378 void AddAccelerator(uint32_t id, | 379 void AddAccelerator(uint32_t id, |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 | 440 |
440 scoped_ptr<WaitingForTopLevelWindowInfo> waiting_for_top_level_window_info_; | 441 scoped_ptr<WaitingForTopLevelWindowInfo> waiting_for_top_level_window_info_; |
441 | 442 |
442 DISALLOW_COPY_AND_ASSIGN(WindowTree); | 443 DISALLOW_COPY_AND_ASSIGN(WindowTree); |
443 }; | 444 }; |
444 | 445 |
445 } // namespace ws | 446 } // namespace ws |
446 } // namespace mus | 447 } // namespace mus |
447 | 448 |
448 #endif // COMPONENTS_MUS_WS_WINDOW_TREE_H_ | 449 #endif // COMPONENTS_MUS_WS_WINDOW_TREE_H_ |
OLD | NEW |