mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 03:49:42 +00:00
Removed nsIContentDelegate.h
This commit is contained in:
parent
28c7cf540c
commit
29e5156e14
@ -19,7 +19,6 @@
|
||||
#include "nsGenericHTMLElement.h"
|
||||
|
||||
#include "nsIAtom.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsICSSParser.h"
|
||||
#include "nsICSSStyleRule.h"
|
||||
#include "nsICSSDeclaration.h"
|
||||
@ -76,7 +75,6 @@ NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID);
|
||||
NS_DEFINE_IID(kIContentIID, NS_ICONTENT_IID);
|
||||
//NS_DEFINE_IID(kIHTMLContentIID, NS_IHTMLCONTENT_IID);
|
||||
|
||||
static NS_DEFINE_IID(kIContentDelegateIID, NS_ICONTENTDELEGATE_IID);
|
||||
static NS_DEFINE_IID(kIDOMAttributeIID, NS_IDOMATTRIBUTE_IID);
|
||||
static NS_DEFINE_IID(kIDOMNamedNodeMapIID, NS_IDOMNAMEDNODEMAP_IID);
|
||||
static NS_DEFINE_IID(kIPrivateDOMEventIID, NS_IPRIVATEDOMEVENT_IID);
|
||||
|
@ -22,7 +22,6 @@ MODULE = raptor
|
||||
EXPORTS = \
|
||||
nslayout.h \
|
||||
nsIContent.h \
|
||||
nsIContentDelegate.h \
|
||||
nsIDocument.h \
|
||||
nsIDocumentContainer.h \
|
||||
nsIDocumentObserver.h \
|
||||
|
@ -20,7 +20,6 @@ DEPTH=..\..\..
|
||||
EXPORTS = \
|
||||
nslayout.h \
|
||||
nsIContent.h \
|
||||
nsIContentDelegate.h \
|
||||
nsIDocument.h \
|
||||
nsIDocumentContainer.h \
|
||||
nsIDocumentObserver.h \
|
||||
|
@ -1,47 +0,0 @@
|
||||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.0 (the "NPL"); you may not use this file except in
|
||||
* compliance with the NPL. You may obtain a copy of the NPL at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the NPL is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
||||
* for the specific language governing rights and limitations under the
|
||||
* NPL.
|
||||
*
|
||||
* The Initial Developer of this code under the NPL is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
* Reserved.
|
||||
*/
|
||||
#ifndef nsIContentDelegate_h___
|
||||
#define nsIContentDelegate_h___
|
||||
|
||||
#include "nslayout.h"
|
||||
class nsIFrame;
|
||||
class nsIPresContext;
|
||||
class nsIStyleContext;
|
||||
|
||||
#define NS_ICONTENTDELEGATE_IID \
|
||||
{ 0x0f135ce0, 0xa286, 0x11d1, \
|
||||
{0x89, 0x73, 0x00, 0x60, 0x08, 0x91, 0x1b, 0x81} }
|
||||
|
||||
/**
|
||||
* API for content delegation. Content objects create these objects to
|
||||
* provide hooks to creating their visual presentation.
|
||||
*/
|
||||
class nsIContentDelegate : public nsISupports {
|
||||
public:
|
||||
/**
|
||||
* Create a new frame object that will be responsible for the layout
|
||||
* and presentation of the content.
|
||||
*/
|
||||
NS_IMETHOD CreateFrame(nsIPresContext* aPresContext,
|
||||
nsIContent* aContent,
|
||||
nsIFrame* aParentFrame,
|
||||
nsIStyleContext* aStyleContext,
|
||||
nsIFrame*& aFrame) = 0;
|
||||
};
|
||||
|
||||
#endif /* nsIContentDelegate_h___ */
|
@ -22,7 +22,6 @@
|
||||
#include "nsIRunaround.h"
|
||||
#include "nsISpaceManager.h"
|
||||
#include "nsIStyleContext.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsRect.h"
|
||||
#include "nsPoint.h"
|
||||
#include "nsGUIEvent.h"
|
||||
|
@ -18,7 +18,6 @@
|
||||
#include "nsIPresShell.h"
|
||||
#include "nsIPresContext.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsIDocument.h"
|
||||
#include "nsIDocumentObserver.h"
|
||||
#include "nsIStyleSet.h"
|
||||
|
@ -17,7 +17,6 @@
|
||||
*/
|
||||
#include "nsSplittableFrame.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsIPresContext.h"
|
||||
#include "nsIStyleContext.h"
|
||||
#include "nsISizeOfHandler.h"
|
||||
|
@ -33,7 +33,6 @@
|
||||
#include "nsIPtr.h"
|
||||
#include "nsAbsoluteFrame.h"
|
||||
#include "nsPlaceholderFrame.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsIHTMLContent.h"
|
||||
#include "nsHTMLParts.h"
|
||||
#include "nsHTMLBase.h"
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include "nsViewsCID.h"
|
||||
#include "nsIView.h"
|
||||
#include "nsIViewManager.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsIWidget.h"
|
||||
#include "nsHTMLIIDs.h"
|
||||
#include "nsPageFrame.h"
|
||||
|
@ -17,7 +17,6 @@
|
||||
*/
|
||||
#include "nsPageFrame.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsIPresContext.h"
|
||||
#include "nsIStyleContext.h"
|
||||
#include "nsIReflowCommand.h"
|
||||
|
@ -17,7 +17,6 @@
|
||||
*/
|
||||
#include "nsPlaceholderFrame.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsIFloaterContainer.h"
|
||||
#include "nsBodyFrame.h"
|
||||
#include "nsIStyleContext.h"
|
||||
|
@ -18,7 +18,6 @@
|
||||
#include "nsAbsoluteFrame.h"
|
||||
#include "nsBodyFrame.h"
|
||||
#include "nsIAbsoluteItems.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsIStyleContext.h"
|
||||
#include "nsStyleConsts.h"
|
||||
#include "nsHTMLIIDs.h"
|
||||
|
@ -17,7 +17,6 @@
|
||||
*/
|
||||
#include "nsBodyFrame.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsIReflowCommand.h"
|
||||
#include "nsIStyleContext.h"
|
||||
#include "nsStyleConsts.h"
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include "nsStyleConsts.h"
|
||||
#include "nsViewsCID.h"
|
||||
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsIPresContext.h"
|
||||
#include "nsIStyleContext.h"
|
||||
#include "nsIView.h"
|
||||
|
@ -33,7 +33,6 @@
|
||||
#include "nsIPtr.h"
|
||||
#include "nsAbsoluteFrame.h"
|
||||
#include "nsPlaceholderFrame.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsIHTMLContent.h"
|
||||
#include "nsHTMLParts.h"
|
||||
#include "nsHTMLBase.h"
|
||||
|
@ -20,7 +20,6 @@
|
||||
#include "nsIArena.h"
|
||||
#include "nsIAtom.h"
|
||||
#include "nsIHTMLAttributes.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsFrame.h"
|
||||
#include "nsHTMLIIDs.h"
|
||||
#include "nsISupportsArray.h"
|
||||
@ -32,7 +31,6 @@
|
||||
#include "nsDOMEvent.h"
|
||||
#include "nsIPrivateDOMEvent.h"
|
||||
|
||||
static NS_DEFINE_IID(kIContentDelegateIID, NS_ICONTENTDELEGATE_IID);
|
||||
static NS_DEFINE_IID(kIContentIID, NS_ICONTENT_IID);
|
||||
static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID);
|
||||
static NS_DEFINE_IID(kIDOMNodeIID, NS_IDOMNODE_IID);
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include "nsViewsCID.h"
|
||||
#include "nsIView.h"
|
||||
#include "nsIViewManager.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsIWidget.h"
|
||||
#include "nsHTMLIIDs.h"
|
||||
#include "nsPageFrame.h"
|
||||
|
@ -17,7 +17,6 @@
|
||||
*/
|
||||
#include "nsPageFrame.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsIPresContext.h"
|
||||
#include "nsIStyleContext.h"
|
||||
#include "nsIReflowCommand.h"
|
||||
|
@ -17,7 +17,6 @@
|
||||
*/
|
||||
#include "nsPlaceholderFrame.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsIFloaterContainer.h"
|
||||
#include "nsBodyFrame.h"
|
||||
#include "nsIStyleContext.h"
|
||||
|
@ -17,7 +17,6 @@
|
||||
*/
|
||||
#include "nsScrollFrame.h"
|
||||
#include "nsIPresContext.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsIStyleContext.h"
|
||||
#include "nsIReflowCommand.h"
|
||||
#include "nsIDeviceContext.h"
|
||||
|
@ -19,7 +19,6 @@
|
||||
#include "nsGenericHTMLElement.h"
|
||||
|
||||
#include "nsIAtom.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsICSSParser.h"
|
||||
#include "nsICSSStyleRule.h"
|
||||
#include "nsICSSDeclaration.h"
|
||||
@ -76,7 +75,6 @@ NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID);
|
||||
NS_DEFINE_IID(kIContentIID, NS_ICONTENT_IID);
|
||||
//NS_DEFINE_IID(kIHTMLContentIID, NS_IHTMLCONTENT_IID);
|
||||
|
||||
static NS_DEFINE_IID(kIContentDelegateIID, NS_ICONTENTDELEGATE_IID);
|
||||
static NS_DEFINE_IID(kIDOMAttributeIID, NS_IDOMATTRIBUTE_IID);
|
||||
static NS_DEFINE_IID(kIDOMNamedNodeMapIID, NS_IDOMNAMEDNODEMAP_IID);
|
||||
static NS_DEFINE_IID(kIPrivateDOMEventIID, NS_IPRIVATEDOMEVENT_IID);
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include "nsIRenderingContext.h"
|
||||
#include "nsCSSRendering.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsIHTMLContent.h"
|
||||
#include "nsHTMLIIDs.h"
|
||||
#include "nsCSSLayout.h"
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include "nsStyleConsts.h"
|
||||
#include "nsIPresContext.h"
|
||||
#include "nsIPtr.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsHTMLAtoms.h"
|
||||
|
||||
NS_DEF_PTR(nsIContent);
|
||||
|
@ -19,7 +19,6 @@
|
||||
#include "nsIRenderingContext.h"
|
||||
#include "nsIStyleContext.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsCellMap.h"
|
||||
#include "nsTableCellFrame.h"
|
||||
#include "nsHTMLParts.h"
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include "nsIRenderingContext.h"
|
||||
#include "nsCSSRendering.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsCSSLayout.h"
|
||||
#include "nsVoidArray.h"
|
||||
#include "nsIReflowCommand.h"
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include "nsIHTMLAttributes.h"
|
||||
#include "nsHTMLAtoms.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsHTMLTagContent.h"
|
||||
#include "nsTableFrame.h"
|
||||
#include "nsTableCellFrame.h"
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include "nsIStyleContext.h"
|
||||
#include "nsStyleConsts.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsIView.h"
|
||||
#include "nsIPtr.h"
|
||||
#include "nsIReflowCommand.h"
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include "nsIRenderingContext.h"
|
||||
#include "nsCSSRendering.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsIHTMLContent.h"
|
||||
#include "nsHTMLIIDs.h"
|
||||
#include "nsCSSLayout.h"
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include "nsStyleConsts.h"
|
||||
#include "nsIPresContext.h"
|
||||
#include "nsIPtr.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsHTMLAtoms.h"
|
||||
|
||||
NS_DEF_PTR(nsIContent);
|
||||
|
@ -19,7 +19,6 @@
|
||||
#include "nsIRenderingContext.h"
|
||||
#include "nsIStyleContext.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsCellMap.h"
|
||||
#include "nsTableCellFrame.h"
|
||||
#include "nsHTMLParts.h"
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include "nsIRenderingContext.h"
|
||||
#include "nsCSSRendering.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsCSSLayout.h"
|
||||
#include "nsVoidArray.h"
|
||||
#include "nsIReflowCommand.h"
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include "nsIHTMLAttributes.h"
|
||||
#include "nsHTMLAtoms.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsHTMLTagContent.h"
|
||||
#include "nsTableFrame.h"
|
||||
#include "nsTableCellFrame.h"
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include "nsIStyleContext.h"
|
||||
#include "nsStyleConsts.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsIContentDelegate.h"
|
||||
#include "nsIView.h"
|
||||
#include "nsIPtr.h"
|
||||
#include "nsIReflowCommand.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user