OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ |
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ | 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 const gfx::Vector2dF& outer_delta, | 218 const gfx::Vector2dF& outer_delta, |
219 const gfx::Vector2dF& elastic_overscroll_delta, | 219 const gfx::Vector2dF& elastic_overscroll_delta, |
220 float page_scale, | 220 float page_scale, |
221 float top_controls_delta) override; | 221 float top_controls_delta) override; |
222 void BeginMainFrame(double frame_time_sec) override; | 222 void BeginMainFrame(double frame_time_sec) override; |
223 std::unique_ptr<cc::CompositorFrameSink> CreateCompositorFrameSink( | 223 std::unique_ptr<cc::CompositorFrameSink> CreateCompositorFrameSink( |
224 bool fallback) override; | 224 bool fallback) override; |
225 void DidCommitAndDrawCompositorFrame() override; | 225 void DidCommitAndDrawCompositorFrame() override; |
226 void DidCommitCompositorFrame() override; | 226 void DidCommitCompositorFrame() override; |
227 void DidCompletePageScaleAnimation() override; | 227 void DidCompletePageScaleAnimation() override; |
228 void DidCompleteSwapBuffers() override; | 228 void DidReceiveCompositorFrameAck() override; |
229 void ForwardCompositorProto(const std::vector<uint8_t>& proto) override; | 229 void ForwardCompositorProto(const std::vector<uint8_t>& proto) override; |
230 bool IsClosing() const override; | 230 bool IsClosing() const override; |
231 void OnSwapBuffersAborted() override; | |
232 void OnSwapBuffersComplete() override; | |
233 void OnSwapBuffersPosted() override; | |
234 void RequestScheduleAnimation() override; | 231 void RequestScheduleAnimation() override; |
235 void UpdateVisualState() override; | 232 void UpdateVisualState() override; |
236 void WillBeginCompositorFrame() override; | 233 void WillBeginCompositorFrame() override; |
237 std::unique_ptr<cc::SwapPromise> RequestCopyOfOutputForLayoutTest( | 234 std::unique_ptr<cc::SwapPromise> RequestCopyOfOutputForLayoutTest( |
238 std::unique_ptr<cc::CopyOutputRequest> request) override; | 235 std::unique_ptr<cc::CopyOutputRequest> request) override; |
239 | 236 |
240 // RenderWidgetInputHandlerDelegate | 237 // RenderWidgetInputHandlerDelegate |
241 void FocusChangeComplete() override; | 238 void FocusChangeComplete() override; |
242 bool HasTouchEventHandlersAt(const gfx::Point& point) const override; | 239 bool HasTouchEventHandlersAt(const gfx::Point& point) const override; |
243 void ObserveGestureEventAndResult(const blink::WebGestureEvent& gesture_event, | 240 void ObserveGestureEventAndResult(const blink::WebGestureEvent& gesture_event, |
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
831 // Stores edit commands associated to the next key event. | 828 // Stores edit commands associated to the next key event. |
832 // Will be cleared as soon as the next key event is processed. | 829 // Will be cleared as soon as the next key event is processed. |
833 EditCommands edit_commands_; | 830 EditCommands edit_commands_; |
834 | 831 |
835 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 832 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
836 }; | 833 }; |
837 | 834 |
838 } // namespace content | 835 } // namespace content |
839 | 836 |
840 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 837 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |