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

Unified Diff: ui/ozone/platform/caca/caca_surface_factory.h

Issue 387953004: ozone: caca: Convert to PlatformWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & nits 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/caca/caca_event_factory.cc ('k') | ui/ozone/platform/caca/caca_surface_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/caca/caca_surface_factory.h
diff --git a/ui/ozone/platform/caca/caca_surface_factory.h b/ui/ozone/platform/caca/caca_surface_factory.h
deleted file mode 100644
index a07033ae54bbac9a920fe89ba1f221306729f5f7..0000000000000000000000000000000000000000
--- a/ui/ozone/platform/caca/caca_surface_factory.h
+++ /dev/null
@@ -1,46 +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_CACA_CACA_SURFACE_FACTORY_H_
-#define UI_OZONE_PLATFORM_CACA_CACA_SURFACE_FACTORY_H_
-
-#include <caca.h>
-
-#include "base/memory/scoped_ptr.h"
-#include "ui/ozone/public/surface_factory_ozone.h"
-
-namespace gfx {
-class SurfaceOzone;
-}
-
-namespace ui {
-
-class CacaConnection;
-
-class CacaSurfaceFactory : public ui::SurfaceFactoryOzone {
- public:
- CacaSurfaceFactory(CacaConnection* connection);
- virtual ~CacaSurfaceFactory();
-
- // ui::SurfaceFactoryOzone overrides:
- virtual HardwareState InitializeHardware() OVERRIDE;
- virtual void ShutdownHardware() OVERRIDE;
- virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
- virtual bool LoadEGLGLES2Bindings(
- AddGLLibraryCallback add_gl_library,
- SetGLGetProcAddressProcCallback set_gl_get_proc_address) OVERRIDE;
- virtual scoped_ptr<ui::SurfaceOzoneCanvas> CreateCanvasForWidget(
- gfx::AcceleratedWidget widget) OVERRIDE;
-
- private:
- HardwareState state_;
-
- CacaConnection* connection_; // Not owned.
-
- DISALLOW_COPY_AND_ASSIGN(CacaSurfaceFactory);
-};
-
-} // namespace ui
-
-#endif // UI_OZONE_PLATFORM_CACA_CACA_SURFACE_FACTORY_H_
« no previous file with comments | « ui/ozone/platform/caca/caca_event_factory.cc ('k') | ui/ozone/platform/caca/caca_surface_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698