Bug 737814 - Mark nsIHTMLContentSink as obsolete. r=smaug. DONTBUILD

This commit is contained in:
Henri Sivonen 2012-03-22 08:34:29 +02:00
Родитель 2aa8dd4bdb
Коммит 8525ef7548
2 изменённых файлов: 17 добавлений и 0 удалений

Просмотреть файл

@ -40,6 +40,12 @@
* *
* ***** END LICENSE BLOCK ***** */ * ***** END LICENSE BLOCK ***** */
/**
* This file is near-OBSOLETE. It is used for about:blank only and for the
* HTML element factory.
* Don't bother adding new stuff in this file.
*/
#include "mozilla/Util.h" #include "mozilla/Util.h"
#include "nsContentSink.h" #include "nsContentSink.h"
@ -155,6 +161,10 @@ static const contentCreatorCallback sContentCreatorCallbacks[] = {
class SinkContext; class SinkContext;
class HTMLContentSink; class HTMLContentSink;
/**
* This class is near-OBSOLETE. It is used for about:blank only.
* Don't bother adding new stuff in this file.
*/
class HTMLContentSink : public nsContentSink, class HTMLContentSink : public nsContentSink,
#ifdef DEBUG #ifdef DEBUG
public nsIDebugDumpContent, public nsIDebugDumpContent,

Просмотреть файл

@ -38,6 +38,9 @@
#define nsIHTMLContentSink_h___ #define nsIHTMLContentSink_h___
/** /**
* This interface is OBSOLETE and in the process of being REMOVED.
* Do NOT implement!
*
* This file declares the concrete HTMLContentSink class. * This file declares the concrete HTMLContentSink class.
* This class is used during the parsing process as the * This class is used during the parsing process as the
* primary interface between the parser and the content * primary interface between the parser and the content
@ -88,6 +91,10 @@
#define MAX_REFLOW_DEPTH 200 #define MAX_REFLOW_DEPTH 200
/**
* This interface is OBSOLETE and in the process of being REMOVED.
* Do NOT implement!
*/
class nsIHTMLContentSink : public nsIContentSink class nsIHTMLContentSink : public nsIContentSink
{ {
public: public: