| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CONTENT_RENDERER_MUS_COMPOSITOR_MUS_CONNECTION_H_ | 5 #ifndef CONTENT_RENDERER_MUS_COMPOSITOR_MUS_CONNECTION_H_ |
| 6 #define CONTENT_RENDERER_MUS_COMPOSITOR_MUS_CONNECTION_H_ | 6 #define CONTENT_RENDERER_MUS_COMPOSITOR_MUS_CONNECTION_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 std::unique_ptr<ui::WindowCompositorFrameSinkBinding> | 64 std::unique_ptr<ui::WindowCompositorFrameSinkBinding> |
| 65 compositor_frame_sink_binding); | 65 compositor_frame_sink_binding); |
| 66 | 66 |
| 67 void CreateWindowTreeClientOnCompositorThread( | 67 void CreateWindowTreeClientOnCompositorThread( |
| 68 ui::mojom::WindowTreeClientRequest request); | 68 ui::mojom::WindowTreeClientRequest request); |
| 69 | 69 |
| 70 void OnConnectionLostOnMainThread(); | 70 void OnConnectionLostOnMainThread(); |
| 71 | 71 |
| 72 void OnWindowInputEventOnMainThread( | 72 void OnWindowInputEventOnMainThread( |
| 73 ui::ScopedWebInputEvent web_event, | 73 ui::ScopedWebInputEvent web_event, |
| 74 const std::vector<const blink::WebInputEvent*>& coalescedEvents, |
| 74 const base::Callback<void(ui::mojom::EventResult)>& ack); | 75 const base::Callback<void(ui::mojom::EventResult)>& ack); |
| 75 | 76 |
| 76 void OnWindowInputEventAckOnMainThread( | 77 void OnWindowInputEventAckOnMainThread( |
| 77 const base::Callback<void(ui::mojom::EventResult)>& ack, | 78 const base::Callback<void(ui::mojom::EventResult)>& ack, |
| 78 ui::mojom::EventResult result); | 79 ui::mojom::EventResult result); |
| 79 | 80 |
| 80 std::unique_ptr<blink::WebInputEvent> Convert(const ui::Event& event); | 81 std::unique_ptr<blink::WebInputEvent> Convert(const ui::Event& event); |
| 81 | 82 |
| 82 void DeleteWindowTreeClient(); | 83 void DeleteWindowTreeClient(); |
| 83 | 84 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 | 117 |
| 117 // Stores the current state of the active pointers targeting this object. | 118 // Stores the current state of the active pointers targeting this object. |
| 118 ui::MotionEventAura pointer_state_; | 119 ui::MotionEventAura pointer_state_; |
| 119 | 120 |
| 120 DISALLOW_COPY_AND_ASSIGN(CompositorMusConnection); | 121 DISALLOW_COPY_AND_ASSIGN(CompositorMusConnection); |
| 121 }; | 122 }; |
| 122 | 123 |
| 123 } // namespace content | 124 } // namespace content |
| 124 | 125 |
| 125 #endif // CONTENT_RENDERER_MUS_COMPOSITOR_MUS_CONNECTION_H_ | 126 #endif // CONTENT_RENDERER_MUS_COMPOSITOR_MUS_CONNECTION_H_ |
| OLD | NEW |