| OLD | NEW |
| 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 Loading... |
| 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( |
| 99 const cc::LayerTreeMutationMap& mutations) override {} |
| 98 void RequestNewOutputSurface() override; | 100 void RequestNewOutputSurface() override; |
| 99 void DidInitializeOutputSurface() override; | 101 void DidInitializeOutputSurface() override; |
| 100 void DidFailToInitializeOutputSurface() override; | 102 void DidFailToInitializeOutputSurface() override; |
| 101 void WillCommit() override {} | 103 void WillCommit() override {} |
| 102 void DidCommit() override; | 104 void DidCommit() override; |
| 103 void DidCommitAndDrawFrame() override {} | 105 void DidCommitAndDrawFrame() override {} |
| 104 void DidCompleteSwapBuffers() override; | 106 void DidCompleteSwapBuffers() override; |
| 105 void DidCompletePageScaleAnimation() override {} | 107 void DidCompletePageScaleAnimation() override {} |
| 106 void RecordFrameTimingEvents( | 108 void RecordFrameTimingEvents( |
| 107 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events, | 109 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events, |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 gpu::Capabilities gpu_capabilities_; | 172 gpu::Capabilities gpu_capabilities_; |
| 171 bool needs_begin_frames_; | 173 bool needs_begin_frames_; |
| 172 base::WeakPtrFactory<CompositorImpl> weak_factory_; | 174 base::WeakPtrFactory<CompositorImpl> weak_factory_; |
| 173 | 175 |
| 174 DISALLOW_COPY_AND_ASSIGN(CompositorImpl); | 176 DISALLOW_COPY_AND_ASSIGN(CompositorImpl); |
| 175 }; | 177 }; |
| 176 | 178 |
| 177 } // namespace content | 179 } // namespace content |
| 178 | 180 |
| 179 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ | 181 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ |
| OLD | NEW |