| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_OWNER_DELEGATE_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_OWNER_DELEGATE_H_ |
| 6 #define CONTENT_RENDERER_RENDER_WIDGET_OWNER_DELEGATE_H_ | 6 #define CONTENT_RENDERER_RENDER_WIDGET_OWNER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 // As in RenderWidgetInputHandlerDelegate. | 33 // As in RenderWidgetInputHandlerDelegate. |
| 34 virtual void RenderWidgetFocusChangeComplete() = 0; | 34 virtual void RenderWidgetFocusChangeComplete() = 0; |
| 35 virtual bool DoesRenderWidgetHaveTouchEventHandlersAt( | 35 virtual bool DoesRenderWidgetHaveTouchEventHandlersAt( |
| 36 const gfx::Point& point) const = 0; | 36 const gfx::Point& point) const = 0; |
| 37 virtual bool RenderWidgetWillHandleGestureEvent( | 37 virtual bool RenderWidgetWillHandleGestureEvent( |
| 38 const blink::WebGestureEvent& event) = 0; | 38 const blink::WebGestureEvent& event) = 0; |
| 39 virtual bool RenderWidgetWillHandleMouseEvent( | 39 virtual bool RenderWidgetWillHandleMouseEvent( |
| 40 const blink::WebMouseEvent& event) = 0; | 40 const blink::WebMouseEvent& event) = 0; |
| 41 | 41 |
| 42 // Painting notifications. DidFlushPaint happens once we've received the ACK | |
| 43 // that the screen has been updated. | |
| 44 virtual void RenderWidgetDidFlushPaint() = 0; | |
| 45 | |
| 46 protected: | 42 protected: |
| 47 virtual ~RenderWidgetOwnerDelegate() {} | 43 virtual ~RenderWidgetOwnerDelegate() {} |
| 48 }; | 44 }; |
| 49 | 45 |
| 50 } // namespace content | 46 } // namespace content |
| 51 | 47 |
| 52 #endif // CONTENT_RENDERER_RENDER_WIDGET_OWNER_DELEGATE_H_ | 48 #endif // CONTENT_RENDERER_RENDER_WIDGET_OWNER_DELEGATE_H_ |
| OLD | NEW |