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

Unified Diff: ui/gfx/ozone/impl/file_surface_factory_ozone.h

Issue 49303002: [Ozone] Rename software implementation files to use Dri prefix (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ifdef Created 7 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 | « ui/gfx/ozone/impl/file_surface_factory.cc ('k') | ui/gfx/ozone/impl/file_surface_factory_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/ozone/impl/file_surface_factory_ozone.h
diff --git a/ui/gfx/ozone/impl/file_surface_factory_ozone.h b/ui/gfx/ozone/impl/file_surface_factory_ozone.h
deleted file mode 100644
index 6b1df26409d4d2d743af21d28738ef84afcbcf37..0000000000000000000000000000000000000000
--- a/ui/gfx/ozone/impl/file_surface_factory_ozone.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright (c) 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_GFX_OZONE_IMPL_FILE_SURFACE_FACTORY_OZONE_H_
-#define UI_GFX_OZONE_IMPL_FILE_SURFACE_FACTORY_OZONE_H_
-
-#include "base/files/file_path.h"
-#include "base/memory/scoped_ptr.h"
-#include "ui/gfx/native_widget_types.h"
-#include "ui/gfx/ozone/surface_factory_ozone.h"
-#include "ui/gfx/skia_util.h"
-
-class SkBitmapDevice;
-class SkCanvas;
-
-namespace gfx {
-
-class FileSurfaceFactoryOzone : public SurfaceFactoryOzone {
- public:
- explicit FileSurfaceFactoryOzone(const base::FilePath& dump_location);
- virtual ~FileSurfaceFactoryOzone();
-
- private:
- // SurfaceFactoryOzone:
- virtual HardwareState InitializeHardware() OVERRIDE;
- virtual void ShutdownHardware() OVERRIDE;
- virtual AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
- virtual AcceleratedWidget RealizeAcceleratedWidget(
- AcceleratedWidget widget) OVERRIDE;
- virtual bool LoadEGLGLES2Bindings(
- AddGLLibraryCallback add_gl_library,
- SetGLGetProcAddressProcCallback set_gl_get_proc_address) OVERRIDE;
- virtual bool AttemptToResizeAcceleratedWidget(AcceleratedWidget widget,
- const Rect& bounds) OVERRIDE;
- virtual bool SchedulePageFlip(AcceleratedWidget widget) OVERRIDE;
- virtual SkCanvas* GetCanvasForWidget(AcceleratedWidget widget) OVERRIDE;
- virtual VSyncProvider* GetVSyncProvider(AcceleratedWidget widget) OVERRIDE;
-
- base::FilePath location_;
- skia::RefPtr<SkBitmapDevice> device_;
- skia::RefPtr<SkCanvas> canvas_;
-
- DISALLOW_COPY_AND_ASSIGN(FileSurfaceFactoryOzone);
-};
-
-} // namespace gfx
-
-#endif // UI_GFX_OZONE_IMPL_FILE_SURFACE_FACTORY_OZONE_H_
« no previous file with comments | « ui/gfx/ozone/impl/file_surface_factory.cc ('k') | ui/gfx/ozone/impl/file_surface_factory_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698