LCOV - code coverage report
Current view: directory - objdir/dist/include - nsISelectionPrivate.h (source / functions) Found Hit Coverage
Test: app.info Lines: 1 0 0.0 %
Date: 2012-06-02 Functions: 1 0 0.0 %

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/content/base/public/nsISelectionPrivate.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsISelectionPrivate_h__
       6                 : #define __gen_nsISelectionPrivate_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : #ifndef __gen_nsISelectionListener_h__
      14                 : #include "nsISelectionListener.h"
      15                 : #endif
      16                 : 
      17                 : #ifndef __gen_nsIEnumerator_h__
      18                 : #include "nsIEnumerator.h"
      19                 : #endif
      20                 : 
      21                 : #ifndef __gen_nsISelection_h__
      22                 : #include "nsISelection.h"
      23                 : #endif
      24                 : 
      25                 : /* For IDL files that don't want to include root IDL files. */
      26                 : #ifndef NS_NO_VTABLE
      27                 : #define NS_NO_VTABLE
      28                 : #endif
      29                 : class nsRange; /* forward declaration */
      30                 : 
      31                 : class nsIDOMNode; /* forward declaration */
      32                 : 
      33                 : class nsISelectionListener; /* forward declaration */
      34                 : 
      35                 : class nsIContent; /* forward declaration */
      36                 : 
      37                 : class nsINode; /* forward declaration */
      38                 : 
      39                 : class nsFrameSelection;
      40                 : class nsIFrame;
      41                 : class nsIPresShell;
      42                 : struct nsTextRangeStyle;
      43                 : struct nsPoint;
      44                 : #include "nsIFrame.h"
      45                 : #include "nsTArray.h"
      46                 : 
      47                 : /* starting interface:    nsISelectionPrivate */
      48                 : #define NS_ISELECTIONPRIVATE_IID_STR "1820a940-6203-4e27-bc94-fa81131722a4"
      49                 : 
      50                 : #define NS_ISELECTIONPRIVATE_IID \
      51                 :   {0x1820a940, 0x6203, 0x4e27, \
      52                 :     { 0xbc, 0x94, 0xfa, 0x81, 0x13, 0x17, 0x22, 0xa4 }}
      53                 : 
      54               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsISelectionPrivate : public nsISelection {
      55                 :  public: 
      56                 : 
      57                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISELECTIONPRIVATE_IID)
      58                 : 
      59                 :   enum {
      60                 :     ENDOFPRECEDINGLINE = 0,
      61                 :     STARTOFNEXTLINE = 1
      62                 :   };
      63                 : 
      64                 :   /* attribute boolean interlinePosition; */
      65                 :   NS_SCRIPTABLE NS_IMETHOD GetInterlinePosition(bool *aInterlinePosition) = 0;
      66                 :   NS_SCRIPTABLE NS_IMETHOD SetInterlinePosition(bool aInterlinePosition) = 0;
      67                 : 
      68                 :   /* void startBatchChanges (); */
      69                 :   NS_SCRIPTABLE NS_IMETHOD StartBatchChanges(void) = 0;
      70                 : 
      71                 :   /* void endBatchChanges (); */
      72                 :   NS_SCRIPTABLE NS_IMETHOD EndBatchChanges(void) = 0;
      73                 : 
      74                 :   /* nsIEnumerator getEnumerator (); */
      75                 :   NS_SCRIPTABLE NS_IMETHOD GetEnumerator(nsIEnumerator * *_retval NS_OUTPARAM) = 0;
      76                 : 
      77                 :   /* wstring toStringWithFormat (in string formatType, in unsigned long flags, in PRInt32 wrapColumn); */
      78                 :   NS_SCRIPTABLE NS_IMETHOD ToStringWithFormat(const char * formatType, PRUint32 flags, PRInt32 wrapColumn, PRUnichar * *_retval NS_OUTPARAM) = 0;
      79                 : 
      80                 :   /* void addSelectionListener (in nsISelectionListener newListener); */
      81                 :   NS_SCRIPTABLE NS_IMETHOD AddSelectionListener(nsISelectionListener *newListener) = 0;
      82                 : 
      83                 :   /* void removeSelectionListener (in nsISelectionListener listenerToRemove); */
      84                 :   NS_SCRIPTABLE NS_IMETHOD RemoveSelectionListener(nsISelectionListener *listenerToRemove) = 0;
      85                 : 
      86                 :   enum {
      87                 :     TABLESELECTION_NONE = 0,
      88                 :     TABLESELECTION_CELL = 1,
      89                 :     TABLESELECTION_ROW = 2,
      90                 :     TABLESELECTION_COLUMN = 3,
      91                 :     TABLESELECTION_TABLE = 4,
      92                 :     TABLESELECTION_ALLCELLS = 5
      93                 :   };
      94                 : 
      95                 :   /* long getTableSelectionType (in nsIDOMRange range); */
      96                 :   NS_SCRIPTABLE NS_IMETHOD GetTableSelectionType(nsIDOMRange *range, PRInt32 *_retval NS_OUTPARAM) = 0;
      97                 : 
      98                 :   /* [noscript] void setPresShell (in nsIPresShell aPresShell); */
      99                 :   NS_IMETHOD SetPresShell(nsIPresShell *aPresShell) = 0;
     100                 : 
     101                 :   /* [noscript] attribute boolean canCacheFrameOffset; */
     102                 :   NS_IMETHOD GetCanCacheFrameOffset(bool *aCanCacheFrameOffset) = 0;
     103                 :   NS_IMETHOD SetCanCacheFrameOffset(bool aCanCacheFrameOffset) = 0;
     104                 : 
     105                 :   /* [noscript] void getCachedFrameOffset (in nsIFrame aFrame, in PRInt32 inOffset, in nsPointRef aPoint); */
     106                 :   NS_IMETHOD GetCachedFrameOffset(nsIFrame *aFrame, PRInt32 inOffset, nsPoint & aPoint) = 0;
     107                 : 
     108                 :   /* [noscript] nsFrameSelection getFrameSelection (); */
     109                 :   NS_IMETHOD GetFrameSelection(nsFrameSelection **_retval NS_OUTPARAM) = 0;
     110                 : 
     111                 :   /* [noscript] void setAncestorLimiter (in nsIContent aContent); */
     112                 :   NS_IMETHOD SetAncestorLimiter(nsIContent *aContent) = 0;
     113                 : 
     114                 :   /* [noscript] void setTextRangeStyle (in nsIDOMRange range, in constTextRangeStyleRef textRangeStyle); */
     115                 :   NS_IMETHOD SetTextRangeStyle(nsIDOMRange *range, const nsTextRangeStyle & textRangeStyle) = 0;
     116                 : 
     117                 :   /* [noscript,notxpcom] nsDirection getSelectionDirection (); */
     118                 :   NS_IMETHOD_(nsDirection) GetSelectionDirection(void) = 0;
     119                 : 
     120                 :   /* [noscript,notxpcom] void setSelectionDirection (in nsDirection aDirection); */
     121                 :   NS_IMETHOD_(void) SetSelectionDirection(nsDirection aDirection) = 0;
     122                 : 
     123                 :   /* readonly attribute short type; */
     124                 :   NS_SCRIPTABLE NS_IMETHOD GetType(PRInt16 *aType) = 0;
     125                 : 
     126                 :   /* void GetRangesForInterval (in nsIDOMNode beginNode, in PRInt32 beginOffset, in nsIDOMNode endNode, in PRInt32 endOffset, in boolean allowAdjacent, out PRUint32 resultCount, [array, size_is (resultCount), retval] out nsIDOMRange results); */
     127                 :   NS_SCRIPTABLE NS_IMETHOD GetRangesForInterval(nsIDOMNode *beginNode, PRInt32 beginOffset, nsIDOMNode *endNode, PRInt32 endOffset, bool allowAdjacent, PRUint32 *resultCount NS_OUTPARAM, nsIDOMRange * **results NS_OUTPARAM) = 0;
     128                 : 
     129                 :   /* [noscript] void GetRangesForIntervalArray (in nsINode beginNode, in PRInt32 beginOffset, in nsINode endNode, in PRInt32 endOffset, in boolean allowAdjacent, in RangeArray results); */
     130                 :   NS_IMETHOD GetRangesForIntervalArray(nsINode *beginNode, PRInt32 beginOffset, nsINode *endNode, PRInt32 endOffset, bool allowAdjacent, nsTArray<nsRange*> *results) = 0;
     131                 : 
     132                 :   /* void scrollIntoView (in short aRegion, in boolean aIsSynchronous, in short aVPercent, in short aHPercent); */
     133                 :   NS_SCRIPTABLE NS_IMETHOD ScrollIntoView(PRInt16 aRegion, bool aIsSynchronous, PRInt16 aVPercent, PRInt16 aHPercent) = 0;
     134                 : 
     135                 : };
     136                 : 
     137                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsISelectionPrivate, NS_ISELECTIONPRIVATE_IID)
     138                 : 
     139                 : /* Use this macro when declaring classes that implement this interface. */
     140                 : #define NS_DECL_NSISELECTIONPRIVATE \
     141                 :   NS_SCRIPTABLE NS_IMETHOD GetInterlinePosition(bool *aInterlinePosition); \
     142                 :   NS_SCRIPTABLE NS_IMETHOD SetInterlinePosition(bool aInterlinePosition); \
     143                 :   NS_SCRIPTABLE NS_IMETHOD StartBatchChanges(void); \
     144                 :   NS_SCRIPTABLE NS_IMETHOD EndBatchChanges(void); \
     145                 :   NS_SCRIPTABLE NS_IMETHOD GetEnumerator(nsIEnumerator * *_retval NS_OUTPARAM); \
     146                 :   NS_SCRIPTABLE NS_IMETHOD ToStringWithFormat(const char * formatType, PRUint32 flags, PRInt32 wrapColumn, PRUnichar * *_retval NS_OUTPARAM); \
     147                 :   NS_SCRIPTABLE NS_IMETHOD AddSelectionListener(nsISelectionListener *newListener); \
     148                 :   NS_SCRIPTABLE NS_IMETHOD RemoveSelectionListener(nsISelectionListener *listenerToRemove); \
     149                 :   NS_SCRIPTABLE NS_IMETHOD GetTableSelectionType(nsIDOMRange *range, PRInt32 *_retval NS_OUTPARAM); \
     150                 :   NS_IMETHOD SetPresShell(nsIPresShell *aPresShell); \
     151                 :   NS_IMETHOD GetCanCacheFrameOffset(bool *aCanCacheFrameOffset); \
     152                 :   NS_IMETHOD SetCanCacheFrameOffset(bool aCanCacheFrameOffset); \
     153                 :   NS_IMETHOD GetCachedFrameOffset(nsIFrame *aFrame, PRInt32 inOffset, nsPoint & aPoint); \
     154                 :   NS_IMETHOD GetFrameSelection(nsFrameSelection **_retval NS_OUTPARAM); \
     155                 :   NS_IMETHOD SetAncestorLimiter(nsIContent *aContent); \
     156                 :   NS_IMETHOD SetTextRangeStyle(nsIDOMRange *range, const nsTextRangeStyle & textRangeStyle); \
     157                 :   NS_IMETHOD_(nsDirection) GetSelectionDirection(void); \
     158                 :   NS_IMETHOD_(void) SetSelectionDirection(nsDirection aDirection); \
     159                 :   NS_SCRIPTABLE NS_IMETHOD GetType(PRInt16 *aType); \
     160                 :   NS_SCRIPTABLE NS_IMETHOD GetRangesForInterval(nsIDOMNode *beginNode, PRInt32 beginOffset, nsIDOMNode *endNode, PRInt32 endOffset, bool allowAdjacent, PRUint32 *resultCount NS_OUTPARAM, nsIDOMRange * **results NS_OUTPARAM); \
     161                 :   NS_IMETHOD GetRangesForIntervalArray(nsINode *beginNode, PRInt32 beginOffset, nsINode *endNode, PRInt32 endOffset, bool allowAdjacent, nsTArray<nsRange*> *results); \
     162                 :   NS_SCRIPTABLE NS_IMETHOD ScrollIntoView(PRInt16 aRegion, bool aIsSynchronous, PRInt16 aVPercent, PRInt16 aHPercent); 
     163                 : 
     164                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     165                 : #define NS_FORWARD_NSISELECTIONPRIVATE(_to) \
     166                 :   NS_SCRIPTABLE NS_IMETHOD GetInterlinePosition(bool *aInterlinePosition) { return _to GetInterlinePosition(aInterlinePosition); } \
     167                 :   NS_SCRIPTABLE NS_IMETHOD SetInterlinePosition(bool aInterlinePosition) { return _to SetInterlinePosition(aInterlinePosition); } \
     168                 :   NS_SCRIPTABLE NS_IMETHOD StartBatchChanges(void) { return _to StartBatchChanges(); } \
     169                 :   NS_SCRIPTABLE NS_IMETHOD EndBatchChanges(void) { return _to EndBatchChanges(); } \
     170                 :   NS_SCRIPTABLE NS_IMETHOD GetEnumerator(nsIEnumerator * *_retval NS_OUTPARAM) { return _to GetEnumerator(_retval); } \
     171                 :   NS_SCRIPTABLE NS_IMETHOD ToStringWithFormat(const char * formatType, PRUint32 flags, PRInt32 wrapColumn, PRUnichar * *_retval NS_OUTPARAM) { return _to ToStringWithFormat(formatType, flags, wrapColumn, _retval); } \
     172                 :   NS_SCRIPTABLE NS_IMETHOD AddSelectionListener(nsISelectionListener *newListener) { return _to AddSelectionListener(newListener); } \
     173                 :   NS_SCRIPTABLE NS_IMETHOD RemoveSelectionListener(nsISelectionListener *listenerToRemove) { return _to RemoveSelectionListener(listenerToRemove); } \
     174                 :   NS_SCRIPTABLE NS_IMETHOD GetTableSelectionType(nsIDOMRange *range, PRInt32 *_retval NS_OUTPARAM) { return _to GetTableSelectionType(range, _retval); } \
     175                 :   NS_IMETHOD SetPresShell(nsIPresShell *aPresShell) { return _to SetPresShell(aPresShell); } \
     176                 :   NS_IMETHOD GetCanCacheFrameOffset(bool *aCanCacheFrameOffset) { return _to GetCanCacheFrameOffset(aCanCacheFrameOffset); } \
     177                 :   NS_IMETHOD SetCanCacheFrameOffset(bool aCanCacheFrameOffset) { return _to SetCanCacheFrameOffset(aCanCacheFrameOffset); } \
     178                 :   NS_IMETHOD GetCachedFrameOffset(nsIFrame *aFrame, PRInt32 inOffset, nsPoint & aPoint) { return _to GetCachedFrameOffset(aFrame, inOffset, aPoint); } \
     179                 :   NS_IMETHOD GetFrameSelection(nsFrameSelection **_retval NS_OUTPARAM) { return _to GetFrameSelection(_retval); } \
     180                 :   NS_IMETHOD SetAncestorLimiter(nsIContent *aContent) { return _to SetAncestorLimiter(aContent); } \
     181                 :   NS_IMETHOD SetTextRangeStyle(nsIDOMRange *range, const nsTextRangeStyle & textRangeStyle) { return _to SetTextRangeStyle(range, textRangeStyle); } \
     182                 :   NS_IMETHOD_(nsDirection) GetSelectionDirection(void) { return _to GetSelectionDirection(); } \
     183                 :   NS_IMETHOD_(void) SetSelectionDirection(nsDirection aDirection) { return _to SetSelectionDirection(aDirection); } \
     184                 :   NS_SCRIPTABLE NS_IMETHOD GetType(PRInt16 *aType) { return _to GetType(aType); } \
     185                 :   NS_SCRIPTABLE NS_IMETHOD GetRangesForInterval(nsIDOMNode *beginNode, PRInt32 beginOffset, nsIDOMNode *endNode, PRInt32 endOffset, bool allowAdjacent, PRUint32 *resultCount NS_OUTPARAM, nsIDOMRange * **results NS_OUTPARAM) { return _to GetRangesForInterval(beginNode, beginOffset, endNode, endOffset, allowAdjacent, resultCount, results); } \
     186                 :   NS_IMETHOD GetRangesForIntervalArray(nsINode *beginNode, PRInt32 beginOffset, nsINode *endNode, PRInt32 endOffset, bool allowAdjacent, nsTArray<nsRange*> *results) { return _to GetRangesForIntervalArray(beginNode, beginOffset, endNode, endOffset, allowAdjacent, results); } \
     187                 :   NS_SCRIPTABLE NS_IMETHOD ScrollIntoView(PRInt16 aRegion, bool aIsSynchronous, PRInt16 aVPercent, PRInt16 aHPercent) { return _to ScrollIntoView(aRegion, aIsSynchronous, aVPercent, aHPercent); } 
     188                 : 
     189                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     190                 : #define NS_FORWARD_SAFE_NSISELECTIONPRIVATE(_to) \
     191                 :   NS_SCRIPTABLE NS_IMETHOD GetInterlinePosition(bool *aInterlinePosition) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInterlinePosition(aInterlinePosition); } \
     192                 :   NS_SCRIPTABLE NS_IMETHOD SetInterlinePosition(bool aInterlinePosition) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetInterlinePosition(aInterlinePosition); } \
     193                 :   NS_SCRIPTABLE NS_IMETHOD StartBatchChanges(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->StartBatchChanges(); } \
     194                 :   NS_SCRIPTABLE NS_IMETHOD EndBatchChanges(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->EndBatchChanges(); } \
     195                 :   NS_SCRIPTABLE NS_IMETHOD GetEnumerator(nsIEnumerator * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEnumerator(_retval); } \
     196                 :   NS_SCRIPTABLE NS_IMETHOD ToStringWithFormat(const char * formatType, PRUint32 flags, PRInt32 wrapColumn, PRUnichar * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ToStringWithFormat(formatType, flags, wrapColumn, _retval); } \
     197                 :   NS_SCRIPTABLE NS_IMETHOD AddSelectionListener(nsISelectionListener *newListener) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddSelectionListener(newListener); } \
     198                 :   NS_SCRIPTABLE NS_IMETHOD RemoveSelectionListener(nsISelectionListener *listenerToRemove) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveSelectionListener(listenerToRemove); } \
     199                 :   NS_SCRIPTABLE NS_IMETHOD GetTableSelectionType(nsIDOMRange *range, PRInt32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTableSelectionType(range, _retval); } \
     200                 :   NS_IMETHOD SetPresShell(nsIPresShell *aPresShell) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPresShell(aPresShell); } \
     201                 :   NS_IMETHOD GetCanCacheFrameOffset(bool *aCanCacheFrameOffset) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCanCacheFrameOffset(aCanCacheFrameOffset); } \
     202                 :   NS_IMETHOD SetCanCacheFrameOffset(bool aCanCacheFrameOffset) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCanCacheFrameOffset(aCanCacheFrameOffset); } \
     203                 :   NS_IMETHOD GetCachedFrameOffset(nsIFrame *aFrame, PRInt32 inOffset, nsPoint & aPoint) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCachedFrameOffset(aFrame, inOffset, aPoint); } \
     204                 :   NS_IMETHOD GetFrameSelection(nsFrameSelection **_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFrameSelection(_retval); } \
     205                 :   NS_IMETHOD SetAncestorLimiter(nsIContent *aContent) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAncestorLimiter(aContent); } \
     206                 :   NS_IMETHOD SetTextRangeStyle(nsIDOMRange *range, const nsTextRangeStyle & textRangeStyle) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTextRangeStyle(range, textRangeStyle); } \
     207                 :   NS_IMETHOD_(nsDirection) GetSelectionDirection(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectionDirection(); } \
     208                 :   NS_IMETHOD_(void) SetSelectionDirection(nsDirection aDirection) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSelectionDirection(aDirection); } \
     209                 :   NS_SCRIPTABLE NS_IMETHOD GetType(PRInt16 *aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
     210                 :   NS_SCRIPTABLE NS_IMETHOD GetRangesForInterval(nsIDOMNode *beginNode, PRInt32 beginOffset, nsIDOMNode *endNode, PRInt32 endOffset, bool allowAdjacent, PRUint32 *resultCount NS_OUTPARAM, nsIDOMRange * **results NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRangesForInterval(beginNode, beginOffset, endNode, endOffset, allowAdjacent, resultCount, results); } \
     211                 :   NS_IMETHOD GetRangesForIntervalArray(nsINode *beginNode, PRInt32 beginOffset, nsINode *endNode, PRInt32 endOffset, bool allowAdjacent, nsTArray<nsRange*> *results) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRangesForIntervalArray(beginNode, beginOffset, endNode, endOffset, allowAdjacent, results); } \
     212                 :   NS_SCRIPTABLE NS_IMETHOD ScrollIntoView(PRInt16 aRegion, bool aIsSynchronous, PRInt16 aVPercent, PRInt16 aHPercent) { return !_to ? NS_ERROR_NULL_POINTER : _to->ScrollIntoView(aRegion, aIsSynchronous, aVPercent, aHPercent); } 
     213                 : 
     214                 : #if 0
     215                 : /* Use the code below as a template for the implementation class for this interface. */
     216                 : 
     217                 : /* Header file */
     218                 : class nsSelectionPrivate : public nsISelectionPrivate
     219                 : {
     220                 : public:
     221                 :   NS_DECL_ISUPPORTS
     222                 :   NS_DECL_NSISELECTIONPRIVATE
     223                 : 
     224                 :   nsSelectionPrivate();
     225                 : 
     226                 : private:
     227                 :   ~nsSelectionPrivate();
     228                 : 
     229                 : protected:
     230                 :   /* additional members */
     231                 : };
     232                 : 
     233                 : /* Implementation file */
     234                 : NS_IMPL_ISUPPORTS1(nsSelectionPrivate, nsISelectionPrivate)
     235                 : 
     236                 : nsSelectionPrivate::nsSelectionPrivate()
     237                 : {
     238                 :   /* member initializers and constructor code */
     239                 : }
     240                 : 
     241                 : nsSelectionPrivate::~nsSelectionPrivate()
     242                 : {
     243                 :   /* destructor code */
     244                 : }
     245                 : 
     246                 : /* attribute boolean interlinePosition; */
     247                 : NS_IMETHODIMP nsSelectionPrivate::GetInterlinePosition(bool *aInterlinePosition)
     248                 : {
     249                 :     return NS_ERROR_NOT_IMPLEMENTED;
     250                 : }
     251                 : NS_IMETHODIMP nsSelectionPrivate::SetInterlinePosition(bool aInterlinePosition)
     252                 : {
     253                 :     return NS_ERROR_NOT_IMPLEMENTED;
     254                 : }
     255                 : 
     256                 : /* void startBatchChanges (); */
     257                 : NS_IMETHODIMP nsSelectionPrivate::StartBatchChanges()
     258                 : {
     259                 :     return NS_ERROR_NOT_IMPLEMENTED;
     260                 : }
     261                 : 
     262                 : /* void endBatchChanges (); */
     263                 : NS_IMETHODIMP nsSelectionPrivate::EndBatchChanges()
     264                 : {
     265                 :     return NS_ERROR_NOT_IMPLEMENTED;
     266                 : }
     267                 : 
     268                 : /* nsIEnumerator getEnumerator (); */
     269                 : NS_IMETHODIMP nsSelectionPrivate::GetEnumerator(nsIEnumerator * *_retval NS_OUTPARAM)
     270                 : {
     271                 :     return NS_ERROR_NOT_IMPLEMENTED;
     272                 : }
     273                 : 
     274                 : /* wstring toStringWithFormat (in string formatType, in unsigned long flags, in PRInt32 wrapColumn); */
     275                 : NS_IMETHODIMP nsSelectionPrivate::ToStringWithFormat(const char * formatType, PRUint32 flags, PRInt32 wrapColumn, PRUnichar * *_retval NS_OUTPARAM)
     276                 : {
     277                 :     return NS_ERROR_NOT_IMPLEMENTED;
     278                 : }
     279                 : 
     280                 : /* void addSelectionListener (in nsISelectionListener newListener); */
     281                 : NS_IMETHODIMP nsSelectionPrivate::AddSelectionListener(nsISelectionListener *newListener)
     282                 : {
     283                 :     return NS_ERROR_NOT_IMPLEMENTED;
     284                 : }
     285                 : 
     286                 : /* void removeSelectionListener (in nsISelectionListener listenerToRemove); */
     287                 : NS_IMETHODIMP nsSelectionPrivate::RemoveSelectionListener(nsISelectionListener *listenerToRemove)
     288                 : {
     289                 :     return NS_ERROR_NOT_IMPLEMENTED;
     290                 : }
     291                 : 
     292                 : /* long getTableSelectionType (in nsIDOMRange range); */
     293                 : NS_IMETHODIMP nsSelectionPrivate::GetTableSelectionType(nsIDOMRange *range, PRInt32 *_retval NS_OUTPARAM)
     294                 : {
     295                 :     return NS_ERROR_NOT_IMPLEMENTED;
     296                 : }
     297                 : 
     298                 : /* [noscript] void setPresShell (in nsIPresShell aPresShell); */
     299                 : NS_IMETHODIMP nsSelectionPrivate::SetPresShell(nsIPresShell *aPresShell)
     300                 : {
     301                 :     return NS_ERROR_NOT_IMPLEMENTED;
     302                 : }
     303                 : 
     304                 : /* [noscript] attribute boolean canCacheFrameOffset; */
     305                 : NS_IMETHODIMP nsSelectionPrivate::GetCanCacheFrameOffset(bool *aCanCacheFrameOffset)
     306                 : {
     307                 :     return NS_ERROR_NOT_IMPLEMENTED;
     308                 : }
     309                 : NS_IMETHODIMP nsSelectionPrivate::SetCanCacheFrameOffset(bool aCanCacheFrameOffset)
     310                 : {
     311                 :     return NS_ERROR_NOT_IMPLEMENTED;
     312                 : }
     313                 : 
     314                 : /* [noscript] void getCachedFrameOffset (in nsIFrame aFrame, in PRInt32 inOffset, in nsPointRef aPoint); */
     315                 : NS_IMETHODIMP nsSelectionPrivate::GetCachedFrameOffset(nsIFrame *aFrame, PRInt32 inOffset, nsPoint & aPoint)
     316                 : {
     317                 :     return NS_ERROR_NOT_IMPLEMENTED;
     318                 : }
     319                 : 
     320                 : /* [noscript] nsFrameSelection getFrameSelection (); */
     321                 : NS_IMETHODIMP nsSelectionPrivate::GetFrameSelection(nsFrameSelection **_retval NS_OUTPARAM)
     322                 : {
     323                 :     return NS_ERROR_NOT_IMPLEMENTED;
     324                 : }
     325                 : 
     326                 : /* [noscript] void setAncestorLimiter (in nsIContent aContent); */
     327                 : NS_IMETHODIMP nsSelectionPrivate::SetAncestorLimiter(nsIContent *aContent)
     328                 : {
     329                 :     return NS_ERROR_NOT_IMPLEMENTED;
     330                 : }
     331                 : 
     332                 : /* [noscript] void setTextRangeStyle (in nsIDOMRange range, in constTextRangeStyleRef textRangeStyle); */
     333                 : NS_IMETHODIMP nsSelectionPrivate::SetTextRangeStyle(nsIDOMRange *range, const nsTextRangeStyle & textRangeStyle)
     334                 : {
     335                 :     return NS_ERROR_NOT_IMPLEMENTED;
     336                 : }
     337                 : 
     338                 : /* [noscript,notxpcom] nsDirection getSelectionDirection (); */
     339                 : NS_IMETHODIMP_(nsDirection) nsSelectionPrivate::GetSelectionDirection()
     340                 : {
     341                 :     return NS_ERROR_NOT_IMPLEMENTED;
     342                 : }
     343                 : 
     344                 : /* [noscript,notxpcom] void setSelectionDirection (in nsDirection aDirection); */
     345                 : NS_IMETHODIMP_(void) nsSelectionPrivate::SetSelectionDirection(nsDirection aDirection)
     346                 : {
     347                 :     return NS_ERROR_NOT_IMPLEMENTED;
     348                 : }
     349                 : 
     350                 : /* readonly attribute short type; */
     351                 : NS_IMETHODIMP nsSelectionPrivate::GetType(PRInt16 *aType)
     352                 : {
     353                 :     return NS_ERROR_NOT_IMPLEMENTED;
     354                 : }
     355                 : 
     356                 : /* void GetRangesForInterval (in nsIDOMNode beginNode, in PRInt32 beginOffset, in nsIDOMNode endNode, in PRInt32 endOffset, in boolean allowAdjacent, out PRUint32 resultCount, [array, size_is (resultCount), retval] out nsIDOMRange results); */
     357                 : NS_IMETHODIMP nsSelectionPrivate::GetRangesForInterval(nsIDOMNode *beginNode, PRInt32 beginOffset, nsIDOMNode *endNode, PRInt32 endOffset, bool allowAdjacent, PRUint32 *resultCount NS_OUTPARAM, nsIDOMRange * **results NS_OUTPARAM)
     358                 : {
     359                 :     return NS_ERROR_NOT_IMPLEMENTED;
     360                 : }
     361                 : 
     362                 : /* [noscript] void GetRangesForIntervalArray (in nsINode beginNode, in PRInt32 beginOffset, in nsINode endNode, in PRInt32 endOffset, in boolean allowAdjacent, in RangeArray results); */
     363                 : NS_IMETHODIMP nsSelectionPrivate::GetRangesForIntervalArray(nsINode *beginNode, PRInt32 beginOffset, nsINode *endNode, PRInt32 endOffset, bool allowAdjacent, nsTArray<nsRange*> *results)
     364                 : {
     365                 :     return NS_ERROR_NOT_IMPLEMENTED;
     366                 : }
     367                 : 
     368                 : /* void scrollIntoView (in short aRegion, in boolean aIsSynchronous, in short aVPercent, in short aHPercent); */
     369                 : NS_IMETHODIMP nsSelectionPrivate::ScrollIntoView(PRInt16 aRegion, bool aIsSynchronous, PRInt16 aVPercent, PRInt16 aHPercent)
     370                 : {
     371                 :     return NS_ERROR_NOT_IMPLEMENTED;
     372                 : }
     373                 : 
     374                 : /* End of implementation class template. */
     375                 : #endif
     376                 : 
     377                 : 
     378                 : #endif /* __gen_nsISelectionPrivate_h__ */

Generated by: LCOV version 1.7