Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions | Variables
nsMetaCharsetObserver.cpp File Reference
#include "nsDeque.h"
#include "nsICharsetAlias.h"
#include "nsMetaCharsetObserver.h"
#include "nsIMetaCharsetService.h"
#include "nsIElementObserver.h"
#include "nsIObserver.h"
#include "nsIObserverService.h"
#include "nsISupports.h"
#include "nsCRT.h"
#include "nsIParser.h"
#include "pratom.h"
#include "nsCharDetDll.h"
#include "nsIServiceManager.h"
#include "nsObserverBase.h"
#include "nsWeakReference.h"
#include "nsIParserService.h"
#include "nsParserCIID.h"
#include "nsMetaCharsetCID.h"
#include "nsReadableUtils.h"
#include "nsUnicharUtils.h"

Go to the source code of this file.

Defines

#define IS_SPACE_CHARS(ch)   (ch == ' ' || ch == '\b' || ch == '\r' || ch == '\n')

Functions

static NS_DEFINE_CID (kCharsetAliasCID, NS_CHARSETALIAS_CID)
 NS_IMPL_QUERY_INTERFACE4 (nsMetaCharsetObserver, nsIElementObserver, nsIObserver, nsIMetaCharsetService, nsISupportsWeakReference) NS_IMETHODIMP nsMetaCharsetObserver

Variables

static const eHTMLTags gWatchTags []

Define Documentation

#define IS_SPACE_CHARS (   ch)    (ch == ' ' || ch == '\b' || ch == '\r' || ch == '\n')

Definition at line 157 of file nsMetaCharsetObserver.cpp.


Function Documentation

static NS_DEFINE_CID ( kCharsetAliasCID  ,
NS_CHARSETALIAS_CID   
) [static]

Definition at line 86 of file nsMetaCharsetObserver.cpp.

{
  
    if(!nsDependentString(aTag).LowerCaseEqualsLiteral("meta")) 
        return NS_ERROR_ILLEGAL_VALUE;
    else
        return Notify(aDocumentID, numOfAttributes, nameArray, valueArray);
}

Variable Documentation

Initial value:
 
{ eHTMLTag_meta,
  eHTMLTag_unknown
}

Definition at line 60 of file nsMetaCharsetObserver.cpp.