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

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

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
Index: ui/ozone/platform/dri/test/mock_surface_generator.h
diff --git a/ui/ozone/platform/dri/test/mock_surface_generator.h b/ui/ozone/platform/dri/test/mock_surface_generator.h
deleted file mode 100644
index e1092db4154d2a590fcb2c380a151b11b957f630..0000000000000000000000000000000000000000
--- a/ui/ozone/platform/dri/test/mock_surface_generator.h
+++ /dev/null
@@ -1,40 +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.
-
-#ifndef UI_OZONE_PLATFORM_DRI_TEST_MOCK_SURFACE_GENERATOR_H_
-#define UI_OZONE_PLATFORM_DRI_TEST_MOCK_SURFACE_GENERATOR_H_
-
-#include <vector>
-
-#include "ui/ozone/platform/dri/dri_surface.h"
-
-namespace gfx {
-class Size;
-}
-
-namespace ui {
-
-class DriWrapper;
-
-class MockSurfaceGenerator : public ScanoutSurfaceGenerator {
- public:
- MockSurfaceGenerator(DriWrapper* dri);
- virtual ~MockSurfaceGenerator();
-
- std::vector<DriSurface*> surfaces() const { return surfaces_; }
-
- // ScanoutSurfaceGenerator:
- virtual ScanoutSurface* Create(const gfx::Size& size) OVERRIDE;
-
- private:
- DriWrapper* dri_; // Not owned.
-
- std::vector<DriSurface*> surfaces_;
-
- DISALLOW_COPY_AND_ASSIGN(MockSurfaceGenerator);
-};
-
-} // namespace ui
-
-#endif // UI_OZONE_PLATFORM_DRI_TEST_MOCK_SURFACE_GENERATOR_H_
« no previous file with comments | « ui/ozone/platform/dri/test/mock_dri_wrapper.cc ('k') | ui/ozone/platform/dri/test/mock_surface_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698