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

Unified Diff: ui/ozone/platform/test/file_surface_factory.h

Issue 377973005: ozone: test: Convert to PlatformWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add dcheck 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 | « no previous file | ui/ozone/platform/test/file_surface_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/test/file_surface_factory.h
diff --git a/ui/ozone/platform/test/file_surface_factory.h b/ui/ozone/platform/test/file_surface_factory.h
deleted file mode 100644
index 54ab1046e266e2dfd3197fbea3d5b02065ca52aa..0000000000000000000000000000000000000000
--- a/ui/ozone/platform/test/file_surface_factory.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2013 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_TEST_FILE_SURFACE_FACTORY_H_
-#define UI_OZONE_PLATFORM_TEST_FILE_SURFACE_FACTORY_H_
-
-#include "base/files/file_path.h"
-#include "base/memory/scoped_ptr.h"
-#include "ui/gfx/native_widget_types.h"
-#include "ui/ozone/public/surface_factory_ozone.h"
-
-namespace ui {
-
-class OZONE_BASE_EXPORT FileSurfaceFactory : public SurfaceFactoryOzone {
- public:
- explicit FileSurfaceFactory(const base::FilePath& dump_location);
- virtual ~FileSurfaceFactory();
-
- private:
- // SurfaceFactoryOzone:
- virtual HardwareState InitializeHardware() OVERRIDE;
- virtual void ShutdownHardware() OVERRIDE;
- virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
- virtual scoped_ptr<SurfaceOzoneCanvas> CreateCanvasForWidget(
- gfx::AcceleratedWidget w) OVERRIDE;
- virtual bool LoadEGLGLES2Bindings(
- AddGLLibraryCallback add_gl_library,
- SetGLGetProcAddressProcCallback set_gl_get_proc_address) OVERRIDE;
-
- base::FilePath location_;
-
- DISALLOW_COPY_AND_ASSIGN(FileSurfaceFactory);
-};
-
-} // namespace ui
-
-#endif // UI_OZONE_PLATFORM_TEST_FILE_SURFACE_FACTORY_H_
« no previous file with comments | « no previous file | ui/ozone/platform/test/file_surface_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698