diff --git a/dom/ipc/ContentChild.cpp b/dom/ipc/ContentChild.cpp index 2887b2c4f190..755e479cf85f 100644 --- a/dom/ipc/ContentChild.cpp +++ b/dom/ipc/ContentChild.cpp @@ -117,6 +117,7 @@ #include "AudioChannelService.h" #include "JavaScriptChild.h" #include "mozilla/dom/telephony/PTelephonyChild.h" +#include "mozilla/net/NeckoMessageUtils.h" using namespace base; using namespace mozilla; diff --git a/dom/ipc/ContentParent.cpp b/dom/ipc/ContentParent.cpp index 8df99afdbe3e..3ae773bb5b39 100644 --- a/dom/ipc/ContentParent.cpp +++ b/dom/ipc/ContentParent.cpp @@ -91,6 +91,7 @@ #include "URIUtils.h" #include "nsIWebBrowserChrome.h" #include "nsIDocShell.h" +#include "mozilla/net/NeckoMessageUtils.h" #if defined(ANDROID) || defined(LINUX) #include "nsSystemInfo.h" diff --git a/dom/ipc/TabChild.cpp b/dom/ipc/TabChild.cpp index 20510fc8898c..bba78399a77b 100644 --- a/dom/ipc/TabChild.cpp +++ b/dom/ipc/TabChild.cpp @@ -69,6 +69,7 @@ #include "JavaScriptChild.h" #include "APZCCallbackHelper.h" #include "nsILoadContext.h" +#include "ipc/nsGUIEventIPC.h" #define BROWSER_ELEMENT_CHILD_SCRIPT \ NS_LITERAL_STRING("chrome://global/content/BrowserElementChild.js") diff --git a/dom/ipc/TabChild.h b/dom/ipc/TabChild.h index 87ea2f4a3cb8..cdfbc6271768 100644 --- a/dom/ipc/TabChild.h +++ b/dom/ipc/TabChild.h @@ -35,6 +35,7 @@ #include "mozilla/Attributes.h" #include "mozilla/dom/TabContext.h" #include "mozilla/EventForwards.h" +#include "mozilla/layers/CompositorTypes.h" struct gfxMatrix; class nsICachedFileDescriptorListener; @@ -45,10 +46,6 @@ namespace layout { class RenderFrameChild; } -namespace layers { -struct TextureFactoryIdentifier; -} - namespace dom { class TabChild; diff --git a/dom/ipc/TabParent.h b/dom/ipc/TabParent.h index ecdbf899a543..bfbc9644ebc8 100644 --- a/dom/ipc/TabParent.h +++ b/dom/ipc/TabParent.h @@ -22,7 +22,9 @@ struct gfxMatrix; class nsFrameLoader; +class nsIContent; class nsIURI; +class nsIWidget; class CpowHolder; namespace mozilla { diff --git a/dom/media/MediaPermissionGonk.cpp b/dom/media/MediaPermissionGonk.cpp index 3f14f2efc3aa..a4f18ed0ae6b 100644 --- a/dom/media/MediaPermissionGonk.cpp +++ b/dom/media/MediaPermissionGonk.cpp @@ -20,6 +20,7 @@ #include "mozilla/dom/MediaStreamTrackBinding.h" #include "nsISupportsPrimitives.h" #include "nsServiceManagerUtils.h" +#include "mozilla/dom/PermissionMessageUtils.h" #define AUDIO_PERMISSION_NAME "audio-capture" diff --git a/dom/plugins/ipc/PluginModuleChild.h b/dom/plugins/ipc/PluginModuleChild.h index 0cb69fd9c49b..e65f678e623f 100644 --- a/dom/plugins/ipc/PluginModuleChild.h +++ b/dom/plugins/ipc/PluginModuleChild.h @@ -31,6 +31,7 @@ #include "mozilla/plugins/PPluginModuleChild.h" #include "mozilla/plugins/PluginInstanceChild.h" #include "mozilla/plugins/PluginIdentifierChild.h" +#include "mozilla/plugins/PluginMessageUtils.h" // NOTE: stolen from nsNPAPIPlugin.h diff --git a/dom/plugins/ipc/PluginModuleParent.h b/dom/plugins/ipc/PluginModuleParent.h index 040b72235b63..c3c970e8bcd8 100644 --- a/dom/plugins/ipc/PluginModuleParent.h +++ b/dom/plugins/ipc/PluginModuleParent.h @@ -13,6 +13,7 @@ #include "mozilla/plugins/ScopedMethodFactory.h" #include "mozilla/plugins/PluginProcessParent.h" #include "mozilla/plugins/PPluginModuleParent.h" +#include "mozilla/plugins/PluginMessageUtils.h" #include "npapi.h" #include "npfunctions.h" #include "nsAutoPtr.h" diff --git a/dom/plugins/ipc/PluginScriptableObjectChild.h b/dom/plugins/ipc/PluginScriptableObjectChild.h index 5c23aa8525b9..f92e8b035d50 100644 --- a/dom/plugins/ipc/PluginScriptableObjectChild.h +++ b/dom/plugins/ipc/PluginScriptableObjectChild.h @@ -8,6 +8,7 @@ #define dom_plugins_PluginScriptableObjectChild_h 1 #include "mozilla/plugins/PPluginScriptableObjectChild.h" +#include "mozilla/plugins/PluginMessageUtils.h" #include "npruntime.h" diff --git a/dom/plugins/ipc/PluginScriptableObjectParent.h b/dom/plugins/ipc/PluginScriptableObjectParent.h index 75ed6feb156c..fc2cf09b9960 100644 --- a/dom/plugins/ipc/PluginScriptableObjectParent.h +++ b/dom/plugins/ipc/PluginScriptableObjectParent.h @@ -8,6 +8,7 @@ #define dom_plugins_PluginScriptableObjectParent_h 1 #include "mozilla/plugins/PPluginScriptableObjectParent.h" +#include "mozilla/plugins/PluginMessageUtils.h" #include "npfunctions.h" #include "npruntime.h" diff --git a/dom/src/geolocation/nsGeolocation.cpp b/dom/src/geolocation/nsGeolocation.cpp index f75810bafcb4..e7a7836ac2e6 100644 --- a/dom/src/geolocation/nsGeolocation.cpp +++ b/dom/src/geolocation/nsGeolocation.cpp @@ -24,6 +24,7 @@ #include "mozilla/Preferences.h" #include "mozilla/ClearOnShutdown.h" #include "PCOMContentPermissionRequestChild.h" +#include "mozilla/dom/PermissionMessageUtils.h" class nsIPrincipal; diff --git a/dom/src/notification/Notification.cpp b/dom/src/notification/Notification.cpp index c4d0c9fa6f04..7f4de6d609aa 100644 --- a/dom/src/notification/Notification.cpp +++ b/dom/src/notification/Notification.cpp @@ -23,6 +23,7 @@ #include "nsGlobalWindow.h" #include "nsDOMJSUtils.h" #include "nsIScriptSecurityManager.h" +#include "mozilla/dom/PermissionMessageUtils.h" #ifdef MOZ_B2G #include "nsIDOMDesktopNotification.h" #endif diff --git a/extensions/cookie/nsPermissionManager.cpp b/extensions/cookie/nsPermissionManager.cpp index a2e3fa90a798..461dc516a4e1 100644 --- a/extensions/cookie/nsPermissionManager.cpp +++ b/extensions/cookie/nsPermissionManager.cpp @@ -32,6 +32,7 @@ #include "nsIEffectiveTLDService.h" #include "nsPIDOMWindow.h" #include "nsIDocument.h" +#include "mozilla/net/NeckoMessageUtils.h" static nsPermissionManager *gPermissionManager = nullptr; diff --git a/layout/base/nsPresContext.cpp b/layout/base/nsPresContext.cpp index be6e2510e412..dafcdc8ebe69 100644 --- a/layout/base/nsPresContext.cpp +++ b/layout/base/nsPresContext.cpp @@ -51,6 +51,7 @@ #include "mozilla/dom/TabChild.h" #include "nsRefreshDriver.h" #include "Layers.h" +#include "nsIDOMEvent.h" #include "nsContentUtils.h" #include "nsCxPusher.h" diff --git a/netwerk/cookie/CookieServiceChild.cpp b/netwerk/cookie/CookieServiceChild.cpp index 59ed33b2ae0d..40b51502781e 100644 --- a/netwerk/cookie/CookieServiceChild.cpp +++ b/netwerk/cookie/CookieServiceChild.cpp @@ -10,6 +10,7 @@ #include "nsIPrefService.h" #include "nsIPrefBranch.h" #include "nsNetUtil.h" +#include "SerializedLoadContext.h" using namespace mozilla::ipc; diff --git a/netwerk/cookie/CookieServiceParent.cpp b/netwerk/cookie/CookieServiceParent.cpp index f12a0718a5d2..7f3887b23c2e 100644 --- a/netwerk/cookie/CookieServiceParent.cpp +++ b/netwerk/cookie/CookieServiceParent.cpp @@ -11,6 +11,7 @@ #include "nsCookieService.h" #include "nsNetUtil.h" #include "nsPrintfCString.h" +#include "SerializedLoadContext.h" using namespace mozilla::ipc; using mozilla::dom::PContentParent; diff --git a/netwerk/ipc/NeckoChild.cpp b/netwerk/ipc/NeckoChild.cpp index 50abf2e78048..0ca0bec71a99 100644 --- a/netwerk/ipc/NeckoChild.cpp +++ b/netwerk/ipc/NeckoChild.cpp @@ -19,6 +19,7 @@ #ifdef MOZ_RTSP #include "mozilla/net/RtspControllerChild.h" #endif +#include "SerializedLoadContext.h" using mozilla::dom::TCPSocketChild; using mozilla::dom::TCPServerSocketChild; diff --git a/netwerk/ipc/NeckoParent.cpp b/netwerk/ipc/NeckoParent.cpp index ca208e0eb959..d3cbf4f941a4 100644 --- a/netwerk/ipc/NeckoParent.cpp +++ b/netwerk/ipc/NeckoParent.cpp @@ -28,6 +28,7 @@ #include "nsIAppsService.h" #include "nsEscape.h" #include "RemoteOpenFileParent.h" +#include "SerializedLoadContext.h" using mozilla::dom::ContentParent; using mozilla::dom::TabParent; diff --git a/netwerk/protocol/ftp/FTPChannelChild.cpp b/netwerk/protocol/ftp/FTPChannelChild.cpp index 38c6407684d6..8de70d392550 100644 --- a/netwerk/protocol/ftp/FTPChannelChild.cpp +++ b/netwerk/protocol/ftp/FTPChannelChild.cpp @@ -15,6 +15,7 @@ #include "base/compiler_specific.h" #include "mozilla/ipc/InputStreamUtils.h" #include "mozilla/ipc/URIUtils.h" +#include "SerializedLoadContext.h" using namespace mozilla::ipc; diff --git a/netwerk/protocol/ftp/FTPChannelParent.cpp b/netwerk/protocol/ftp/FTPChannelParent.cpp index f54df6788f02..a8da09f12b90 100644 --- a/netwerk/protocol/ftp/FTPChannelParent.cpp +++ b/netwerk/protocol/ftp/FTPChannelParent.cpp @@ -11,6 +11,7 @@ #include "nsFtpProtocolHandler.h" #include "mozilla/ipc/InputStreamUtils.h" #include "mozilla/ipc/URIUtils.h" +#include "SerializedLoadContext.h" using namespace mozilla::ipc; diff --git a/netwerk/protocol/http/HttpChannelChild.cpp b/netwerk/protocol/http/HttpChannelChild.cpp index 78a31767c5e5..85be5e8b677a 100644 --- a/netwerk/protocol/http/HttpChannelChild.cpp +++ b/netwerk/protocol/http/HttpChannelChild.cpp @@ -21,6 +21,7 @@ #include "mozilla/ipc/InputStreamUtils.h" #include "mozilla/ipc/URIUtils.h" #include "mozilla/net/DNS.h" +#include "SerializedLoadContext.h" using namespace mozilla::dom; using namespace mozilla::ipc; diff --git a/netwerk/protocol/http/HttpChannelParent.cpp b/netwerk/protocol/http/HttpChannelParent.cpp index 0fc264fd928d..45bcee52219e 100644 --- a/netwerk/protocol/http/HttpChannelParent.cpp +++ b/netwerk/protocol/http/HttpChannelParent.cpp @@ -22,6 +22,7 @@ #include "nsIApplicationCacheService.h" #include "mozilla/ipc/InputStreamUtils.h" #include "mozilla/ipc/URIUtils.h" +#include "SerializedLoadContext.h" using namespace mozilla::dom; using namespace mozilla::ipc; diff --git a/netwerk/protocol/websocket/WebSocketChannelChild.cpp b/netwerk/protocol/websocket/WebSocketChannelChild.cpp index 4bf6b1858e75..1d8262712580 100644 --- a/netwerk/protocol/websocket/WebSocketChannelChild.cpp +++ b/netwerk/protocol/websocket/WebSocketChannelChild.cpp @@ -14,6 +14,7 @@ #include "mozilla/ipc/InputStreamUtils.h" #include "mozilla/ipc/URIUtils.h" #include "mozilla/net/ChannelEventQueue.h" +#include "SerializedLoadContext.h" using namespace mozilla::ipc; diff --git a/netwerk/protocol/websocket/WebSocketChannelParent.cpp b/netwerk/protocol/websocket/WebSocketChannelParent.cpp index 51a3b2f36d12..bc70e9f1fcc3 100644 --- a/netwerk/protocol/websocket/WebSocketChannelParent.cpp +++ b/netwerk/protocol/websocket/WebSocketChannelParent.cpp @@ -9,6 +9,7 @@ #include "nsIAuthPromptProvider.h" #include "mozilla/ipc/InputStreamUtils.h" #include "mozilla/ipc/URIUtils.h" +#include "SerializedLoadContext.h" using namespace mozilla::ipc; diff --git a/netwerk/protocol/wyciwyg/WyciwygChannelChild.cpp b/netwerk/protocol/wyciwyg/WyciwygChannelChild.cpp index c30789c3807d..1c5e197f475d 100644 --- a/netwerk/protocol/wyciwyg/WyciwygChannelChild.cpp +++ b/netwerk/protocol/wyciwyg/WyciwygChannelChild.cpp @@ -17,6 +17,7 @@ #include "nsSerializationHelper.h" #include "nsIProgressEventSink.h" #include "mozilla/ipc/URIUtils.h" +#include "SerializedLoadContext.h" using namespace mozilla::ipc; diff --git a/netwerk/protocol/wyciwyg/WyciwygChannelParent.cpp b/netwerk/protocol/wyciwyg/WyciwygChannelParent.cpp index 006aa0032a73..9e576449d3b7 100644 --- a/netwerk/protocol/wyciwyg/WyciwygChannelParent.cpp +++ b/netwerk/protocol/wyciwyg/WyciwygChannelParent.cpp @@ -12,6 +12,7 @@ #include "nsSerializationHelper.h" #include "mozilla/ipc/URIUtils.h" #include "mozilla/net/NeckoParent.h" +#include "SerializedLoadContext.h" using namespace mozilla::ipc;