| 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_INPUT_RENDER_WIDGET_INPUT_HANDLER_DELEGATE_H_ | 5 #ifndef CONTENT_RENDERER_INPUT_RENDER_WIDGET_INPUT_HANDLER_DELEGATE_H_ |
| 6 #define CONTENT_RENDERER_INPUT_RENDER_WIDGET_INPUT_HANDLER_DELEGATE_H_ | 6 #define CONTENT_RENDERER_INPUT_RENDER_WIDGET_INPUT_HANDLER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| 11 #include "content/common/input/input_event_ack.h" | 11 #include "content/common/input/input_event_ack.h" |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 class WebGestureEvent; | 14 class WebGestureEvent; |
| 15 class WebMouseEvent; | 15 class WebMouseEvent; |
| 16 class WebMouseWheelEvent; | |
| 17 } | 16 } |
| 18 | 17 |
| 19 namespace gfx { | 18 namespace gfx { |
| 20 class Point; | 19 class Point; |
| 21 class Vector2dF; | 20 class Vector2dF; |
| 22 } | 21 } |
| 23 | 22 |
| 24 namespace content { | 23 namespace content { |
| 25 | 24 |
| 26 class RenderWidgetInputHandler; | 25 class RenderWidgetInputHandler; |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 // won't be sent to WebKit or trigger DidHandleMouseEvent(). | 88 // won't be sent to WebKit or trigger DidHandleMouseEvent(). |
| 90 virtual bool WillHandleMouseEvent(const blink::WebMouseEvent& event) = 0; | 89 virtual bool WillHandleMouseEvent(const blink::WebMouseEvent& event) = 0; |
| 91 | 90 |
| 92 protected: | 91 protected: |
| 93 virtual ~RenderWidgetInputHandlerDelegate() {} | 92 virtual ~RenderWidgetInputHandlerDelegate() {} |
| 94 }; | 93 }; |
| 95 | 94 |
| 96 } // namespace content | 95 } // namespace content |
| 97 | 96 |
| 98 #endif // CONTENT_RENDERER_INPUT_RENDER_WIDGET_INPUT_HANDLER_DELEGATE_H_ | 97 #endif // CONTENT_RENDERER_INPUT_RENDER_WIDGET_INPUT_HANDLER_DELEGATE_H_ |
| OLD | NEW |