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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 void Destroy() override; | 105 void Destroy() override; |
106 void SetTooltipText(const base::string16& tooltip_text) override; | 106 void SetTooltipText(const base::string16& tooltip_text) override; |
107 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; | 107 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; |
108 void GestureEventAck(const blink::WebGestureEvent& event, | 108 void GestureEventAck(const blink::WebGestureEvent& event, |
109 InputEventAckState ack_result) override; | 109 InputEventAckState ack_result) override; |
110 void DidCreateNewRendererCompositorFrameSink( | 110 void DidCreateNewRendererCompositorFrameSink( |
111 cc::mojom::MojoCompositorFrameSinkClient* renderer_compositor_frame_sink) | 111 cc::mojom::MojoCompositorFrameSinkClient* renderer_compositor_frame_sink) |
112 override; | 112 override; |
113 void SubmitCompositorFrame(const cc::LocalSurfaceId& local_surface_id, | 113 void SubmitCompositorFrame(const cc::LocalSurfaceId& local_surface_id, |
114 cc::CompositorFrame frame) override; | 114 cc::CompositorFrame frame) override; |
115 void OnBeginFrameDidNotSwap(const cc::BeginFrameAck& ack) override; | 115 void OnBeginFrameDidNotProduceFrame(const cc::BeginFrameAck& ack) override; |
116 void OnSurfaceChanged(const cc::SurfaceInfo& surface_info) override; | 116 void OnSurfaceChanged(const cc::SurfaceInfo& surface_info) 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 gfx::Rect GetBoundsInRootWindow() override; | 120 gfx::Rect GetBoundsInRootWindow() override; |
121 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, | 121 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, |
122 InputEventAckState ack_result) override; | 122 InputEventAckState ack_result) override; |
123 bool LockMouse() override; | 123 bool LockMouse() override; |
124 void UnlockMouse() override; | 124 void UnlockMouse() override; |
125 cc::FrameSinkId GetFrameSinkId() override; | 125 cc::FrameSinkId GetFrameSinkId() override; |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 // The background color of the widget. | 266 // The background color of the widget. |
267 SkColor background_color_; | 267 SkColor background_color_; |
268 | 268 |
269 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; | 269 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; |
270 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 270 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
271 }; | 271 }; |
272 | 272 |
273 } // namespace content | 273 } // namespace content |
274 | 274 |
275 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 275 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
OLD | NEW |