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

Side by Side Diff: ui/compositor/compositor.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 | « third_party/WebKit/public/web/WebWidget.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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 float page_scale, 291 float page_scale,
292 float top_controls_delta) override {} 292 float top_controls_delta) override {}
293 void RequestNewOutputSurface() override; 293 void RequestNewOutputSurface() override;
294 void DidInitializeOutputSurface() override; 294 void DidInitializeOutputSurface() override;
295 void DidFailToInitializeOutputSurface() override; 295 void DidFailToInitializeOutputSurface() override;
296 void WillCommit() override {} 296 void WillCommit() override {}
297 void DidCommit() override; 297 void DidCommit() override;
298 void DidCommitAndDrawFrame() override; 298 void DidCommitAndDrawFrame() override;
299 void DidCompleteSwapBuffers() override; 299 void DidCompleteSwapBuffers() override;
300 void DidCompletePageScaleAnimation() override {} 300 void DidCompletePageScaleAnimation() override {}
301 void RecordFrameTimingEvents(
302 std::unique_ptr<cc::FrameTimingTracker::CompositeTimingSet>
303 composite_events,
304 std::unique_ptr<cc::FrameTimingTracker::MainFrameTimingSet>
305 main_frame_events) override {}
306 301
307 // cc::LayerTreeHostSingleThreadClient implementation. 302 // cc::LayerTreeHostSingleThreadClient implementation.
308 void DidPostSwapBuffers() override; 303 void DidPostSwapBuffers() override;
309 void DidAbortSwapBuffers() override; 304 void DidAbortSwapBuffers() override;
310 305
311 bool IsLocked() { return compositor_lock_ != NULL; } 306 bool IsLocked() { return compositor_lock_ != NULL; }
312 307
313 void SetOutputIsSecure(bool output_is_secure); 308 void SetOutputIsSecure(bool output_is_secure);
314 309
315 const cc::LayerTreeDebugState& GetLayerTreeDebugState() const; 310 const cc::LayerTreeDebugState& GetLayerTreeDebugState() const;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 scoped_refptr<cc::AnimationTimeline> animation_timeline_; 364 scoped_refptr<cc::AnimationTimeline> animation_timeline_;
370 365
371 base::WeakPtrFactory<Compositor> weak_ptr_factory_; 366 base::WeakPtrFactory<Compositor> weak_ptr_factory_;
372 367
373 DISALLOW_COPY_AND_ASSIGN(Compositor); 368 DISALLOW_COPY_AND_ASSIGN(Compositor);
374 }; 369 };
375 370
376 } // namespace ui 371 } // namespace ui
377 372
378 #endif // UI_COMPOSITOR_COMPOSITOR_H_ 373 #endif // UI_COMPOSITOR_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebWidget.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698