Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Side by Side Diff: content/renderer/render_widget.h

Issue 2444563002: cc: Remove "SwapBuffers" naming from LayerTreeHostSingleThreadClient (Closed)
Patch Set: swapsinglethread: fix-name-in-browsertest Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor_unittest.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698