Bug 952977: Remove DocumentRendererShmem and DocumentRendererNativeID r=nical
authorDavid Zbarsky <dzbarsky@gmail.com>
Wed, 15 Jan 2014 09:26:51 -0500
changeset 163587 5f9f55f174e7923384a7fd7c505fbabf0d9edcbf
parent 163586 0946f6737699de6abc04b4fd5dc35f94691aeeb3
child 163588 12ec0bd6b782bbea922a4735a0f43c4f997e65b8
push idunknown
push userunknown
push dateunknown
reviewersnical
bugs952977
milestone29.0a1
Bug 952977: Remove DocumentRendererShmem and DocumentRendererNativeID r=nical
content/canvas/public/DocumentRendererNativeIDChild.h
content/canvas/public/DocumentRendererNativeIDParent.h
content/canvas/public/DocumentRendererShmemChild.h
content/canvas/public/DocumentRendererShmemParent.h
content/canvas/public/moz.build
deleted file mode 100644
--- a/content/canvas/public/DocumentRendererNativeIDChild.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-#ifndef mozilla_dom_DocumentRendererNativeIDChild
-#define mozilla_dom_DocumentRendererNativeIDChild
-
-#include "mozilla/ipc/PDocumentRendererNativeIDChild.h"
-
-class nsIDOMWindow;
-struct gfxMatrix;
-
-namespace mozilla {
-namespace ipc {
-
-class DocumentRendererNativeIDChild : public PDocumentRendererNativeIDChild
-{
-public:
-    DocumentRendererNativeIDChild();
-    virtual ~DocumentRendererNativeIDChild();
-
-    bool RenderDocument(nsIDOMWindow* window, const int32_t& x,
-                        const int32_t& y, const int32_t& w,
-                        const int32_t& h, const nsString& aBGColor,
-                        const uint32_t& flags, const bool& flush,
-                        const gfxMatrix& aMatrix,
-                        const int32_t& nativeID);
-
-private:
-
-    DISALLOW_EVIL_CONSTRUCTORS(DocumentRendererNativeIDChild);
-};
-
-}
-}
-
-#endif
deleted file mode 100644
--- a/content/canvas/public/DocumentRendererNativeIDParent.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-#ifndef mozilla_dom_DocumentRendererNativeIDParent
-#define mozilla_dom_DocumentRendererNativeIDParent
-
-#include "mozilla/ipc/PDocumentRendererNativeIDParent.h"
-#include "nsICanvasRenderingContextInternal.h"
-#include "nsCOMPtr.h"
-
-namespace mozilla {
-namespace ipc {
-
-class DocumentRendererNativeIDParent : public PDocumentRendererNativeIDParent
-{
-public:
-    DocumentRendererNativeIDParent();
-    virtual ~DocumentRendererNativeIDParent();
-
-    void SetCanvas(nsICanvasRenderingContextInternal* aCanvas);
-    virtual bool Recv__delete__(const int32_t& x, const int32_t& y,
-                                const int32_t& w, const int32_t& h,
-                                const uint32_t& nativeID);
-
-private:
-    nsCOMPtr<nsICanvasRenderingContextInternal> mCanvas;
-
-    DISALLOW_EVIL_CONSTRUCTORS(DocumentRendererNativeIDParent);
-};
-
-}
-}
-
-#endif
deleted file mode 100644
--- a/content/canvas/public/DocumentRendererShmemChild.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-#ifndef mozilla_dom_DocumentRendererShmemChild
-#define mozilla_dom_DocumentRendererShmemChild
-
-#include "mozilla/ipc/PDocumentRendererShmemChild.h"
-
-class nsIDOMWindow;
-struct gfxMatrix;
-
-namespace mozilla {
-namespace ipc {
-
-class DocumentRendererShmemChild : public PDocumentRendererShmemChild
-{
-public:
-    DocumentRendererShmemChild();
-    virtual ~DocumentRendererShmemChild();
-
-    bool RenderDocument(nsIDOMWindow *window, const int32_t& x,
-                        const int32_t& y, const int32_t& w,
-                        const int32_t& h, const nsString& aBGColor,
-                        const uint32_t& flags, const bool& flush,
-                        const gfxMatrix& aMatrix,
-                        Shmem& data);
-
-private:
-
-    DISALLOW_EVIL_CONSTRUCTORS(DocumentRendererShmemChild);
-};
-
-}
-}
-
-#endif
deleted file mode 100644
--- a/content/canvas/public/DocumentRendererShmemParent.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-#ifndef mozilla_dom_DocumentRendererShmemParent
-#define mozilla_dom_DocumentRendererShmemParent
-
-#include "mozilla/ipc/PDocumentRendererShmemParent.h"
-#include "nsICanvasRenderingContextInternal.h"
-#include "nsCOMPtr.h"
-
-namespace mozilla {
-namespace ipc {
-
-class DocumentRendererShmemParent : public PDocumentRendererShmemParent
-{
-public:
-    DocumentRendererShmemParent();
-    virtual ~DocumentRendererShmemParent();
-
-    void SetCanvas(nsICanvasRenderingContextInternal* aCanvas);
-    virtual bool Recv__delete__(const int32_t& x, const int32_t& y,
-                                const int32_t& w, const int32_t& h,
-                                Shmem& data);
-
-private:
-    nsCOMPtr<nsICanvasRenderingContextInternal> mCanvas;
-
-    DISALLOW_EVIL_CONSTRUCTORS(DocumentRendererShmemParent);
-};
-
-}
-}
-
-#endif
--- a/content/canvas/public/moz.build
+++ b/content/canvas/public/moz.build
@@ -12,15 +12,11 @@ XPIDL_MODULE = 'content_canvas'
 
 EXPORTS += [
     'nsICanvasElementExternal.h',
     'nsICanvasRenderingContextInternal.h',
 ]
 
 EXPORTS.mozilla.ipc += [
     'DocumentRendererChild.h',
-    'DocumentRendererNativeIDChild.h',
-    'DocumentRendererNativeIDParent.h',
     'DocumentRendererParent.h',
-    'DocumentRendererShmemChild.h',
-    'DocumentRendererShmemParent.h',
 ]