| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 void ProcessKeyboardEvent(const NativeWebKeyboardEvent& event) override; | 126 void ProcessKeyboardEvent(const NativeWebKeyboardEvent& event) override; |
| 127 void ProcessMouseEvent(const blink::WebMouseEvent& event, | 127 void ProcessMouseEvent(const blink::WebMouseEvent& event, |
| 128 const ui::LatencyInfo& latency) override; | 128 const ui::LatencyInfo& latency) override; |
| 129 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event, | 129 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event, |
| 130 const ui::LatencyInfo& latency) override; | 130 const ui::LatencyInfo& latency) override; |
| 131 void ProcessTouchEvent(const blink::WebTouchEvent& event, | 131 void ProcessTouchEvent(const blink::WebTouchEvent& event, |
| 132 const ui::LatencyInfo& latency) override; | 132 const ui::LatencyInfo& latency) override; |
| 133 void ProcessGestureEvent(const blink::WebGestureEvent& event, | 133 void ProcessGestureEvent(const blink::WebGestureEvent& event, |
| 134 const ui::LatencyInfo& latency) override; | 134 const ui::LatencyInfo& latency) override; |
| 135 gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point) override; | 135 gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point) override; |
| 136 gfx::Point TransformPointToLocalCoordSpace( | 136 bool TransformPointToLocalCoordSpace(const gfx::Point& point, |
| 137 const cc::SurfaceId& original_surface, |
| 138 gfx::Point* transformed_point) override; |
| 139 bool TransformPointToCoordSpaceForView( |
| 137 const gfx::Point& point, | 140 const gfx::Point& point, |
| 138 const cc::SurfaceId& original_surface) override; | 141 RenderWidgetHostViewBase* target_view, |
| 139 gfx::Point TransformPointToCoordSpaceForView( | 142 gfx::Point* transformed_point) override; |
| 140 const gfx::Point& point, | |
| 141 RenderWidgetHostViewBase* target_view) override; | |
| 142 | 143 |
| 143 bool IsRenderWidgetHostViewChildFrame() override; | 144 bool IsRenderWidgetHostViewChildFrame() override; |
| 144 | 145 |
| 145 #if defined(OS_MACOSX) | 146 #if defined(OS_MACOSX) |
| 146 // RenderWidgetHostView implementation. | 147 // RenderWidgetHostView implementation. |
| 147 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; | 148 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; |
| 148 void SetActive(bool active) override; | 149 void SetActive(bool active) override; |
| 149 void ShowDefinitionForSelection() override; | 150 void ShowDefinitionForSelection() override; |
| 150 bool SupportsSpeech() const override; | 151 bool SupportsSpeech() const override; |
| 151 void SpeakSelection() override; | 152 void SpeakSelection() override; |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 // The surface client ID of the parent RenderWidgetHostView. 0 if none. | 254 // The surface client ID of the parent RenderWidgetHostView. 0 if none. |
| 254 cc::FrameSinkId parent_frame_sink_id_; | 255 cc::FrameSinkId parent_frame_sink_id_; |
| 255 | 256 |
| 256 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; | 257 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; |
| 257 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 258 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
| 258 }; | 259 }; |
| 259 | 260 |
| 260 } // namespace content | 261 } // namespace content |
| 261 | 262 |
| 262 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 263 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
| OLD | NEW |