| 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 const base::Callback<void(const gfx::Rect&, bool)>& callback) override; | 110 const base::Callback<void(const gfx::Rect&, bool)>& callback) override; |
| 111 bool CanCopyToVideoFrame() const override; | 111 bool CanCopyToVideoFrame() const override; |
| 112 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; | 112 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; |
| 113 void GestureEventAck(const blink::WebGestureEvent& event, | 113 void GestureEventAck(const blink::WebGestureEvent& event, |
| 114 InputEventAckState ack_result) override; | 114 InputEventAckState ack_result) override; |
| 115 void OnSwapCompositorFrame(uint32_t output_surface_id, | 115 void OnSwapCompositorFrame(uint32_t output_surface_id, |
| 116 cc::CompositorFrame frame) override; | 116 cc::CompositorFrame frame) override; |
| 117 // Since the URL of content rendered by this class is not displayed in | 117 // Since the URL of content rendered by this class is not displayed in |
| 118 // the URL bar, this method does not need an implementation. | 118 // the URL bar, this method does not need an implementation. |
| 119 void ClearCompositorFrame() override {} | 119 void ClearCompositorFrame() override {} |
| 120 void GetScreenInfo(blink::WebScreenInfo* results) override; | |
| 121 gfx::Rect GetBoundsInRootWindow() override; | 120 gfx::Rect GetBoundsInRootWindow() override; |
| 122 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, | 121 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, |
| 123 InputEventAckState ack_result) override; | 122 InputEventAckState ack_result) override; |
| 124 bool LockMouse() override; | 123 bool LockMouse() override; |
| 125 void UnlockMouse() override; | 124 void UnlockMouse() override; |
| 126 uint32_t GetSurfaceClientId() override; | 125 uint32_t GetSurfaceClientId() override; |
| 127 void ProcessKeyboardEvent(const NativeWebKeyboardEvent& event) override; | 126 void ProcessKeyboardEvent(const NativeWebKeyboardEvent& event) override; |
| 128 void ProcessMouseEvent(const blink::WebMouseEvent& event, | 127 void ProcessMouseEvent(const blink::WebMouseEvent& event, |
| 129 const ui::LatencyInfo& latency) override; | 128 const ui::LatencyInfo& latency) override; |
| 130 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event, | 129 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event, |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 // The surface client ID of the parent RenderWidgetHostView. 0 if none. | 245 // The surface client ID of the parent RenderWidgetHostView. 0 if none. |
| 247 uint32_t parent_surface_client_id_; | 246 uint32_t parent_surface_client_id_; |
| 248 | 247 |
| 249 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; | 248 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; |
| 250 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 249 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
| 251 }; | 250 }; |
| 252 | 251 |
| 253 } // namespace content | 252 } // namespace content |
| 254 | 253 |
| 255 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 254 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
| OLD | NEW |