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

Unified Diff: cc/test/test_context_support.h

Issue 640023004: cc: Make OutputSurface::SwapBuffers pure virtual (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@latinfo
Patch Set: and rebase Created 6 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 side-by-side diff with in-line comments
Download patch
Index: cc/test/test_context_support.h
diff --git a/cc/test/test_context_support.h b/cc/test/test_context_support.h
index c9b0d147e1d27d1a0d710284efe6a5ae2d29ce08..ceadd93a8d543acad7b108ca8f810263b9cfe81a 100644
--- a/cc/test/test_context_support.h
+++ b/cc/test/test_context_support.h
@@ -48,25 +48,11 @@ class TestContextSupport : public gpu::ContextSupport {
void SetScheduleOverlayPlaneCallback(
const ScheduleOverlayPlaneCallback& schedule_overlay_plane_callback);
- enum SwapType {
- NO_SWAP,
- SWAP,
- PARTIAL_SWAP
- };
-
- SwapType last_swap_type() const { return last_swap_type_; }
- gfx::Rect last_partial_swap_rect() const {
- return last_partial_swap_rect_;
- }
-
private:
std::vector<base::Closure> sync_point_callbacks_;
SurfaceVisibleCallback set_visible_callback_;
ScheduleOverlayPlaneCallback schedule_overlay_plane_callback_;
- SwapType last_swap_type_;
- gfx::Rect last_partial_swap_rect_;
-
base::WeakPtrFactory<TestContextSupport> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(TestContextSupport);

Powered by Google App Engine
This is Rietveld 408576698