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

Unified Diff: ui/ozone/platform/dri/test/mock_surface_generator.cc

Issue 393233005: [Ozone-DRI] Convert HardwareDisplayController to use scanout buffers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 5 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
« no previous file with comments | « ui/ozone/platform/dri/test/mock_surface_generator.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/test/mock_surface_generator.cc
diff --git a/ui/ozone/platform/dri/test/mock_surface_generator.cc b/ui/ozone/platform/dri/test/mock_surface_generator.cc
deleted file mode 100644
index 69ba156f8a8d2bd721eae36b17459e138eaeaa75..0000000000000000000000000000000000000000
--- a/ui/ozone/platform/dri/test/mock_surface_generator.cc
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "ui/ozone/platform/dri/test/mock_surface_generator.h"
-
-namespace ui {
-
-MockSurfaceGenerator::MockSurfaceGenerator(DriWrapper* dri) : dri_(dri) {}
-
-MockSurfaceGenerator::~MockSurfaceGenerator() {}
-
-ScanoutSurface* MockSurfaceGenerator::Create(const gfx::Size& size) {
- surfaces_.push_back(new DriSurface(dri_, size));
- return surfaces_.back();
-}
-
-} // namespace ui
« no previous file with comments | « ui/ozone/platform/dri/test/mock_surface_generator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698