| 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 25 matching lines...) Expand all Loading... |
| 36 private: | 36 private: |
| 37 friend class CompositorMusConnection; | 37 friend class CompositorMusConnection; |
| 38 friend class CompositorMusConnectionTest; | 38 friend class CompositorMusConnectionTest; |
| 39 | 39 |
| 40 explicit RenderWidgetMusConnection(int routing_id); | 40 explicit RenderWidgetMusConnection(int routing_id); |
| 41 ~RenderWidgetMusConnection() override; | 41 ~RenderWidgetMusConnection() override; |
| 42 | 42 |
| 43 // RenderWidgetInputHandlerDelegate implementation: | 43 // RenderWidgetInputHandlerDelegate implementation: |
| 44 void FocusChangeComplete() override; | 44 void FocusChangeComplete() override; |
| 45 bool HasTouchEventHandlersAt(const gfx::Point& point) const override; | 45 bool HasTouchEventHandlersAt(const gfx::Point& point) const override; |
| 46 void ObserveWheelEventAndResult(const blink::WebMouseWheelEvent& wheel_event, | |
| 47 const gfx::Vector2dF& wheel_unused_delta, | |
| 48 bool event_processed) override; | |
| 49 void ObserveGestureEventAndResult(const blink::WebGestureEvent& gesture_event, | 46 void ObserveGestureEventAndResult(const blink::WebGestureEvent& gesture_event, |
| 50 const gfx::Vector2dF& gesture_unused_delta, | 47 const gfx::Vector2dF& gesture_unused_delta, |
| 51 bool event_processed) override; | 48 bool event_processed) override; |
| 52 void OnDidHandleKeyEvent() override; | 49 void OnDidHandleKeyEvent() override; |
| 53 void OnDidOverscroll(const DidOverscrollParams& params) override; | 50 void OnDidOverscroll(const DidOverscrollParams& params) override; |
| 54 void OnInputEventAck(std::unique_ptr<InputEventAck> input_event_ack) override; | 51 void OnInputEventAck(std::unique_ptr<InputEventAck> input_event_ack) override; |
| 55 void NotifyInputEventHandled( | 52 void NotifyInputEventHandled( |
| 56 blink::WebInputEvent::Type handled_type) override; | 53 blink::WebInputEvent::Type handled_type) override; |
| 57 void SetInputHandler(RenderWidgetInputHandler* input_handler) override; | 54 void SetInputHandler(RenderWidgetInputHandler* input_handler) override; |
| 58 void UpdateTextInputState(ShowIme show_ime, | 55 void UpdateTextInputState(ShowIme show_ime, |
| (...skipping 15 matching lines...) Expand all Loading... |
| 74 | 71 |
| 75 // Used to verify single threaded access. | 72 // Used to verify single threaded access. |
| 76 base::ThreadChecker thread_checker_; | 73 base::ThreadChecker thread_checker_; |
| 77 | 74 |
| 78 DISALLOW_COPY_AND_ASSIGN(RenderWidgetMusConnection); | 75 DISALLOW_COPY_AND_ASSIGN(RenderWidgetMusConnection); |
| 79 }; | 76 }; |
| 80 | 77 |
| 81 } // namespace content | 78 } // namespace content |
| 82 | 79 |
| 83 #endif // CONTENT_RENDERER_MUS_RENDER_WIDGET_MUS_CONNECTION_H_ | 80 #endif // CONTENT_RENDERER_MUS_RENDER_WIDGET_MUS_CONNECTION_H_ |
| OLD | NEW |