Skip to content

Commit

Permalink
Drop obsolete API
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeshkova committed Oct 14, 2014
1 parent 4acac37 commit ce38831
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 84 deletions.
7 changes: 0 additions & 7 deletions embedding/embedlite/EmbedLiteApp.cpp
Expand Up @@ -23,7 +23,6 @@
#include "EmbedLiteView.h"
#include "nsXULAppAPI.h"
#include "EmbedLiteMessagePump.h"
#include "EmbedLiteRenderTarget.h"

#include "EmbedLiteCompositorParent.h"
#include "EmbedLiteAppIface.h"
Expand Down Expand Up @@ -73,12 +72,6 @@ EmbedLiteApp::~EmbedLiteApp()
}
}

EmbedLiteRenderTarget*
EmbedLiteApp::CreateEmbedLiteRenderTarget(void* aContext, void* aSurface)
{
return new EmbedLiteRenderTarget(aContext, aSurface);
}

void
EmbedLiteApp::SetListener(EmbedLiteAppListener* aListener)
{
Expand Down
4 changes: 0 additions & 4 deletions embedding/embedlite/EmbedLiteApp.h
Expand Up @@ -26,7 +26,6 @@ class EmbedLiteAppThreadChild;
class EmbedLiteAppThreadParent;
class EmbedLiteSubThread;
class EmbedLiteView;
class EmbedLiteRenderTarget;
class EmbedLiteAppListener
{
public:
Expand Down Expand Up @@ -130,9 +129,6 @@ class EmbedLiteApp
virtual void AddObservers(nsTArray<nsCString>& observersList);
virtual void RemoveObservers(nsTArray<nsCString>& observersList);

// Create wrapper for current active GL context, for proper GL sharing.
virtual EmbedLiteRenderTarget* CreateEmbedLiteRenderTarget(void* aContext = nullptr, void* aSurface = nullptr);

// Only one EmbedHelper object allowed
static EmbedLiteApp* GetInstance();

Expand Down
31 changes: 0 additions & 31 deletions embedding/embedlite/EmbedLiteRenderTarget.cpp

This file was deleted.

37 changes: 0 additions & 37 deletions embedding/embedlite/EmbedLiteRenderTarget.h

This file was deleted.

1 change: 0 additions & 1 deletion embedding/embedlite/EmbedLiteView.h
Expand Up @@ -18,7 +18,6 @@ namespace mozilla {
namespace embedlite {

class EmbedLiteView;
class EmbedLiteRenderTarget;

class EmbedLiteViewListener
{
Expand Down
2 changes: 0 additions & 2 deletions embedding/embedlite/embedhelpers/EmbedLiteViewIface.idl
Expand Up @@ -8,7 +8,6 @@
%{C++
#include "mozilla/gfx/Matrix.h"
#include "gfxRect.h"
#include "EmbedLiteRenderTarget.h"
#include "InputData.h"
%}

Expand All @@ -22,7 +21,6 @@ class nsString;
[ref] native nsIntPoint(nsIntPoint);
[ref] native nsIntRect(nsIntRect);
[ref] native InputData(mozilla::InputData);
[ptr] native EmbedLiteRenderTarget(mozilla::embedlite::EmbedLiteRenderTarget);
[ptr] native PlatformImage(void);
[ptr] native buffer(unsigned char);

Expand Down
2 changes: 0 additions & 2 deletions embedding/embedlite/moz.build
Expand Up @@ -27,7 +27,6 @@ EXPORTS.mozilla.embedlite += [
'EmbedLiteAPI.h',
'EmbedLiteApp.h',
'EmbedLiteMessagePump.h',
'EmbedLiteRenderTarget.h',
'EmbedLiteView.h',
'utils/EmbedLog.h',
]
Expand Down Expand Up @@ -57,7 +56,6 @@ UNIFIED_SOURCES += [
]

SOURCES += [
'EmbedLiteRenderTarget.cpp',
'embedthread/EmbedLiteCompositorParent.cpp',
'embedthread/EmbedLiteViewThreadParent.cpp',
]
Expand Down

0 comments on commit ce38831

Please sign in to comment.