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

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

Issue 2626023007: Passing FrameSinkId to WindowCompositorFrameSink (Closed)
Patch Set: c Created 3 years, 11 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
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 void SetNeedsMainFrame(); 230 void SetNeedsMainFrame();
231 231
232 // RenderWidgetCompositorDelegate 232 // RenderWidgetCompositorDelegate
233 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, 233 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta,
234 const gfx::Vector2dF& outer_delta, 234 const gfx::Vector2dF& outer_delta,
235 const gfx::Vector2dF& elastic_overscroll_delta, 235 const gfx::Vector2dF& elastic_overscroll_delta,
236 float page_scale, 236 float page_scale,
237 float top_controls_delta) override; 237 float top_controls_delta) override;
238 void BeginMainFrame(double frame_time_sec) override; 238 void BeginMainFrame(double frame_time_sec) override;
239 std::unique_ptr<cc::CompositorFrameSink> CreateCompositorFrameSink( 239 std::unique_ptr<cc::CompositorFrameSink> CreateCompositorFrameSink(
240 const cc::FrameSinkId& frame_sink_id,
240 bool fallback) override; 241 bool fallback) override;
241 void DidCommitAndDrawCompositorFrame() override; 242 void DidCommitAndDrawCompositorFrame() override;
242 void DidCommitCompositorFrame() override; 243 void DidCommitCompositorFrame() override;
243 void DidCompletePageScaleAnimation() override; 244 void DidCompletePageScaleAnimation() override;
244 void DidReceiveCompositorFrameAck() override; 245 void DidReceiveCompositorFrameAck() override;
245 void ForwardCompositorProto(const std::vector<uint8_t>& proto) override; 246 void ForwardCompositorProto(const std::vector<uint8_t>& proto) override;
246 bool IsClosing() const override; 247 bool IsClosing() const override;
247 void RequestScheduleAnimation() override; 248 void RequestScheduleAnimation() override;
248 void UpdateVisualState() override; 249 void UpdateVisualState() override;
249 void WillBeginCompositorFrame() override; 250 void WillBeginCompositorFrame() override;
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
837 // being handled. If the current event results in starting a drag/drop 838 // being handled. If the current event results in starting a drag/drop
838 // session, this info is sent to the browser along with other drag/drop info. 839 // session, this info is sent to the browser along with other drag/drop info.
839 DragEventSourceInfo possible_drag_event_info_; 840 DragEventSourceInfo possible_drag_event_info_;
840 841
841 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 842 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
842 }; 843 };
843 844
844 } // namespace content 845 } // namespace content
845 846
846 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 847 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698