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

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: Some code review cleanup. Created 5 years, 7 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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 void BeginMainFrameNotExpectedSoon() override; 275 void BeginMainFrameNotExpectedSoon() override;
276 void Layout() override; 276 void Layout() override;
277 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, 277 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta,
278 const gfx::Vector2dF& outer_delta, 278 const gfx::Vector2dF& outer_delta,
279 const gfx::Vector2dF& elastic_overscroll_delta, 279 const gfx::Vector2dF& elastic_overscroll_delta,
280 float page_scale, 280 float page_scale,
281 float top_controls_delta) override {} 281 float top_controls_delta) override {}
282 void ApplyViewportDeltas(const gfx::Vector2d& scroll_delta, 282 void ApplyViewportDeltas(const gfx::Vector2d& scroll_delta,
283 float page_scale, 283 float page_scale,
284 float top_controls_delta) override {} 284 float top_controls_delta) override {}
285 void RecordCompositeTimings(
286 cc::FrameTimingTracker::CompositeTimingSet* composites) override {}
287 void RecordRenderTimings(
288 cc::FrameTimingTracker::MainFrameTimingSet* renders) override {}
285 void RequestNewOutputSurface() override; 289 void RequestNewOutputSurface() override;
286 void DidInitializeOutputSurface() override; 290 void DidInitializeOutputSurface() override;
287 void DidFailToInitializeOutputSurface() override; 291 void DidFailToInitializeOutputSurface() override;
288 void WillCommit() override {} 292 void WillCommit() override {}
289 void DidCommit() override; 293 void DidCommit() override;
290 void DidCommitAndDrawFrame() override; 294 void DidCommitAndDrawFrame() override;
291 void DidCompleteSwapBuffers() override; 295 void DidCompleteSwapBuffers() override;
292 void DidCompletePageScaleAnimation() override {} 296 void DidCompletePageScaleAnimation() override {}
293 void SendBeginFramesToChildren(const cc::BeginFrameArgs& args) override; 297 void SendBeginFramesToChildren(const cc::BeginFrameArgs& args) override;
294 298
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 cc::BeginFrameArgs missed_begin_frame_args_; 360 cc::BeginFrameArgs missed_begin_frame_args_;
357 361
358 base::WeakPtrFactory<Compositor> weak_ptr_factory_; 362 base::WeakPtrFactory<Compositor> weak_ptr_factory_;
359 363
360 DISALLOW_COPY_AND_ASSIGN(Compositor); 364 DISALLOW_COPY_AND_ASSIGN(Compositor);
361 }; 365 };
362 366
363 } // namespace ui 367 } // namespace ui
364 368
365 #endif // UI_COMPOSITOR_COMPOSITOR_H_ 369 #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