| 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_RENDER_WIDGET_MUS_CONNECTION_H_ | 5 #ifndef CONTENT_RENDERER_MUS_RENDER_WIDGET_MUS_CONNECTION_H_ |
| 6 #define CONTENT_RENDERER_MUS_RENDER_WIDGET_MUS_CONNECTION_H_ | 6 #define CONTENT_RENDERER_MUS_RENDER_WIDGET_MUS_CONNECTION_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/threading/thread_checker.h" | 9 #include "base/threading/thread_checker.h" |
| 10 #include "cc/output/output_surface.h" | 10 #include "cc/output/output_surface.h" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 explicit RenderWidgetMusConnection(int routing_id); | 44 explicit RenderWidgetMusConnection(int routing_id); |
| 45 ~RenderWidgetMusConnection() override; | 45 ~RenderWidgetMusConnection() override; |
| 46 | 46 |
| 47 // RenderWidgetInputHandlerDelegate implementation: | 47 // RenderWidgetInputHandlerDelegate implementation: |
| 48 void FocusChangeComplete() override; | 48 void FocusChangeComplete() override; |
| 49 bool HasTouchEventHandlersAt(const gfx::Point& point) const override; | 49 bool HasTouchEventHandlersAt(const gfx::Point& point) const override; |
| 50 void ObserveGestureEventAndResult(const blink::WebGestureEvent& gesture_event, | 50 void ObserveGestureEventAndResult(const blink::WebGestureEvent& gesture_event, |
| 51 const gfx::Vector2dF& gesture_unused_delta, | 51 const gfx::Vector2dF& gesture_unused_delta, |
| 52 bool event_processed) override; | 52 bool event_processed) override; |
| 53 void OnDidHandleKeyEvent() override; | 53 void OnDidHandleKeyEvent() override; |
| 54 void OnDidOverscroll(const DidOverscrollParams& params) override; | 54 void OnDidOverscroll(const ui::DidOverscrollParams& params) override; |
| 55 void OnInputEventAck(std::unique_ptr<InputEventAck> input_event_ack) override; | 55 void OnInputEventAck(std::unique_ptr<InputEventAck> input_event_ack) override; |
| 56 void NotifyInputEventHandled(blink::WebInputEvent::Type handled_type, | 56 void NotifyInputEventHandled(blink::WebInputEvent::Type handled_type, |
| 57 InputEventAckState ack_result) override; | 57 InputEventAckState ack_result) override; |
| 58 void SetInputHandler(RenderWidgetInputHandler* input_handler) override; | 58 void SetInputHandler(RenderWidgetInputHandler* input_handler) override; |
| 59 void UpdateTextInputState(ShowIme show_ime, | 59 void UpdateTextInputState(ShowIme show_ime, |
| 60 ChangeSource change_source) override; | 60 ChangeSource change_source) override; |
| 61 bool WillHandleGestureEvent(const blink::WebGestureEvent& event) override; | 61 bool WillHandleGestureEvent(const blink::WebGestureEvent& event) override; |
| 62 bool WillHandleMouseEvent(const blink::WebMouseEvent& event) override; | 62 bool WillHandleMouseEvent(const blink::WebMouseEvent& event) override; |
| 63 | 63 |
| 64 void OnConnectionLost(); | 64 void OnConnectionLost(); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 75 | 75 |
| 76 // Used to verify single threaded access. | 76 // Used to verify single threaded access. |
| 77 base::ThreadChecker thread_checker_; | 77 base::ThreadChecker thread_checker_; |
| 78 | 78 |
| 79 DISALLOW_COPY_AND_ASSIGN(RenderWidgetMusConnection); | 79 DISALLOW_COPY_AND_ASSIGN(RenderWidgetMusConnection); |
| 80 }; | 80 }; |
| 81 | 81 |
| 82 } // namespace content | 82 } // namespace content |
| 83 | 83 |
| 84 #endif // CONTENT_RENDERER_MUS_RENDER_WIDGET_MUS_CONNECTION_H_ | 84 #endif // CONTENT_RENDERER_MUS_RENDER_WIDGET_MUS_CONNECTION_H_ |
| OLD | NEW |