Skip to content

Commit

Permalink
Bug 1259590 - Remove B2G ACL code. r=khuey
Browse files Browse the repository at this point in the history
  • Loading branch information
William Chen committed Apr 7, 2016
1 parent 8987d39 commit 7bbb04c
Show file tree
Hide file tree
Showing 31 changed files with 22 additions and 387 deletions.
5 changes: 0 additions & 5 deletions dom/apps/PermissionsTable.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -487,11 +487,6 @@ this.PermissionsTable = { geolocation: {
privileged: DENY_ACTION,
certified: ALLOW_ACTION
},
"external-app": {
app: DENY_ACTION,
privileged: ALLOW_ACTION,
certified: ALLOW_ACTION
},
"system-update": {
app: DENY_ACTION,
privileged: DENY_ACTION,
Expand Down
1 change: 0 additions & 1 deletion dom/base/nsGkAtomList.h
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,6 @@ GK_ATOM(excludeResultPrefixes, "exclude-result-prefixes")
GK_ATOM(excludes, "excludes")
GK_ATOM(expr, "expr")
GK_ATOM(expectingSystemMessage, "expecting-system-message")
GK_ATOM(extapp, "extapp")
GK_ATOM(extends, "extends")
GK_ATOM(extensionElementPrefixes, "extension-element-prefixes")
GK_ATOM(face, "face")
Expand Down
185 changes: 0 additions & 185 deletions dom/html/HTMLExtAppElement.cpp

This file was deleted.

79 changes: 0 additions & 79 deletions dom/html/HTMLExtAppElement.h

This file was deleted.

2 changes: 1 addition & 1 deletion dom/html/HTMLMediaElement.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ class HTMLMediaElement : public nsGenericHTMLElement,

// Called by the media decoder and the video frame to get the
// ImageContainer containing the video data.
B2G_ACL_EXPORT virtual VideoFrameContainer* GetVideoFrameContainer() final override;
virtual VideoFrameContainer* GetVideoFrameContainer() final override;
layers::ImageContainer* GetImageContainer();

// From PrincipalChangeObserver<DOMMediaStream>.
Expand Down
1 change: 1 addition & 0 deletions dom/html/HTMLSummaryElement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include "mozilla/dom/HTMLDetailsElement.h"
#include "mozilla/dom/HTMLElementBinding.h"
#include "mozilla/dom/HTMLUnknownElement.h"
#include "mozilla/EventDispatcher.h"
#include "mozilla/MouseEvents.h"
#include "mozilla/Preferences.h"
#include "mozilla/TextEvents.h"
Expand Down
2 changes: 0 additions & 2 deletions dom/html/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ EXPORTS.mozilla.dom += [
'HTMLDataListElement.h',
'HTMLDetailsElement.h',
'HTMLDivElement.h',
'HTMLExtAppElement.h',
'HTMLFieldSetElement.h',
'HTMLFontElement.h',
'HTMLFormControlsCollection.h',
Expand Down Expand Up @@ -138,7 +137,6 @@ UNIFIED_SOURCES += [
'HTMLDetailsElement.cpp',
'HTMLDivElement.cpp',
'HTMLElement.cpp',
'HTMLExtAppElement.cpp',
'HTMLFieldSetElement.cpp',
'HTMLFontElement.cpp',
'HTMLFormControlsCollection.cpp',
Expand Down
2 changes: 2 additions & 0 deletions dom/html/nsFormSubmission.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@
#include "mozilla/dom/File.h"

using namespace mozilla;
using mozilla::dom::Blob;
using mozilla::dom::EncodingUtils;
using mozilla::dom::File;

static void
SendJSWarning(nsIDocument* aDocument,
Expand Down
1 change: 0 additions & 1 deletion dom/html/nsGenericHTMLElement.h
Original file line number Diff line number Diff line change
Expand Up @@ -1772,7 +1772,6 @@ NS_DECLARE_NS_NEW_HTML_ELEMENT(Data)
NS_DECLARE_NS_NEW_HTML_ELEMENT(DataList)
NS_DECLARE_NS_NEW_HTML_ELEMENT(Details)
NS_DECLARE_NS_NEW_HTML_ELEMENT(Div)
NS_DECLARE_NS_NEW_HTML_ELEMENT(ExtApp)
NS_DECLARE_NS_NEW_HTML_ELEMENT(FieldSet)
NS_DECLARE_NS_NEW_HTML_ELEMENT(Font)
NS_DECLARE_NS_NEW_HTML_ELEMENT(Form)
Expand Down
1 change: 0 additions & 1 deletion dom/html/test/mochitest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,6 @@ support-files = file_bug871161-1.html file_bug871161-2.html
skip-if = buildapp == 'b2g' || (e10s && debug && os == 'win') # bug 1129014
[test_img_complete.html]
[test_viewport_resize.html]
[test_extapp.html]
[test_image_clone_load.html]
[test_bug1203668.html]
[test_bug1166138.html]
Expand Down
11 changes: 0 additions & 11 deletions dom/html/test/test_extapp.html

This file was deleted.

8 changes: 4 additions & 4 deletions dom/media/VideoFrameContainer.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class HTMLMediaElement;
* confusing.
*/
class VideoFrameContainer {
B2G_ACL_EXPORT ~VideoFrameContainer();
~VideoFrameContainer();

public:
typedef layers::ImageContainer ImageContainer;
Expand All @@ -50,7 +50,7 @@ class VideoFrameContainer {
// aFrameID is ignored if aPrincipalHandle already is our pending principalHandle.
void UpdatePrincipalHandleForFrameID(const PrincipalHandle& aPrincipalHandle,
const ImageContainer::FrameID& aFrameID);
B2G_ACL_EXPORT void SetCurrentFrame(const gfx::IntSize& aIntrinsicSize, Image* aImage,
void SetCurrentFrame(const gfx::IntSize& aIntrinsicSize, Image* aImage,
const TimeStamp& aTargetTime);
void SetCurrentFrames(const gfx::IntSize& aIntrinsicSize,
const nsTArray<ImageContainer::NonOwningImage>& aImages);
Expand Down Expand Up @@ -82,8 +82,8 @@ class VideoFrameContainer {
INVALIDATE_FORCE
};
void Invalidate() { InvalidateWithFlags(INVALIDATE_DEFAULT); }
B2G_ACL_EXPORT void InvalidateWithFlags(uint32_t aFlags);
B2G_ACL_EXPORT ImageContainer* GetImageContainer();
void InvalidateWithFlags(uint32_t aFlags);
ImageContainer* GetImageContainer();
void ForgetElement() { mElement = nullptr; }

uint32_t GetDroppedImageCount() { return mImageContainer->GetDroppedImageCount(); }
Expand Down
Loading

0 comments on commit 7bbb04c

Please sign in to comment.