| 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 16 matching lines...) Expand all Loading... |
| 27 class CONTENT_EXPORT RenderWidgetOwnerDelegate { | 27 class CONTENT_EXPORT RenderWidgetOwnerDelegate { |
| 28 public: | 28 public: |
| 29 // The RenderWidget set a color profile. | 29 // The RenderWidget set a color profile. |
| 30 virtual void RenderWidgetDidSetColorProfile( | 30 virtual void RenderWidgetDidSetColorProfile( |
| 31 const std::vector<char>& color_profile) = 0; | 31 const std::vector<char>& color_profile) = 0; |
| 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( | |
| 38 const blink::WebGestureEvent& event) = 0; | |
| 39 virtual bool RenderWidgetWillHandleMouseEvent( | 37 virtual bool RenderWidgetWillHandleMouseEvent( |
| 40 const blink::WebMouseEvent& event) = 0; | 38 const blink::WebMouseEvent& event) = 0; |
| 41 | 39 |
| 42 protected: | 40 protected: |
| 43 virtual ~RenderWidgetOwnerDelegate() {} | 41 virtual ~RenderWidgetOwnerDelegate() {} |
| 44 }; | 42 }; |
| 45 | 43 |
| 46 } // namespace content | 44 } // namespace content |
| 47 | 45 |
| 48 #endif // CONTENT_RENDERER_RENDER_WIDGET_OWNER_DELEGATE_H_ | 46 #endif // CONTENT_RENDERER_RENDER_WIDGET_OWNER_DELEGATE_H_ |
| OLD | NEW |