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

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

Issue 1547893003: WIP - compositor worker mega patch. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/cancelable_callback.h" 9 #include "base/cancelable_callback.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 void WillBeginMainFrame() override {} 86 void WillBeginMainFrame() override {}
87 void DidBeginMainFrame() override {} 87 void DidBeginMainFrame() override {}
88 void BeginMainFrame(const cc::BeginFrameArgs& args) override {} 88 void BeginMainFrame(const cc::BeginFrameArgs& args) override {}
89 void BeginMainFrameNotExpectedSoon() override {} 89 void BeginMainFrameNotExpectedSoon() override {}
90 void UpdateLayerTreeHost() override; 90 void UpdateLayerTreeHost() override;
91 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, 91 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta,
92 const gfx::Vector2dF& outer_delta, 92 const gfx::Vector2dF& outer_delta,
93 const gfx::Vector2dF& elastic_overscroll_delta, 93 const gfx::Vector2dF& elastic_overscroll_delta,
94 float page_scale, 94 float page_scale,
95 float top_controls_delta) override {} 95 float top_controls_delta) override {}
96 void ApplyMutations(
97 const cc::LayerTreeMutationMap& mutations) override {}
96 void RequestNewOutputSurface() override; 98 void RequestNewOutputSurface() override;
97 void DidInitializeOutputSurface() override; 99 void DidInitializeOutputSurface() override;
98 void DidFailToInitializeOutputSurface() override; 100 void DidFailToInitializeOutputSurface() override;
99 void WillCommit() override {} 101 void WillCommit() override {}
100 void DidCommit() override; 102 void DidCommit() override;
101 void DidCommitAndDrawFrame() override {} 103 void DidCommitAndDrawFrame() override {}
102 void DidCompleteSwapBuffers() override; 104 void DidCompleteSwapBuffers() override;
103 void DidCompletePageScaleAnimation() override {} 105 void DidCompletePageScaleAnimation() override {}
104 void RecordFrameTimingEvents( 106 void RecordFrameTimingEvents(
105 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events, 107 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events,
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 base::ObserverList<VSyncObserver, true> observer_list_; 171 base::ObserverList<VSyncObserver, true> observer_list_;
170 172
171 base::WeakPtrFactory<CompositorImpl> weak_factory_; 173 base::WeakPtrFactory<CompositorImpl> weak_factory_;
172 174
173 DISALLOW_COPY_AND_ASSIGN(CompositorImpl); 175 DISALLOW_COPY_AND_ASSIGN(CompositorImpl);
174 }; 176 };
175 177
176 } // namespace content 178 } // namespace content
177 179
178 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ 180 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_
OLDNEW
« no previous file with comments | « components/html_viewer/web_layer_tree_view_impl.h ('k') | content/browser/renderer_host/input/synthetic_gesture_target_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698