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

Unified Diff: android_webview/browser/render_thread_manager.h

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « android_webview/browser/hardware_renderer.cc ('k') | android_webview/browser/render_thread_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/render_thread_manager.h
diff --git a/android_webview/browser/render_thread_manager.h b/android_webview/browser/render_thread_manager.h
index b1b9301681b1b7dd4378cf0250eed2204b9e0268..072592962518ed046d20488f6f4872ff6d194f9c 100644
--- a/android_webview/browser/render_thread_manager.h
+++ b/android_webview/browser/render_thread_manager.h
@@ -47,10 +47,7 @@ class RenderThreadManager : public CompositorFrameConsumer {
void SetCompositorFrameProducer(
CompositorFrameProducer* compositor_frame_producer) override;
void SetScrollOffsetOnUI(gfx::Vector2d scroll_offset) override;
- void SetFrameOnUI(
- std::unique_ptr<ChildFrame> frame,
- const scoped_refptr<content::SynchronousCompositor::FrameFuture>&
- frame_future) override;
+ void SetFrameOnUI(std::unique_ptr<ChildFrame> frame) override;
void InitializeHardwareDrawIfNeededOnUI() override;
ParentCompositorDrawConstraints GetParentDrawConstraintsOnUI() const override;
void SwapReturnedResourcesOnUI(
@@ -63,8 +60,6 @@ class RenderThreadManager : public CompositorFrameConsumer {
// Render thread methods.
gfx::Vector2d GetScrollOffsetOnRT();
std::unique_ptr<ChildFrame> PassFrameOnRT();
- scoped_refptr<content::SynchronousCompositor::FrameFuture>
- PassFrameFutureOnRT();
void DrawGL(AwDrawGLInfo* draw_info);
void PostExternalDrawConstraintsToChildCompositorOnRT(
const ParentCompositorDrawConstraints& parent_draw_constraints);
@@ -117,7 +112,6 @@ class RenderThreadManager : public CompositorFrameConsumer {
gfx::Vector2d scroll_offset_;
std::unique_ptr<ChildFrame> child_frame_;
const bool async_on_draw_hardware_;
- scoped_refptr<content::SynchronousCompositor::FrameFuture> frame_future_;
bool inside_hardware_release_;
ParentCompositorDrawConstraints parent_draw_constraints_;
ReturnedResourcesMap returned_resources_map_;
« no previous file with comments | « android_webview/browser/hardware_renderer.cc ('k') | android_webview/browser/render_thread_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698