Bug 1148527 - Indentation fix after bug 1145631, r=ehsan

This commit is contained in:
Andrea Marchesini 2015-03-27 18:52:19 +00:00
parent 70685709f1
commit e6f385fb3d
471 changed files with 1075 additions and 1071 deletions

View File

@ -1497,8 +1497,7 @@ NS_IMETHOD GetClassList(nsISupports** aClassList) final override \
Element::GetClassList(aClassList); \
return NS_OK; \
} \
NS_IMETHOD GetAttributes(nsIDOMMozNamedAttrMap** aAttributes) final \
override \
NS_IMETHOD GetAttributes(nsIDOMMozNamedAttrMap** aAttributes) final override \
{ \
NS_ADDREF(*aAttributes = Attributes()); \
return NS_OK; \
@ -1542,8 +1541,7 @@ NS_IMETHOD RemoveAttribute(const nsAString& name) final override \
return rv.ErrorCode(); \
} \
NS_IMETHOD RemoveAttributeNS(const nsAString& namespaceURI, \
const nsAString& localName) final \
override \
const nsAString& localName) final override \
{ \
mozilla::ErrorResult rv; \
Element::RemoveAttributeNS(namespaceURI, localName, rv); \
@ -1633,8 +1631,7 @@ NS_IMETHOD GetElementsByClassName(const nsAString& classes, \
{ \
return Element::GetElementsByClassName(classes, _retval); \
} \
NS_IMETHOD GetChildElements(nsIDOMNodeList** aChildElements) final \
override \
NS_IMETHOD GetChildElements(nsIDOMNodeList** aChildElements) final override \
{ \
nsIHTMLCollection* list = FragmentOrElement::Children(); \
return CallQueryInterface(list, aChildElements); \
@ -1679,8 +1676,7 @@ NS_IMETHOD GetNextElementSibling(nsIDOMElement** aNextElementSibling) \
} \
return CallQueryInterface(element, aNextElementSibling); \
} \
NS_IMETHOD GetChildElementCount(uint32_t* aChildElementCount) final \
override \
NS_IMETHOD GetChildElementCount(uint32_t* aChildElementCount) final override \
{ \
*aChildElementCount = Element::ChildElementCount(); \
return NS_OK; \
@ -1690,14 +1686,12 @@ NS_IMETHOD MozRemove() final override \
nsINode::Remove(); \
return NS_OK; \
} \
NS_IMETHOD GetClientRects(nsIDOMClientRectList** _retval) final \
override \
NS_IMETHOD GetClientRects(nsIDOMClientRectList** _retval) final override \
{ \
*_retval = Element::GetClientRects().take(); \
return NS_OK; \
} \
NS_IMETHOD GetBoundingClientRect(nsIDOMClientRect** _retval) final \
override \
NS_IMETHOD GetBoundingClientRect(nsIDOMClientRect** _retval) final override \
{ \
*_retval = Element::GetBoundingClientRect().take(); \
return NS_OK; \

View File

@ -524,7 +524,8 @@ public:
return true;
}
class DataOwner final : public mozilla::LinkedListElement<DataOwner> {
class DataOwner final : public mozilla::LinkedListElement<DataOwner>
{
public:
NS_INLINE_DECL_THREADSAFE_REFCOUNTING(DataOwner)
DataOwner(void* aMemoryBuffer, uint64_t aLength)

View File

@ -634,7 +634,8 @@ protected:
nsCOMPtr<nsIStreamListener> mXMLParserStreamListener;
// used to implement getAllResponseHeaders()
class nsHeaderVisitor : public nsIHttpHeaderVisitor {
class nsHeaderVisitor : public nsIHttpHeaderVisitor
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIHTTPHEADERVISITOR

View File

@ -53,7 +53,8 @@ struct CachedPositionAndAccuracy {
/**
* Singleton that manages the geolocation provider
*/
class nsGeolocationService final : public nsIGeolocationUpdate, public nsIObserver
class nsGeolocationService final : public nsIGeolocationUpdate,
public nsIObserver
{
public:

View File

@ -67,7 +67,8 @@ static const uint32_t FREE_BLOCK_SCAN_LIMIT = 16;
static MediaCache* gMediaCache;
class MediaCacheFlusher final : public nsIObserver,
public nsSupportsWeakReference {
public nsSupportsWeakReference
{
MediaCacheFlusher() {}
~MediaCacheFlusher();
public:

View File

@ -60,7 +60,8 @@ class EventDispatchingCallback;
class PresShell final : public nsIPresShell,
public nsStubDocumentObserver,
public nsISelectionController, public nsIObserver,
public nsISelectionController,
public nsIObserver,
public nsSupportsWeakReference
{
public:

View File

@ -67,7 +67,8 @@ public:
};
class nsRefreshDriver final : public mozilla::layers::TransactionIdAllocator,
public nsARefreshObserver {
public nsARefreshObserver
{
public:
explicit nsRefreshDriver(nsPresContext *aPresContext);
~nsRefreshDriver();

View File

@ -56,7 +56,8 @@ namespace layout {
*/
class ScrollbarActivity final : public nsIDOMEventListener,
public nsARefreshObserver {
public nsARefreshObserver
{
public:
explicit ScrollbarActivity(nsIScrollbarMediator* aScrollableFrame)
: mScrollableFrame(aScrollableFrame)

View File

@ -948,7 +948,8 @@ private:
class nsXULScrollFrame final : public nsBoxFrame,
public nsIScrollableFrame,
public nsIAnonymousContentCreator,
public nsIStatefulFrame {
public nsIStatefulFrame
{
public:
typedef mozilla::ScrollFrameHelper ScrollFrameHelper;
typedef mozilla::CSSIntPoint CSSIntPoint;

View File

@ -324,7 +324,8 @@ private:
imgRequestProxy **aRequest);
class IconLoad final : public nsIObserver,
public imgINotificationObserver {
public imgINotificationObserver
{
// private class that wraps the data and logic needed for
// broken image and loading image icons
public:

View File

@ -29,7 +29,8 @@ namespace css {
struct ImageValue;
class ImageLoader final : public imgINotificationObserver,
public imgIOnloadBlocker {
public imgIOnloadBlocker
{
public:
typedef mozilla::css::ImageValue Image;

View File

@ -303,8 +303,7 @@ nsCSSFontFaceStyleDecl::ContainingRule() const
(reinterpret_cast<const char*>(this) - offsetof(nsCSSFontFaceRule, mDecl));
}
class nsCSSFontFeatureValuesRule final :
public mozilla::css::Rule,
class nsCSSFontFeatureValuesRule final : public mozilla::css::Rule,
public nsIDOMCSSFontFeatureValuesRule
{
public:

View File

@ -173,8 +173,7 @@ NS_DEFINE_STATIC_IID_ACCESSOR(nsAHttpConnection, NS_AHTTPCONNECTION_IID)
} \
return (fwdObject)->GetConnectionInfo(result); \
} \
void GetSecurityInfo(nsISupports **result) \
override \
void GetSecurityInfo(nsISupports **result) override \
{ \
if (!(fwdObject)) { \
*result = nullptr; \

View File

@ -17,7 +17,8 @@
namespace mozilla { namespace psm {
class PSMContentListener : public nsIURIContentListener,
public nsSupportsWeakReference {
public nsSupportsWeakReference
{
public:
PSMContentListener();
nsresult init();

View File

@ -38,7 +38,8 @@ namespace android {
class GonkBufferQueue : public BnGraphicBufferProducer,
public BnGonkGraphicBufferConsumer,
private IBinder::DeathRecipient {
private IBinder::DeathRecipient
{
typedef mozilla::layers::TextureClient TextureClient;
public:

View File

@ -591,8 +591,7 @@ class NS_CYCLE_COLLECTION_INNERCLASS
: public nsXPCOMCycleCollectionParticipant \
{ \
NS_DECL_CYCLE_COLLECTION_CLASS_BODY(_class, _base) \
NS_IMETHOD_(void) Trace(void *p, const TraceCallbacks &cb, void *closure) \
override; \
NS_IMETHOD_(void) Trace(void *p, const TraceCallbacks &cb, void *closure) override; \
NS_IMPL_GET_XPCOM_CYCLE_COLLECTION_PARTICIPANT(_class) \
}; \
NS_CHECK_FOR_RIGHT_PARTICIPANT_IMPL(_class) \

View File

@ -322,7 +322,8 @@ WebBrowserChrome2Stub::GetInterface(const nsIID & aIID, void **aSink)
// purely to keep a strong reference to the browser and the container to
// prevent the container being collected while the stub remains alive.
class WindowlessBrowserStub final : public nsIWebNavigation,
public nsIInterfaceRequestor {
public nsIInterfaceRequestor
{
public:
WindowlessBrowserStub(nsIWebBrowser *aBrowser, nsISupports *aContainer) {
mBrowser = aBrowser;