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

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

Issue 1897123002: Remove current implementation of frame timing events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 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
« no previous file with comments | « cc/trees/threaded_channel.cc ('k') | content/renderer/gpu/render_widget_compositor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <memory> 10 #include <memory>
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 float page_scale, 97 float page_scale,
98 float top_controls_delta) override {} 98 float top_controls_delta) override {}
99 void RequestNewOutputSurface() override; 99 void RequestNewOutputSurface() override;
100 void DidInitializeOutputSurface() override; 100 void DidInitializeOutputSurface() override;
101 void DidFailToInitializeOutputSurface() override; 101 void DidFailToInitializeOutputSurface() override;
102 void WillCommit() override {} 102 void WillCommit() override {}
103 void DidCommit() override; 103 void DidCommit() override;
104 void DidCommitAndDrawFrame() override {} 104 void DidCommitAndDrawFrame() override {}
105 void DidCompleteSwapBuffers() override; 105 void DidCompleteSwapBuffers() override;
106 void DidCompletePageScaleAnimation() override {} 106 void DidCompletePageScaleAnimation() override {}
107 void RecordFrameTimingEvents(
108 std::unique_ptr<cc::FrameTimingTracker::CompositeTimingSet>
109 composite_events,
110 std::unique_ptr<cc::FrameTimingTracker::MainFrameTimingSet>
111 main_frame_events) override {}
112 107
113 // LayerTreeHostSingleThreadClient implementation. 108 // LayerTreeHostSingleThreadClient implementation.
114 void DidPostSwapBuffers() override; 109 void DidPostSwapBuffers() override;
115 void DidAbortSwapBuffers() override; 110 void DidAbortSwapBuffers() override;
116 111
117 // WindowAndroidCompositor implementation. 112 // WindowAndroidCompositor implementation.
118 void RequestCopyOfOutputOnRootLayer( 113 void RequestCopyOfOutputOnRootLayer(
119 std::unique_ptr<cc::CopyOutputRequest> request) override; 114 std::unique_ptr<cc::CopyOutputRequest> request) override;
120 void OnVSync(base::TimeTicks frame_time, 115 void OnVSync(base::TimeTicks frame_time,
121 base::TimeDelta vsync_period) override; 116 base::TimeDelta vsync_period) override;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 gpu::Capabilities gpu_capabilities_; 166 gpu::Capabilities gpu_capabilities_;
172 bool needs_begin_frames_; 167 bool needs_begin_frames_;
173 base::WeakPtrFactory<CompositorImpl> weak_factory_; 168 base::WeakPtrFactory<CompositorImpl> weak_factory_;
174 169
175 DISALLOW_COPY_AND_ASSIGN(CompositorImpl); 170 DISALLOW_COPY_AND_ASSIGN(CompositorImpl);
176 }; 171 };
177 172
178 } // namespace content 173 } // namespace content
179 174
180 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ 175 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_
OLDNEW
« no previous file with comments | « cc/trees/threaded_channel.cc ('k') | content/renderer/gpu/render_widget_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698