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

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

Issue 2409923002: cc: Rename SwapBuffers on CompositorFrameSink to SubmitCompositorFrame (Closed)
Patch Set: swap-to-submit: rebase Created 4 years, 2 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 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 const gfx::Vector2dF& outer_delta, 358 const gfx::Vector2dF& outer_delta,
359 const gfx::Vector2dF& elastic_overscroll_delta, 359 const gfx::Vector2dF& elastic_overscroll_delta,
360 float page_scale, 360 float page_scale,
361 float top_controls_delta) override {} 361 float top_controls_delta) override {}
362 void RequestNewCompositorFrameSink() override; 362 void RequestNewCompositorFrameSink() override;
363 void DidInitializeCompositorFrameSink() override; 363 void DidInitializeCompositorFrameSink() override;
364 void DidFailToInitializeCompositorFrameSink() override; 364 void DidFailToInitializeCompositorFrameSink() override;
365 void WillCommit() override {} 365 void WillCommit() override {}
366 void DidCommit() override; 366 void DidCommit() override;
367 void DidCommitAndDrawFrame() override; 367 void DidCommitAndDrawFrame() override;
368 void DidCompleteSwapBuffers() override; 368 void DidReceiveCompositorFrameAck() override;
369 void DidCompletePageScaleAnimation() override {} 369 void DidCompletePageScaleAnimation() override {}
370 370
371 // cc::LayerTreeHostSingleThreadClient implementation. 371 // cc::LayerTreeHostSingleThreadClient implementation.
372 void DidPostSwapBuffers() override; 372 void DidPostSwapBuffers() override;
373 void DidAbortSwapBuffers() override; 373 void DidAbortSwapBuffers() override;
374 374
375 bool IsLocked() { return compositor_lock_ != NULL; } 375 bool IsLocked() { return compositor_lock_ != NULL; }
376 376
377 void SetOutputIsSecure(bool output_is_secure); 377 void SetOutputIsSecure(bool output_is_secure);
378 378
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 gfx::ColorSpace color_space_; 435 gfx::ColorSpace color_space_;
436 436
437 base::WeakPtrFactory<Compositor> weak_ptr_factory_; 437 base::WeakPtrFactory<Compositor> weak_ptr_factory_;
438 438
439 DISALLOW_COPY_AND_ASSIGN(Compositor); 439 DISALLOW_COPY_AND_ASSIGN(Compositor);
440 }; 440 };
441 441
442 } // namespace ui 442 } // namespace ui
443 443
444 #endif // UI_COMPOSITOR_COMPOSITOR_H_ 444 #endif // UI_COMPOSITOR_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.h ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698