зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1417365 - Unified build issues in dom/base. r=baku
This commit is contained in:
Родитель
7c5d39a558
Коммит
62787012f8
|
@ -17,6 +17,7 @@
|
||||||
#include "mozilla/dom/Animation.h"
|
#include "mozilla/dom/Animation.h"
|
||||||
#include "mozilla/dom/Attr.h"
|
#include "mozilla/dom/Attr.h"
|
||||||
#include "mozilla/dom/Grid.h"
|
#include "mozilla/dom/Grid.h"
|
||||||
|
#include "mozilla/gfx/Matrix.h"
|
||||||
#include "nsDOMAttributeMap.h"
|
#include "nsDOMAttributeMap.h"
|
||||||
#include "nsAtom.h"
|
#include "nsAtom.h"
|
||||||
#include "nsIContentInlines.h"
|
#include "nsIContentInlines.h"
|
||||||
|
@ -161,6 +162,8 @@
|
||||||
using namespace mozilla;
|
using namespace mozilla;
|
||||||
using namespace mozilla::dom;
|
using namespace mozilla::dom;
|
||||||
|
|
||||||
|
using mozilla::gfx::Matrix4x4;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Verify sizes of elements on 64-bit platforms. This should catch most memory
|
// Verify sizes of elements on 64-bit platforms. This should catch most memory
|
||||||
// regressions, and is easy to verify locally since most developers are on
|
// regressions, and is easy to verify locally since most developers are on
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
#include "mozilla/dom/WorkerScope.h"
|
#include "mozilla/dom/WorkerScope.h"
|
||||||
#include "mozilla/UniquePtrExtensions.h"
|
#include "mozilla/UniquePtrExtensions.h"
|
||||||
#include "nsAutoPtr.h"
|
#include "nsAutoPtr.h"
|
||||||
|
#include "nsIThreadRetargetableStreamListener.h"
|
||||||
#include "nsNetUtil.h"
|
#include "nsNetUtil.h"
|
||||||
#include "nsIAuthPrompt.h"
|
#include "nsIAuthPrompt.h"
|
||||||
#include "nsIAuthPrompt2.h"
|
#include "nsIAuthPrompt2.h"
|
||||||
|
|
|
@ -9,6 +9,10 @@
|
||||||
|
|
||||||
#include "ImageTracker.h"
|
#include "ImageTracker.h"
|
||||||
|
|
||||||
|
#include "imgIRequest.h"
|
||||||
|
#include "mozilla/Preferences.h"
|
||||||
|
#include "nsXULAppAPI.h"
|
||||||
|
|
||||||
namespace mozilla {
|
namespace mozilla {
|
||||||
namespace dom {
|
namespace dom {
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
#include "IntlUtils.h"
|
#include "IntlUtils.h"
|
||||||
|
|
||||||
|
#include "mozilla/dom/ToJSValue.h"
|
||||||
#include "mozIMozIntl.h"
|
#include "mozIMozIntl.h"
|
||||||
#include "nsContentUtils.h"
|
#include "nsContentUtils.h"
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,8 @@
|
||||||
#define mozilla_dom_IntlUtils_h
|
#define mozilla_dom_IntlUtils_h
|
||||||
|
|
||||||
#include "mozilla/dom/IntlUtilsBinding.h"
|
#include "mozilla/dom/IntlUtilsBinding.h"
|
||||||
|
#include "nsWrapperCache.h"
|
||||||
|
#include "xpcprivate.h"
|
||||||
|
|
||||||
class nsPIDOMWindowInner;
|
class nsPIDOMWindowInner;
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
#ifndef mozilla_dom_Pose_h
|
#ifndef mozilla_dom_Pose_h
|
||||||
#define mozilla_dom_Pose_h
|
#define mozilla_dom_Pose_h
|
||||||
|
|
||||||
|
#include "mozilla/ErrorResult.h"
|
||||||
#include "nsWrapperCache.h"
|
#include "nsWrapperCache.h"
|
||||||
|
|
||||||
namespace mozilla {
|
namespace mozilla {
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
#ifndef mozilla_dom_PostMessageEvent_h
|
#ifndef mozilla_dom_PostMessageEvent_h
|
||||||
#define mozilla_dom_PostMessageEvent_h
|
#define mozilla_dom_PostMessageEvent_h
|
||||||
|
|
||||||
|
#include "mozilla/dom/Event.h"
|
||||||
#include "mozilla/dom/StructuredCloneHolder.h"
|
#include "mozilla/dom/StructuredCloneHolder.h"
|
||||||
#include "nsCOMPtr.h"
|
#include "nsCOMPtr.h"
|
||||||
#include "mozilla/RefPtr.h"
|
#include "mozilla/RefPtr.h"
|
||||||
|
|
|
@ -10,7 +10,11 @@
|
||||||
|
|
||||||
#include "SelectionChangeListener.h"
|
#include "SelectionChangeListener.h"
|
||||||
|
|
||||||
|
#include "mozilla/AsyncEventDispatcher.h"
|
||||||
|
#include "nsCOMPtr.h"
|
||||||
#include "nsContentUtils.h"
|
#include "nsContentUtils.h"
|
||||||
|
#include "nsIDocument.h"
|
||||||
|
#include "nsIDOMDocument.h"
|
||||||
#include "nsFrameSelection.h"
|
#include "nsFrameSelection.h"
|
||||||
#include "nsRange.h"
|
#include "nsRange.h"
|
||||||
#include "Selection.h"
|
#include "Selection.h"
|
||||||
|
|
|
@ -9,12 +9,11 @@
|
||||||
#include "js/StructuredClone.h"
|
#include "js/StructuredClone.h"
|
||||||
#include "js/Utility.h"
|
#include "js/Utility.h"
|
||||||
#include "jswrapper.h"
|
#include "jswrapper.h"
|
||||||
|
#include "mozilla/dom/BlobImpl.h"
|
||||||
#include "xpcpublic.h"
|
#include "mozilla/dom/StructuredCloneTags.h"
|
||||||
|
|
||||||
#include "mozilla/Maybe.h"
|
#include "mozilla/Maybe.h"
|
||||||
#include "mozilla/UniquePtr.h"
|
#include "mozilla/UniquePtr.h"
|
||||||
#include "mozilla/dom/StructuredCloneTags.h"
|
#include "xpcpublic.h"
|
||||||
|
|
||||||
namespace mozilla {
|
namespace mozilla {
|
||||||
namespace dom {
|
namespace dom {
|
||||||
|
|
|
@ -22,9 +22,8 @@
|
||||||
#include "nsTextFragment.h"
|
#include "nsTextFragment.h"
|
||||||
#include "nsThreadUtils.h"
|
#include "nsThreadUtils.h"
|
||||||
|
|
||||||
using mozilla::Maybe;
|
using namespace mozilla;
|
||||||
using mozilla::Move;
|
|
||||||
using mozilla::NonOwningAnimationTarget;
|
|
||||||
using mozilla::dom::TreeOrderComparator;
|
using mozilla::dom::TreeOrderComparator;
|
||||||
using mozilla::dom::Animation;
|
using mozilla::dom::Animation;
|
||||||
using mozilla::dom::Element;
|
using mozilla::dom::Element;
|
||||||
|
|
|
@ -4,13 +4,10 @@
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* 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/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
// Local Includes
|
|
||||||
#include "nsDOMWindowList.h"
|
#include "nsDOMWindowList.h"
|
||||||
|
|
||||||
// Helper classes
|
#include "FlushType.h"
|
||||||
#include "nsCOMPtr.h"
|
#include "nsCOMPtr.h"
|
||||||
|
|
||||||
// Interfaces needed
|
|
||||||
#include "nsIDocument.h"
|
#include "nsIDocument.h"
|
||||||
#include "nsIDOMDocument.h"
|
#include "nsIDOMDocument.h"
|
||||||
#include "nsIDOMWindow.h"
|
#include "nsIDOMWindow.h"
|
||||||
|
@ -19,6 +16,8 @@
|
||||||
#include "nsIScriptGlobalObject.h"
|
#include "nsIScriptGlobalObject.h"
|
||||||
#include "nsIWebNavigation.h"
|
#include "nsIWebNavigation.h"
|
||||||
|
|
||||||
|
using namespace mozilla;
|
||||||
|
|
||||||
nsDOMWindowList::nsDOMWindowList(nsIDocShell *aDocShell)
|
nsDOMWindowList::nsDOMWindowList(nsIDocShell *aDocShell)
|
||||||
{
|
{
|
||||||
SetDocShell(aDocShell);
|
SetDocShell(aDocShell);
|
||||||
|
|
|
@ -7,8 +7,6 @@
|
||||||
#include "nsGkAtoms.h"
|
#include "nsGkAtoms.h"
|
||||||
#include "nsStaticAtom.h"
|
#include "nsStaticAtom.h"
|
||||||
|
|
||||||
using namespace mozilla;
|
|
||||||
|
|
||||||
#define GK_ATOM(name_, value_) NS_STATIC_ATOM_DEFN(nsGkAtoms, name_)
|
#define GK_ATOM(name_, value_) NS_STATIC_ATOM_DEFN(nsGkAtoms, name_)
|
||||||
#include "nsGkAtomList.h"
|
#include "nsGkAtomList.h"
|
||||||
#undef GK_ATOM
|
#undef GK_ATOM
|
||||||
|
|
|
@ -2584,9 +2584,9 @@ nsINode::GetAccessibleNode()
|
||||||
#ifdef ACCESSIBILITY
|
#ifdef ACCESSIBILITY
|
||||||
RefPtr<AccessibleNode> anode = new AccessibleNode(this);
|
RefPtr<AccessibleNode> anode = new AccessibleNode(this);
|
||||||
return anode.forget();
|
return anode.forget();
|
||||||
#endif
|
#else
|
||||||
|
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
#include "mozilla/dom/Element.h"
|
#include "mozilla/dom/Element.h"
|
||||||
#include "mozilla/dom/ScriptSettings.h"
|
#include "mozilla/dom/ScriptSettings.h"
|
||||||
|
|
||||||
|
using namespace mozilla;
|
||||||
using namespace mozilla::dom;
|
using namespace mozilla::dom;
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
|
|
@ -26,6 +26,8 @@
|
||||||
#include "nsStreamUtils.h"
|
#include "nsStreamUtils.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
|
using namespace mozilla;
|
||||||
|
|
||||||
using mozilla::net::ReferrerPolicy;
|
using mozilla::net::ReferrerPolicy;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -7,12 +7,14 @@
|
||||||
#include "nsTreeSanitizer.h"
|
#include "nsTreeSanitizer.h"
|
||||||
|
|
||||||
#include "mozilla/ArrayUtils.h"
|
#include "mozilla/ArrayUtils.h"
|
||||||
|
#include "mozilla/DeclarationBlock.h"
|
||||||
#include "mozilla/ServoDeclarationBlock.h"
|
#include "mozilla/ServoDeclarationBlock.h"
|
||||||
#include "mozilla/StyleSheetInlines.h"
|
#include "mozilla/StyleSheetInlines.h"
|
||||||
#include "mozilla/css/Declaration.h"
|
#include "mozilla/css/Declaration.h"
|
||||||
#include "mozilla/css/StyleRule.h"
|
#include "mozilla/css/StyleRule.h"
|
||||||
#include "mozilla/css/Rule.h"
|
#include "mozilla/css/Rule.h"
|
||||||
#include "mozilla/dom/CSSRuleList.h"
|
#include "mozilla/dom/CSSRuleList.h"
|
||||||
|
#include "mozilla/dom/SRIMetadata.h"
|
||||||
#include "nsCSSParser.h"
|
#include "nsCSSParser.h"
|
||||||
#include "nsCSSPropertyID.h"
|
#include "nsCSSPropertyID.h"
|
||||||
#include "nsUnicharInputStream.h"
|
#include "nsUnicharInputStream.h"
|
||||||
|
@ -28,6 +30,7 @@
|
||||||
#include "nsQueryObject.h"
|
#include "nsQueryObject.h"
|
||||||
|
|
||||||
using namespace mozilla;
|
using namespace mozilla;
|
||||||
|
using namespace mozilla::dom;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Thanks to Mark Pilgrim and Sam Ruby for the initial whitelist
|
// Thanks to Mark Pilgrim and Sam Ruby for the initial whitelist
|
||||||
|
|
Загрузка…
Ссылка в новой задаче