| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_GPU_RENDER_WIDGET_COMPOSITOR_H_ | 5 #ifndef CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ |
| 6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ | 6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 void WillBeginMainFrame() override; | 149 void WillBeginMainFrame() override; |
| 150 void DidBeginMainFrame() override; | 150 void DidBeginMainFrame() override; |
| 151 void BeginMainFrame(const cc::BeginFrameArgs& args) override; | 151 void BeginMainFrame(const cc::BeginFrameArgs& args) override; |
| 152 void BeginMainFrameNotExpectedSoon() override; | 152 void BeginMainFrameNotExpectedSoon() override; |
| 153 void UpdateLayerTreeHost() override; | 153 void UpdateLayerTreeHost() override; |
| 154 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, | 154 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, |
| 155 const gfx::Vector2dF& outer_delta, | 155 const gfx::Vector2dF& outer_delta, |
| 156 const gfx::Vector2dF& elastic_overscroll_delta, | 156 const gfx::Vector2dF& elastic_overscroll_delta, |
| 157 float page_scale, | 157 float page_scale, |
| 158 float top_controls_delta) override; | 158 float top_controls_delta) override; |
| 159 void ApplyMutations(const cc::LayerTreeMutations& mutations) override; |
| 159 void RequestNewOutputSurface() override; | 160 void RequestNewOutputSurface() override; |
| 160 void DidInitializeOutputSurface() override; | 161 void DidInitializeOutputSurface() override; |
| 161 void DidFailToInitializeOutputSurface() override; | 162 void DidFailToInitializeOutputSurface() override; |
| 162 void WillCommit() override; | 163 void WillCommit() override; |
| 163 void DidCommit() override; | 164 void DidCommit() override; |
| 164 void DidCommitAndDrawFrame() override; | 165 void DidCommitAndDrawFrame() override; |
| 165 void DidCompleteSwapBuffers() override; | 166 void DidCompleteSwapBuffers() override; |
| 166 void DidCompletePageScaleAnimation() override; | 167 void DidCompletePageScaleAnimation() override; |
| 167 void RecordFrameTimingEvents( | 168 void RecordFrameTimingEvents( |
| 168 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events, | 169 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events, |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 scoped_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; | 207 scoped_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; |
| 207 | 208 |
| 208 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; | 209 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; |
| 209 | 210 |
| 210 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; | 211 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; |
| 211 }; | 212 }; |
| 212 | 213 |
| 213 } // namespace content | 214 } // namespace content |
| 214 | 215 |
| 215 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ | 216 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ |
| OLD | NEW |