mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
Removal of nsSelectionRange, nsSelectionPoint, and fixing up resulting include problems.
This commit is contained in:
parent
fd2a70df78
commit
e4b0d79daa
@ -25,7 +25,6 @@
|
||||
#include "nsIDOMDocument.h"
|
||||
#include "nsIDOMDocumentFragment.h"
|
||||
#include "nsXIFConverter.h"
|
||||
#include "nsSelectionRange.h"
|
||||
#include "nsRange.h"
|
||||
|
||||
#include "nsIDOMSelection.h"
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include "nsIDOMDocument.h"
|
||||
#include "nsIDOMDocumentFragment.h"
|
||||
#include "nsXIFConverter.h"
|
||||
#include "nsSelectionRange.h"
|
||||
#include "nsRange.h"
|
||||
|
||||
#include "nsIDOMSelection.h"
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "nsISpaceManager.h"
|
||||
#include "nsIFontMetrics.h"
|
||||
#include "nsIPresContext.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsIStyleContext.h"
|
||||
#include "nsHTMLContainerFrame.h"
|
||||
#include "nsBlockFrame.h"
|
||||
|
@ -21,8 +21,6 @@
|
||||
#include "nsIFrame.h"
|
||||
#include "nsIHTMLReflow.h"
|
||||
#include "nsRect.h"
|
||||
#include "nsSelectionRange.h"
|
||||
#include "nsSelectionPoint.h"
|
||||
#include "nsString.h"
|
||||
#include "prlog.h"
|
||||
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "nsLineLayout.h"
|
||||
#include "nsString.h"
|
||||
#include "nsIPresContext.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsStyleConsts.h"
|
||||
#include "nsIStyleContext.h"
|
||||
#include "nsCoord.h"
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "nsISpaceManager.h"
|
||||
#include "nsIFontMetrics.h"
|
||||
#include "nsIPresContext.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsIStyleContext.h"
|
||||
#include "nsHTMLContainerFrame.h"
|
||||
#include "nsBlockFrame.h"
|
||||
|
@ -21,8 +21,6 @@
|
||||
#include "nsIFrame.h"
|
||||
#include "nsIHTMLReflow.h"
|
||||
#include "nsRect.h"
|
||||
#include "nsSelectionRange.h"
|
||||
#include "nsSelectionPoint.h"
|
||||
#include "nsString.h"
|
||||
#include "prlog.h"
|
||||
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "nsLineLayout.h"
|
||||
#include "nsString.h"
|
||||
#include "nsIPresContext.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsStyleConsts.h"
|
||||
#include "nsIStyleContext.h"
|
||||
#include "nsCoord.h"
|
||||
|
@ -687,7 +687,7 @@ nsFormFrame::GetParentHTMLFrameDocument(nsIDocument* doc) {
|
||||
nsIDocument* parentDocument = nsnull;
|
||||
nsIScriptContextOwner* webshellOwner = nsnull;
|
||||
if (!doc) return nsnull;
|
||||
if ((webshellOwner = doc->GetScriptContextOwner())) {
|
||||
if ((webshellOwner = doc->GetScriptContextOwner()) != nsnull) {
|
||||
nsIWebShell* webshell = nsnull;
|
||||
if (NS_OK == webshellOwner->QueryInterface(kIWebshellIID, (void **)&webshell)) {
|
||||
nsIWebShell* pWebshell = nsnull;
|
||||
|
@ -31,9 +31,10 @@ class nsFormControlFrame;
|
||||
class nsRadioControlFrame;
|
||||
class nsIFormControlFrame;
|
||||
class nsIDOMHTMLFormElement;
|
||||
|
||||
class nsIDocument;
|
||||
class nsIPresContext;
|
||||
class nsFormFrame;
|
||||
|
||||
// XXX these structs and gFormFrameTable below provide a faster way to get from a form content to
|
||||
// the appropriate frame. Before replacing this mechanism with FindFrameWithContent, please test
|
||||
// a page with thousands of frames and hundreds of form controls.
|
||||
|
@ -21,6 +21,8 @@
|
||||
#include "nscore.h"
|
||||
#include "nsContainerFrame.h"
|
||||
|
||||
class nsVoidArray;
|
||||
|
||||
class nsTableColFrame : public nsFrame {
|
||||
public:
|
||||
|
||||
|
@ -21,6 +21,8 @@
|
||||
#include "nscore.h"
|
||||
#include "nsContainerFrame.h"
|
||||
|
||||
class nsVoidArray;
|
||||
|
||||
class nsTableColFrame : public nsFrame {
|
||||
public:
|
||||
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include "nsBoxFrame.h"
|
||||
#include "nsIStyleContext.h"
|
||||
#include "nsIPresContext.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsHTMLIIDs.h"
|
||||
#include "nsUnitConversion.h"
|
||||
|
@ -33,6 +33,7 @@ static int ANIMATION_SPEED = 50; // miliseconds
|
||||
#include "nsProgressMeterFrame.h"
|
||||
#include "nsIStyleContext.h"
|
||||
#include "nsCSSRendering.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsIPresContext.h"
|
||||
#include "nsHTMLAtoms.h"
|
||||
#include "nsXULAtoms.h"
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include "nsIStyleContext.h"
|
||||
#include "nsIPresContext.h"
|
||||
#include "nsIPresShell.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsIDocument.h"
|
||||
#include "nsIStyleSet.h"
|
||||
#include "nsIViewManager.h"
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "nsXULAtoms.h"
|
||||
#include "nsUnitConversion.h"
|
||||
#include "nsIStyleContext.h"
|
||||
#include "nsIContent.h"
|
||||
#include "nsStyleConsts.h"
|
||||
#include "nsINameSpaceManager.h"
|
||||
#include "nsTreeIndentationFrame.h"
|
||||
|
Loading…
Reference in New Issue
Block a user