| 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 void ObserveWheelEventAndResult(const blink::WebMouseWheelEvent& wheel_event, | 212 void ObserveWheelEventAndResult(const blink::WebMouseWheelEvent& wheel_event, |
| 213 const gfx::Vector2dF& wheel_unused_delta, | 213 const gfx::Vector2dF& wheel_unused_delta, |
| 214 bool event_processed) override; | 214 bool event_processed) override; |
| 215 void ObserveGestureEventAndResult(const blink::WebGestureEvent& gesture_event, | 215 void ObserveGestureEventAndResult(const blink::WebGestureEvent& gesture_event, |
| 216 const gfx::Vector2dF& unused_delta, | 216 const gfx::Vector2dF& unused_delta, |
| 217 bool event_processed) override; | 217 bool event_processed) override; |
| 218 | 218 |
| 219 void OnDidHandleKeyEvent() override; | 219 void OnDidHandleKeyEvent() override; |
| 220 void OnDidOverscroll(const DidOverscrollParams& params) override; | 220 void OnDidOverscroll(const DidOverscrollParams& params) override; |
| 221 void OnInputEventAck(std::unique_ptr<InputEventAck> input_event_ack) override; | 221 void OnInputEventAck(std::unique_ptr<InputEventAck> input_event_ack) override; |
| 222 void NotifyInputEventHandled( | 222 void NotifyInputEventHandled(blink::WebInputEvent::Type handled_type, |
| 223 blink::WebInputEvent::Type handled_type) override; | 223 InputEventAckState ack_result) override; |
| 224 void SetInputHandler(RenderWidgetInputHandler* input_handler) override; | 224 void SetInputHandler(RenderWidgetInputHandler* input_handler) override; |
| 225 void UpdateTextInputState(ShowIme show_ime, | 225 void UpdateTextInputState(ShowIme show_ime, |
| 226 ChangeSource change_source) override; | 226 ChangeSource change_source) override; |
| 227 bool WillHandleGestureEvent(const blink::WebGestureEvent& event) override; | 227 bool WillHandleGestureEvent(const blink::WebGestureEvent& event) override; |
| 228 bool WillHandleMouseEvent(const blink::WebMouseEvent& event) override; | 228 bool WillHandleMouseEvent(const blink::WebMouseEvent& event) override; |
| 229 | 229 |
| 230 // RenderWidgetScreenMetricsDelegate | 230 // RenderWidgetScreenMetricsDelegate |
| 231 void Redraw() override; | 231 void Redraw() override; |
| 232 void Resize(const ResizeParams& resize_params) override; | 232 void Resize(const ResizeParams& resize_params) override; |
| 233 void SetScreenMetricsEmulationParameters( | 233 void SetScreenMetricsEmulationParameters( |
| (...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 766 | 766 |
| 767 // Indicates whether this widget has focus. | 767 // Indicates whether this widget has focus. |
| 768 bool has_focus_; | 768 bool has_focus_; |
| 769 | 769 |
| 770 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 770 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 771 }; | 771 }; |
| 772 | 772 |
| 773 } // namespace content | 773 } // namespace content |
| 774 | 774 |
| 775 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 775 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |