From 139edf2c4d47e8d7ba010b3afb2ed268a7b10336 Mon Sep 17 00:00:00 2001 From: kipp Date: Mon, 13 Jul 1998 19:49:07 +0000 Subject: [PATCH] updated a few comments git-svn-id: svn://10.0.0.236/trunk@5401 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/base/nsPresContext.h | 14 +++++++------- mozilla/layout/base/public/nsIPresContext.h | 14 +++++++------- mozilla/layout/base/public/nsPresContext.h | 14 +++++++------- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/mozilla/layout/base/nsPresContext.h b/mozilla/layout/base/nsPresContext.h index ec58c5125f9..a99f1f71b38 100644 --- a/mozilla/layout/base/nsPresContext.h +++ b/mozilla/layout/base/nsPresContext.h @@ -124,21 +124,21 @@ public: NS_IMETHOD GetContainer(nsISupports** aResult) = 0; + // XXX this are going to be replaced with set/get container NS_IMETHOD SetLinkHandler(nsILinkHandler* aHandler) = 0; - NS_IMETHOD GetLinkHandler(nsILinkHandler** aResult) = 0; /** - * Get the currently visible portion of the RootContent ILayoutable. - * The units returned are in pixels. An acceptable answer is "null" - * which means "I don't know". - *

Speculative

+ * Get the visible area associated with this presentation context. + * This is the size of the visiable area that is used for + * presenting the document. The returned value is in the standard + * nscoord units (as scaled by the device context). */ virtual void GetVisibleArea(nsRect& aResult) = 0; /** - * Set the currently visible area. This is the size and location - * of the visible portion of the RootContent ILayoutable. + * Set the currently visible area. The units for r are standard + * nscoord units (as scaled by the device context). */ virtual void SetVisibleArea(const nsRect& r) = 0; diff --git a/mozilla/layout/base/public/nsIPresContext.h b/mozilla/layout/base/public/nsIPresContext.h index ec58c5125f9..a99f1f71b38 100644 --- a/mozilla/layout/base/public/nsIPresContext.h +++ b/mozilla/layout/base/public/nsIPresContext.h @@ -124,21 +124,21 @@ public: NS_IMETHOD GetContainer(nsISupports** aResult) = 0; + // XXX this are going to be replaced with set/get container NS_IMETHOD SetLinkHandler(nsILinkHandler* aHandler) = 0; - NS_IMETHOD GetLinkHandler(nsILinkHandler** aResult) = 0; /** - * Get the currently visible portion of the RootContent ILayoutable. - * The units returned are in pixels. An acceptable answer is "null" - * which means "I don't know". - *

Speculative

+ * Get the visible area associated with this presentation context. + * This is the size of the visiable area that is used for + * presenting the document. The returned value is in the standard + * nscoord units (as scaled by the device context). */ virtual void GetVisibleArea(nsRect& aResult) = 0; /** - * Set the currently visible area. This is the size and location - * of the visible portion of the RootContent ILayoutable. + * Set the currently visible area. The units for r are standard + * nscoord units (as scaled by the device context). */ virtual void SetVisibleArea(const nsRect& r) = 0; diff --git a/mozilla/layout/base/public/nsPresContext.h b/mozilla/layout/base/public/nsPresContext.h index ec58c5125f9..a99f1f71b38 100644 --- a/mozilla/layout/base/public/nsPresContext.h +++ b/mozilla/layout/base/public/nsPresContext.h @@ -124,21 +124,21 @@ public: NS_IMETHOD GetContainer(nsISupports** aResult) = 0; + // XXX this are going to be replaced with set/get container NS_IMETHOD SetLinkHandler(nsILinkHandler* aHandler) = 0; - NS_IMETHOD GetLinkHandler(nsILinkHandler** aResult) = 0; /** - * Get the currently visible portion of the RootContent ILayoutable. - * The units returned are in pixels. An acceptable answer is "null" - * which means "I don't know". - *

Speculative

+ * Get the visible area associated with this presentation context. + * This is the size of the visiable area that is used for + * presenting the document. The returned value is in the standard + * nscoord units (as scaled by the device context). */ virtual void GetVisibleArea(nsRect& aResult) = 0; /** - * Set the currently visible area. This is the size and location - * of the visible portion of the RootContent ILayoutable. + * Set the currently visible area. The units for r are standard + * nscoord units (as scaled by the device context). */ virtual void SetVisibleArea(const nsRect& r) = 0;