| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 void OnBeginFrameDidNotSwap(const cc::BeginFrameAck& ack) override; | 112 void OnBeginFrameDidNotSwap(const cc::BeginFrameAck& ack) override; |
| 113 // Since the URL of content rendered by this class is not displayed in | 113 // Since the URL of content rendered by this class is not displayed in |
| 114 // the URL bar, this method does not need an implementation. | 114 // the URL bar, this method does not need an implementation. |
| 115 void ClearCompositorFrame() override {} | 115 void ClearCompositorFrame() override {} |
| 116 gfx::Rect GetBoundsInRootWindow() override; | 116 gfx::Rect GetBoundsInRootWindow() override; |
| 117 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, | 117 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, |
| 118 InputEventAckState ack_result) override; | 118 InputEventAckState ack_result) override; |
| 119 bool LockMouse() override; | 119 bool LockMouse() override; |
| 120 void UnlockMouse() override; | 120 void UnlockMouse() override; |
| 121 cc::FrameSinkId GetFrameSinkId() override; | 121 cc::FrameSinkId GetFrameSinkId() override; |
| 122 void ProcessKeyboardEvent(const NativeWebKeyboardEvent& event) override; | 122 void ProcessKeyboardEvent(const NativeWebKeyboardEvent& event, |
| 123 const ui::LatencyInfo& latency) override; |
| 123 void ProcessMouseEvent(const blink::WebMouseEvent& event, | 124 void ProcessMouseEvent(const blink::WebMouseEvent& event, |
| 124 const ui::LatencyInfo& latency) override; | 125 const ui::LatencyInfo& latency) override; |
| 125 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event, | 126 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event, |
| 126 const ui::LatencyInfo& latency) override; | 127 const ui::LatencyInfo& latency) override; |
| 127 void ProcessTouchEvent(const blink::WebTouchEvent& event, | 128 void ProcessTouchEvent(const blink::WebTouchEvent& event, |
| 128 const ui::LatencyInfo& latency) override; | 129 const ui::LatencyInfo& latency) override; |
| 129 void ProcessGestureEvent(const blink::WebGestureEvent& event, | 130 void ProcessGestureEvent(const blink::WebGestureEvent& event, |
| 130 const ui::LatencyInfo& latency) override; | 131 const ui::LatencyInfo& latency) override; |
| 131 gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point) override; | 132 gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point) override; |
| 132 bool TransformPointToLocalCoordSpace(const gfx::Point& point, | 133 bool TransformPointToLocalCoordSpace(const gfx::Point& point, |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 | 256 |
| 256 bool has_frame_ = false; | 257 bool has_frame_ = false; |
| 257 | 258 |
| 258 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; | 259 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; |
| 259 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 260 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
| 260 }; | 261 }; |
| 261 | 262 |
| 262 } // namespace content | 263 } // namespace content |
| 263 | 264 |
| 264 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 265 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
| OLD | NEW |