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

Side by Side Diff: content/browser/renderer_host/compositor_impl_android.h

Issue 1602343002: compositor-worker: cc->blink mutation plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@compositor-worker-ian-patch
Patch Set: Fix blimp issue Created 4 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
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_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/cancelable_callback.h" 10 #include "base/cancelable_callback.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 void WillBeginMainFrame() override {} 88 void WillBeginMainFrame() override {}
89 void DidBeginMainFrame() override {} 89 void DidBeginMainFrame() override {}
90 void BeginMainFrame(const cc::BeginFrameArgs& args) override {} 90 void BeginMainFrame(const cc::BeginFrameArgs& args) override {}
91 void BeginMainFrameNotExpectedSoon() override {} 91 void BeginMainFrameNotExpectedSoon() override {}
92 void UpdateLayerTreeHost() override; 92 void UpdateLayerTreeHost() override;
93 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, 93 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta,
94 const gfx::Vector2dF& outer_delta, 94 const gfx::Vector2dF& outer_delta,
95 const gfx::Vector2dF& elastic_overscroll_delta, 95 const gfx::Vector2dF& elastic_overscroll_delta,
96 float page_scale, 96 float page_scale,
97 float top_controls_delta) override {} 97 float top_controls_delta) override {}
98 void ApplyMutations(const cc::LayerTreeMutations& mutations) override {}
98 void RequestNewOutputSurface() override; 99 void RequestNewOutputSurface() override;
99 void DidInitializeOutputSurface() override; 100 void DidInitializeOutputSurface() override;
100 void DidFailToInitializeOutputSurface() override; 101 void DidFailToInitializeOutputSurface() override;
101 void WillCommit() override {} 102 void WillCommit() override {}
102 void DidCommit() override; 103 void DidCommit() override;
103 void DidCommitAndDrawFrame() override {} 104 void DidCommitAndDrawFrame() override {}
104 void DidCompleteSwapBuffers() override; 105 void DidCompleteSwapBuffers() override;
105 void DidCompletePageScaleAnimation() override {} 106 void DidCompletePageScaleAnimation() override {}
106 void RecordFrameTimingEvents( 107 void RecordFrameTimingEvents(
107 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events, 108 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 gpu::Capabilities gpu_capabilities_; 171 gpu::Capabilities gpu_capabilities_;
171 bool needs_begin_frames_; 172 bool needs_begin_frames_;
172 base::WeakPtrFactory<CompositorImpl> weak_factory_; 173 base::WeakPtrFactory<CompositorImpl> weak_factory_;
173 174
174 DISALLOW_COPY_AND_ASSIGN(CompositorImpl); 175 DISALLOW_COPY_AND_ASSIGN(CompositorImpl);
175 }; 176 };
176 177
177 } // namespace content 178 } // namespace content
178 179
179 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ 180 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698