[chromium] Remove unused WebIOSurfaceLayer type
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 12 Mar 2013 18:26:51 +0000 (18:26 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 12 Mar 2013 18:26:51 +0000 (18:26 +0000)
https://bugs.webkit.org/show_bug.cgi?id=111796

Patch by James Robinson <jamesr@chromium.org> on 2013-03-12
Reviewed by Adrienne Walker.

This has been dead code since http://trac.webkit.org/changeset/138223

* Platform.gypi:
* chromium/public/WebCompositorSupport.h:
(WebKit):
* chromium/public/WebIOSurfaceLayer.h: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@145568 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/Platform/ChangeLog
Source/Platform/Platform.gypi
Source/Platform/chromium/public/WebCompositorSupport.h
Source/Platform/chromium/public/WebIOSurfaceLayer.h [deleted file]

index 1471aac..5e90ad1 100644 (file)
@@ -1,3 +1,17 @@
+2013-03-12  James Robinson  <jamesr@chromium.org>
+
+        [chromium] Remove unused WebIOSurfaceLayer type
+        https://bugs.webkit.org/show_bug.cgi?id=111796
+
+        Reviewed by Adrienne Walker.
+
+        This has been dead code since http://trac.webkit.org/changeset/138223
+
+        * Platform.gypi:
+        * chromium/public/WebCompositorSupport.h:
+        (WebKit):
+        * chromium/public/WebIOSurfaceLayer.h: Removed.
+
 2013-03-12  Zan Dobersek  <zdobersek@igalia.com>
 
         [GTK] Set up the libPlatformGtk.la library
index 122eef9..60ac1b8 100644 (file)
@@ -81,7 +81,6 @@
             'chromium/public/WebHyphenator.h',
             'chromium/public/WebImage.h',
             'chromium/public/WebImageLayer.h',
-            'chromium/public/WebIOSurfaceLayer.h',
             'chromium/public/WebLayer.h',
             'chromium/public/WebLayerScrollClient.h',
             'chromium/public/WebLayerTreeView.h',
index a1d1c40..d6d58bb 100644 (file)
@@ -41,7 +41,6 @@ class WebExternalTextureLayer;
 class WebExternalTextureLayerClient;
 class WebFloatAnimationCurve;
 class WebGraphicsContext3D;
-class WebIOSurfaceLayer;
 class WebImageLayer;
 class WebLayer;
 class WebScrollbar;
@@ -80,8 +79,6 @@ public:
 
     virtual WebExternalTextureLayer* createExternalTextureLayer(WebExternalTextureLayerClient* = 0) { return 0; }
 
-    virtual WebIOSurfaceLayer* createIOSurfaceLayer() { return 0; }
-
     virtual WebImageLayer* createImageLayer() { return 0; }
 
     virtual WebSolidColorLayer* createSolidColorLayer() { return 0; }
diff --git a/Source/Platform/chromium/public/WebIOSurfaceLayer.h b/Source/Platform/chromium/public/WebIOSurfaceLayer.h
deleted file mode 100644 (file)
index 1131fb7..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Copyright (C) 2012 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1.  Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- * 2.  Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef WebIOSurfaceLayer_h
-#define WebIOSurfaceLayer_h
-
-#include "WebCommon.h"
-#include "WebLayer.h"
-#include "WebSize.h"
-
-namespace WebKit {
-
-// This class represents a layer that renders an externally managed IOSurface.
-class WebIOSurfaceLayer {
-public:
-    virtual ~WebIOSurfaceLayer() { }
-
-    virtual WebLayer* layer() = 0;
-
-    // Sets the IO surface id that represents this layer's contents.
-    virtual void setIOSurfaceProperties(unsigned ioSurfaceId, WebSize) = 0;
-};
-
-} // namespace WebKit
-
-#endif // WebIOSurfaceLayer_h