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

Unified Diff: cc/test/fake_output_surface.h

Issue 1430813002: cc: Fork OverlayCandidate to CALayerOverlay (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master1
Patch Set: Rebase Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/output/overlay_unittest.cc ('k') | cc/test/fake_output_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_output_surface.h
diff --git a/cc/test/fake_output_surface.h b/cc/test/fake_output_surface.h
index 7819848a8148c47e575608dbf3542a0f33277bee..34274d85d073e329b0b9f6eb339a233d1ff5be4f 100644
--- a/cc/test/fake_output_surface.h
+++ b/cc/test/fake_output_surface.h
@@ -117,6 +117,11 @@ class FakeOutputSurface : public OutputSurface {
bool SurfaceIsSuspendForRecycle() const override;
+ OverlayCandidateValidator* GetOverlayCandidateValidator() const override;
+ void SetOverlayCandidateValidator(OverlayCandidateValidator* validator) {
+ overlay_candidate_validator_ = validator;
+ }
+
void set_has_external_stencil_test(bool has_test) {
has_external_stencil_test_ = has_test;
}
@@ -157,6 +162,7 @@ class FakeOutputSurface : public OutputSurface {
unsigned framebuffer_;
TransferableResourceArray resources_held_by_parent_;
scoped_ptr<ManagedMemoryPolicy> memory_policy_to_set_at_bind_;
+ OverlayCandidateValidator* overlay_candidate_validator_;
gfx::Rect last_swap_rect_;
};
« no previous file with comments | « cc/output/overlay_unittest.cc ('k') | cc/test/fake_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698