| 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 void WillBeginMainFrame() override; | 151 void WillBeginMainFrame() override; |
| 152 void DidBeginMainFrame() override; | 152 void DidBeginMainFrame() override; |
| 153 void BeginMainFrame(const cc::BeginFrameArgs& args) override; | 153 void BeginMainFrame(const cc::BeginFrameArgs& args) override; |
| 154 void BeginMainFrameNotExpectedSoon() override; | 154 void BeginMainFrameNotExpectedSoon() override; |
| 155 void UpdateLayerTreeHost() override; | 155 void UpdateLayerTreeHost() override; |
| 156 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, | 156 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, |
| 157 const gfx::Vector2dF& outer_delta, | 157 const gfx::Vector2dF& outer_delta, |
| 158 const gfx::Vector2dF& elastic_overscroll_delta, | 158 const gfx::Vector2dF& elastic_overscroll_delta, |
| 159 float page_scale, | 159 float page_scale, |
| 160 float top_controls_delta) override; | 160 float top_controls_delta) override; |
| 161 void ApplyMutations(const cc::LayerTreeMutations& mutations) override; |
| 161 void RequestNewOutputSurface() override; | 162 void RequestNewOutputSurface() override; |
| 162 void DidInitializeOutputSurface() override; | 163 void DidInitializeOutputSurface() override; |
| 163 void DidFailToInitializeOutputSurface() override; | 164 void DidFailToInitializeOutputSurface() override; |
| 164 void WillCommit() override; | 165 void WillCommit() override; |
| 165 void DidCommit() override; | 166 void DidCommit() override; |
| 166 void DidCommitAndDrawFrame() override; | 167 void DidCommitAndDrawFrame() override; |
| 167 void DidCompleteSwapBuffers() override; | 168 void DidCompleteSwapBuffers() override; |
| 168 void DidCompletePageScaleAnimation() override; | 169 void DidCompletePageScaleAnimation() override; |
| 169 void RecordFrameTimingEvents( | 170 void RecordFrameTimingEvents( |
| 170 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events, | 171 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events, |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 scoped_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; | 209 scoped_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; |
| 209 | 210 |
| 210 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; | 211 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; |
| 211 | 212 |
| 212 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; | 213 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; |
| 213 }; | 214 }; |
| 214 | 215 |
| 215 } // namespace content | 216 } // namespace content |
| 216 | 217 |
| 217 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ | 218 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ |
| OLD | NEW |