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

Unified Diff: cc/test/test_context_support.cc

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/test/test_context_support.h ('k') | components/mus/gles2/command_buffer_local.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_context_support.cc
diff --git a/cc/test/test_context_support.cc b/cc/test/test_context_support.cc
index 55fdee4536b8ef1d7d1853135017679688ee8b21..b871f4da813ce48f9ee91bbc7cf982d2b09e527b 100644
--- a/cc/test/test_context_support.cc
+++ b/cc/test/test_context_support.cc
@@ -40,12 +40,6 @@ void TestContextSupport::SignalQuery(uint32 query,
weak_ptr_factory_.GetWeakPtr()));
}
-void TestContextSupport::SetSurfaceVisible(bool visible) {
- if (!set_visible_callback_.is_null()) {
- set_visible_callback_.Run(visible);
- }
-}
-
void TestContextSupport::SetAggressivelyFreeResources(
bool aggressively_free_resources) {
}
@@ -66,11 +60,6 @@ void TestContextSupport::CallAllSyncPointCallbacks() {
sync_point_callbacks_.clear();
}
-void TestContextSupport::SetSurfaceVisibleCallback(
- const SurfaceVisibleCallback& set_visible_callback) {
- set_visible_callback_ = set_visible_callback;
-}
-
void TestContextSupport::SetScheduleOverlayPlaneCallback(
const ScheduleOverlayPlaneCallback& schedule_overlay_plane_callback) {
schedule_overlay_plane_callback_ = schedule_overlay_plane_callback;
« no previous file with comments | « cc/test/test_context_support.h ('k') | components/mus/gles2/command_buffer_local.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698