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

Side by Side Diff: ui/compositor/compositor.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
« no previous file with comments | « content/test/web_layer_tree_view_impl_for_testing.h ('k') | no next file » | 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 UI_COMPOSITOR_COMPOSITOR_H_ 5 #ifndef UI_COMPOSITOR_COMPOSITOR_H_
6 #define UI_COMPOSITOR_COMPOSITOR_H_ 6 #define UI_COMPOSITOR_COMPOSITOR_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 float top_controls_delta) override {} 291 float top_controls_delta) override {}
292 void RequestNewOutputSurface() override; 292 void RequestNewOutputSurface() override;
293 void DidInitializeOutputSurface() override; 293 void DidInitializeOutputSurface() override;
294 void DidFailToInitializeOutputSurface() override; 294 void DidFailToInitializeOutputSurface() override;
295 void WillCommit() override {} 295 void WillCommit() override {}
296 void DidCommit() override; 296 void DidCommit() override;
297 void DidCommitAndDrawFrame() override; 297 void DidCommitAndDrawFrame() override;
298 void DidCompleteSwapBuffers() override; 298 void DidCompleteSwapBuffers() override;
299 void DidCompletePageScaleAnimation() override {} 299 void DidCompletePageScaleAnimation() override {}
300 void SendBeginFramesToChildren(const cc::BeginFrameArgs& args) override; 300 void SendBeginFramesToChildren(const cc::BeginFrameArgs& args) override;
301 void RecordFrameTimingEvents(
302 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events,
303 scoped_ptr<cc::FrameTimingTracker::MainFrameTimingSet> main_frame_events)
304 override {}
301 305
302 // cc::LayerTreeHostSingleThreadClient implementation. 306 // cc::LayerTreeHostSingleThreadClient implementation.
303 void DidPostSwapBuffers() override; 307 void DidPostSwapBuffers() override;
304 void DidAbortSwapBuffers() override; 308 void DidAbortSwapBuffers() override;
305 309
306 bool IsLocked() { return compositor_lock_ != NULL; } 310 bool IsLocked() { return compositor_lock_ != NULL; }
307 311
308 const cc::LayerTreeDebugState& GetLayerTreeDebugState() const; 312 const cc::LayerTreeDebugState& GetLayerTreeDebugState() const;
309 void SetLayerTreeDebugState(const cc::LayerTreeDebugState& debug_state); 313 void SetLayerTreeDebugState(const cc::LayerTreeDebugState& debug_state);
310 const cc::RendererSettings& GetRendererSettings() const; 314 const cc::RendererSettings& GetRendererSettings() const;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 cc::BeginFrameArgs missed_begin_frame_args_; 367 cc::BeginFrameArgs missed_begin_frame_args_;
364 368
365 base::WeakPtrFactory<Compositor> weak_ptr_factory_; 369 base::WeakPtrFactory<Compositor> weak_ptr_factory_;
366 370
367 DISALLOW_COPY_AND_ASSIGN(Compositor); 371 DISALLOW_COPY_AND_ASSIGN(Compositor);
368 }; 372 };
369 373
370 } // namespace ui 374 } // namespace ui
371 375
372 #endif // UI_COMPOSITOR_COMPOSITOR_H_ 376 #endif // UI_COMPOSITOR_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « content/test/web_layer_tree_view_impl_for_testing.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698