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

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

Issue 1137823002: Pass collected frame timing events to Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed implementing virtual function on Android html_viewer. Created 5 years, 6 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 float page_scale, 78 float page_scale,
79 float top_controls_delta) override {} 79 float top_controls_delta) override {}
80 void RequestNewOutputSurface() override; 80 void RequestNewOutputSurface() override;
81 void DidInitializeOutputSurface() override; 81 void DidInitializeOutputSurface() override;
82 void DidFailToInitializeOutputSurface() override; 82 void DidFailToInitializeOutputSurface() override;
83 void WillCommit() override {} 83 void WillCommit() override {}
84 void DidCommit() override; 84 void DidCommit() override;
85 void DidCommitAndDrawFrame() override {} 85 void DidCommitAndDrawFrame() override {}
86 void DidCompleteSwapBuffers() override; 86 void DidCompleteSwapBuffers() override;
87 void DidCompletePageScaleAnimation() override {} 87 void DidCompletePageScaleAnimation() override {}
88 void RecordFrameTimingEvents(
89 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events,
90 scoped_ptr<cc::FrameTimingTracker::MainFrameTimingSet> main_frame_events)
91 override {}
88 92
89 // LayerTreeHostSingleThreadClient implementation. 93 // LayerTreeHostSingleThreadClient implementation.
90 void ScheduleComposite() override; 94 void ScheduleComposite() override;
91 void ScheduleAnimation() override; 95 void ScheduleAnimation() override;
92 void DidPostSwapBuffers() override; 96 void DidPostSwapBuffers() override;
93 void DidAbortSwapBuffers() override; 97 void DidAbortSwapBuffers() override;
94 98
95 // WindowAndroidCompositor implementation. 99 // WindowAndroidCompositor implementation.
96 void AttachLayerForReadback(scoped_refptr<cc::Layer> layer) override; 100 void AttachLayerForReadback(scoped_refptr<cc::Layer> layer) override;
97 void RequestCopyOfOutputOnRootLayer( 101 void RequestCopyOfOutputOnRootLayer(
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 bool output_surface_request_pending_; 205 bool output_surface_request_pending_;
202 206
203 base::WeakPtrFactory<CompositorImpl> weak_factory_; 207 base::WeakPtrFactory<CompositorImpl> weak_factory_;
204 208
205 DISALLOW_COPY_AND_ASSIGN(CompositorImpl); 209 DISALLOW_COPY_AND_ASSIGN(CompositorImpl);
206 }; 210 };
207 211
208 } // namespace content 212 } // namespace content
209 213
210 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ 214 #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/renderer/gpu/render_widget_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698