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

Side by Side Diff: ui/compositor/compositor.h

Issue 2753843003: Create a new action triggered when a BeginMainFrame is not expected before vsync (Closed)
Patch Set: missed one Created 3 years, 9 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 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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 void OnSwapBuffersComplete(); 346 void OnSwapBuffersComplete();
347 347
348 // Signals swap has aborted (e.g. lost context). 348 // Signals swap has aborted (e.g. lost context).
349 void OnSwapBuffersAborted(); 349 void OnSwapBuffersAborted();
350 350
351 // LayerTreeHostClient implementation. 351 // LayerTreeHostClient implementation.
352 void WillBeginMainFrame() override {} 352 void WillBeginMainFrame() override {}
353 void DidBeginMainFrame() override {} 353 void DidBeginMainFrame() override {}
354 void BeginMainFrame(const cc::BeginFrameArgs& args) override; 354 void BeginMainFrame(const cc::BeginFrameArgs& args) override;
355 void BeginMainFrameNotExpectedSoon() override; 355 void BeginMainFrameNotExpectedSoon() override;
356 void DoShortIdleWork(const cc::BeginFrameArgs& args) override;
356 void UpdateLayerTreeHost() override; 357 void UpdateLayerTreeHost() override;
357 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, 358 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta,
358 const gfx::Vector2dF& outer_delta, 359 const gfx::Vector2dF& outer_delta,
359 const gfx::Vector2dF& elastic_overscroll_delta, 360 const gfx::Vector2dF& elastic_overscroll_delta,
360 float page_scale, 361 float page_scale,
361 float top_controls_delta) override {} 362 float top_controls_delta) override {}
362 void RequestNewCompositorFrameSink() override; 363 void RequestNewCompositorFrameSink() override;
363 void DidInitializeCompositorFrameSink() override {} 364 void DidInitializeCompositorFrameSink() override {}
364 void DidFailToInitializeCompositorFrameSink() override; 365 void DidFailToInitializeCompositorFrameSink() override;
365 void WillCommit() override {} 366 void WillCommit() override {}
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 gfx::ColorSpace blending_color_space_; 445 gfx::ColorSpace blending_color_space_;
445 446
446 base::WeakPtrFactory<Compositor> weak_ptr_factory_; 447 base::WeakPtrFactory<Compositor> weak_ptr_factory_;
447 448
448 DISALLOW_COPY_AND_ASSIGN(Compositor); 449 DISALLOW_COPY_AND_ASSIGN(Compositor);
449 }; 450 };
450 451
451 } // namespace ui 452 } // namespace ui
452 453
453 #endif // UI_COMPOSITOR_COMPOSITOR_H_ 454 #endif // UI_COMPOSITOR_COMPOSITOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698