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

Unified Diff: cc/test/test_context_support.h

Issue 1469863003: Cleanup SurfaceVisibility code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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/gl_renderer_unittest.cc ('k') | cc/test/test_context_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_context_support.h
diff --git a/cc/test/test_context_support.h b/cc/test/test_context_support.h
index 143a3b3c673a906c274d6a62f87e4fcde46793ed..919a6666dc2c4a7efa06256276a62691d56ad399 100644
--- a/cc/test/test_context_support.h
+++ b/cc/test/test_context_support.h
@@ -28,7 +28,6 @@ class TestContextSupport : public gpu::ContextSupport {
void SignalSyncToken(const gpu::SyncToken& sync_token,
const base::Closure& callback) override;
void SignalQuery(uint32 query, const base::Closure& callback) override;
- void SetSurfaceVisible(bool visible) override;
void SetAggressivelyFreeResources(bool aggressively_free_resources) override;
void Swap() override;
void PartialSwapBuffers(const gfx::Rect& sub_buffer) override;
@@ -43,10 +42,6 @@ class TestContextSupport : public gpu::ContextSupport {
void CallAllSyncPointCallbacks();
- typedef base::Callback<void(bool visible)> SurfaceVisibleCallback;
- void SetSurfaceVisibleCallback(
- const SurfaceVisibleCallback& set_visible_callback);
-
typedef base::Callback<void(int plane_z_order,
gfx::OverlayTransform plane_transform,
unsigned overlay_texture_id,
@@ -64,7 +59,6 @@ class TestContextSupport : public gpu::ContextSupport {
private:
std::vector<base::Closure> sync_point_callbacks_;
- SurfaceVisibleCallback set_visible_callback_;
ScheduleOverlayPlaneCallback schedule_overlay_plane_callback_;
bool out_of_order_callbacks_;
« no previous file with comments | « cc/output/gl_renderer_unittest.cc ('k') | cc/test/test_context_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698