OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_RENDER_WIDGET_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ |
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ | 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 void RequestScheduleAnimation() override; | 206 void RequestScheduleAnimation() override; |
207 void UpdateVisualState() override; | 207 void UpdateVisualState() override; |
208 void WillBeginCompositorFrame() override; | 208 void WillBeginCompositorFrame() override; |
209 | 209 |
210 // RenderWidgetInputHandlerDelegate | 210 // RenderWidgetInputHandlerDelegate |
211 void FocusChangeComplete() override; | 211 void FocusChangeComplete() override; |
212 bool HasTouchEventHandlersAt(const gfx::Point& point) const override; | 212 bool HasTouchEventHandlersAt(const gfx::Point& point) const override; |
213 void ObserveWheelEventAndResult(const blink::WebMouseWheelEvent& wheel_event, | 213 void ObserveWheelEventAndResult(const blink::WebMouseWheelEvent& wheel_event, |
214 const gfx::Vector2dF& wheel_unused_delta, | 214 const gfx::Vector2dF& wheel_unused_delta, |
215 bool event_processed) override; | 215 bool event_processed) override; |
| 216 void ObserveGestureEventAndResult(const blink::WebGestureEvent& gesture_event, |
| 217 const gfx::Vector2dF& unused_delta, |
| 218 bool event_processed) override; |
| 219 |
216 void OnDidHandleKeyEvent() override; | 220 void OnDidHandleKeyEvent() override; |
217 void OnDidOverscroll(const DidOverscrollParams& params) override; | 221 void OnDidOverscroll(const DidOverscrollParams& params) override; |
218 void OnInputEventAck(scoped_ptr<InputEventAck> input_event_ack) override; | 222 void OnInputEventAck(scoped_ptr<InputEventAck> input_event_ack) override; |
219 void NonBlockingInputEventHandled( | 223 void NonBlockingInputEventHandled( |
220 blink::WebInputEvent::Type handled_type) override; | 224 blink::WebInputEvent::Type handled_type) override; |
221 void SetInputHandler(RenderWidgetInputHandler* input_handler) override; | 225 void SetInputHandler(RenderWidgetInputHandler* input_handler) override; |
222 void UpdateTextInputState(ShowIme show_ime, | 226 void UpdateTextInputState(ShowIme show_ime, |
223 ChangeSource change_source) override; | 227 ChangeSource change_source) override; |
224 bool WillHandleGestureEvent(const blink::WebGestureEvent& event) override; | 228 bool WillHandleGestureEvent(const blink::WebGestureEvent& event) override; |
225 bool WillHandleMouseEvent(const blink::WebMouseEvent& event) override; | 229 bool WillHandleMouseEvent(const blink::WebMouseEvent& event) override; |
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
783 private: | 787 private: |
784 // When emulated, this returns original device scale factor. | 788 // When emulated, this returns original device scale factor. |
785 float GetOriginalDeviceScaleFactor() const; | 789 float GetOriginalDeviceScaleFactor() const; |
786 | 790 |
787 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 791 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
788 }; | 792 }; |
789 | 793 |
790 } // namespace content | 794 } // namespace content |
791 | 795 |
792 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 796 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |