LCOV - code coverage report
Current view: directory - objdir/dist/include - nsISelectionController.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/nsISelectionController.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsISelectionController_h__
       6                 : #define __gen_nsISelectionController_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : #ifndef __gen_nsISelection_h__
      14                 : #include "nsISelection.h"
      15                 : #endif
      16                 : 
      17                 : #ifndef __gen_nsISelectionDisplay_h__
      18                 : #include "nsISelectionDisplay.h"
      19                 : #endif
      20                 : 
      21                 : /* For IDL files that don't want to include root IDL files. */
      22                 : #ifndef NS_NO_VTABLE
      23                 : #define NS_NO_VTABLE
      24                 : #endif
      25                 : typedef short SelectionType;
      26                 : typedef short SelectionRegion;
      27                 : class nsIContent; /* forward declaration */
      28                 : 
      29                 : class nsIDOMNode; /* forward declaration */
      30                 : 
      31                 : class nsISelection; /* forward declaration */
      32                 : 
      33                 : class nsISelectionDisplay; /* forward declaration */
      34                 : 
      35                 : 
      36                 : /* starting interface:    nsISelectionController */
      37                 : #define NS_ISELECTIONCONTROLLER_IID_STR "b1ff7faa-8097-431d-b7f1-b0615e3cd596"
      38                 : 
      39                 : #define NS_ISELECTIONCONTROLLER_IID \
      40                 :   {0xb1ff7faa, 0x8097, 0x431d, \
      41                 :     { 0xb7, 0xf1, 0xb0, 0x61, 0x5e, 0x3c, 0xd5, 0x96 }}
      42                 : 
      43               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsISelectionController : public nsISelectionDisplay {
      44                 :  public: 
      45                 : 
      46                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISELECTIONCONTROLLER_IID)
      47                 : 
      48                 :   enum {
      49                 :     SELECTION_NONE = 0,
      50                 :     SELECTION_NORMAL = 1,
      51                 :     SELECTION_SPELLCHECK = 2,
      52                 :     SELECTION_IME_RAWINPUT = 4,
      53                 :     SELECTION_IME_SELECTEDRAWTEXT = 8,
      54                 :     SELECTION_IME_CONVERTEDTEXT = 16,
      55                 :     SELECTION_IME_SELECTEDCONVERTEDTEXT = 32,
      56                 :     SELECTION_ACCESSIBILITY = 64,
      57                 :     SELECTION_FIND = 128,
      58                 :     SELECTION_URLSECONDARY = 256,
      59                 :     NUM_SELECTIONTYPES = 10,
      60                 :     SELECTION_ANCHOR_REGION = 0,
      61                 :     SELECTION_FOCUS_REGION = 1,
      62                 :     SELECTION_WHOLE_SELECTION = 2,
      63                 :     NUM_SELECTION_REGIONS = 3,
      64                 :     SELECTION_OFF = 0,
      65                 :     SELECTION_HIDDEN = 1,
      66                 :     SELECTION_ON = 2,
      67                 :     SELECTION_DISABLED = 3,
      68                 :     SELECTION_ATTENTION = 4
      69                 :   };
      70                 : 
      71                 :   /* void setDisplaySelection (in short toggle); */
      72                 :   NS_SCRIPTABLE NS_IMETHOD SetDisplaySelection(PRInt16 toggle) = 0;
      73                 : 
      74                 :   /* short getDisplaySelection (); */
      75                 :   NS_SCRIPTABLE NS_IMETHOD GetDisplaySelection(PRInt16 *_retval NS_OUTPARAM) = 0;
      76                 : 
      77                 :   /* nsISelection getSelection (in short type); */
      78                 :   NS_SCRIPTABLE NS_IMETHOD GetSelection(PRInt16 type, nsISelection * *_retval NS_OUTPARAM) = 0;
      79                 : 
      80                 :   enum {
      81                 :     SCROLL_SYNCHRONOUS = 2,
      82                 :     SCROLL_FIRST_ANCESTOR_ONLY = 4,
      83                 :     SCROLL_CENTER_VERTICALLY = 16
      84                 :   };
      85                 : 
      86                 :   /* void scrollSelectionIntoView (in short type, in short region, in short flags); */
      87                 :   NS_SCRIPTABLE NS_IMETHOD ScrollSelectionIntoView(PRInt16 type, PRInt16 region, PRInt16 flags) = 0;
      88                 : 
      89                 :   /* void repaintSelection (in short type); */
      90                 :   NS_SCRIPTABLE NS_IMETHOD RepaintSelection(PRInt16 type) = 0;
      91                 : 
      92                 :   /* void setCaretEnabled (in boolean enabled); */
      93                 :   NS_SCRIPTABLE NS_IMETHOD SetCaretEnabled(bool enabled) = 0;
      94                 : 
      95                 :   /* void setCaretReadOnly (in boolean readOnly); */
      96                 :   NS_SCRIPTABLE NS_IMETHOD SetCaretReadOnly(bool readOnly) = 0;
      97                 : 
      98                 :   /* boolean getCaretEnabled (); */
      99                 :   NS_SCRIPTABLE NS_IMETHOD GetCaretEnabled(bool *_retval NS_OUTPARAM) = 0;
     100                 : 
     101                 :   /* readonly attribute boolean caretVisible; */
     102                 :   NS_SCRIPTABLE NS_IMETHOD GetCaretVisible(bool *aCaretVisible) = 0;
     103                 : 
     104                 :   /* void setCaretVisibilityDuringSelection (in boolean visibility); */
     105                 :   NS_SCRIPTABLE NS_IMETHOD SetCaretVisibilityDuringSelection(bool visibility) = 0;
     106                 : 
     107                 :   /* void characterMove (in boolean forward, in boolean extend); */
     108                 :   NS_SCRIPTABLE NS_IMETHOD CharacterMove(bool forward, bool extend) = 0;
     109                 : 
     110                 :   /* [noscript] void characterExtendForDelete (); */
     111                 :   NS_IMETHOD CharacterExtendForDelete(void) = 0;
     112                 : 
     113                 :   /* [noscript] void characterExtendForBackspace (); */
     114                 :   NS_IMETHOD CharacterExtendForBackspace(void) = 0;
     115                 : 
     116                 :   /* void wordMove (in boolean forward, in boolean extend); */
     117                 :   NS_SCRIPTABLE NS_IMETHOD WordMove(bool forward, bool extend) = 0;
     118                 : 
     119                 :   /* [noscript] void wordExtendForDelete (in boolean forward); */
     120                 :   NS_IMETHOD WordExtendForDelete(bool forward) = 0;
     121                 : 
     122                 :   /* void lineMove (in boolean forward, in boolean extend); */
     123                 :   NS_SCRIPTABLE NS_IMETHOD LineMove(bool forward, bool extend) = 0;
     124                 : 
     125                 :   /* void intraLineMove (in boolean forward, in boolean extend); */
     126                 :   NS_SCRIPTABLE NS_IMETHOD IntraLineMove(bool forward, bool extend) = 0;
     127                 : 
     128                 :   /* void pageMove (in boolean forward, in boolean extend); */
     129                 :   NS_SCRIPTABLE NS_IMETHOD PageMove(bool forward, bool extend) = 0;
     130                 : 
     131                 :   /* void completeScroll (in boolean forward); */
     132                 :   NS_SCRIPTABLE NS_IMETHOD CompleteScroll(bool forward) = 0;
     133                 : 
     134                 :   /* void completeMove (in boolean forward, in boolean extend); */
     135                 :   NS_SCRIPTABLE NS_IMETHOD CompleteMove(bool forward, bool extend) = 0;
     136                 : 
     137                 :   /* void scrollPage (in boolean forward); */
     138                 :   NS_SCRIPTABLE NS_IMETHOD ScrollPage(bool forward) = 0;
     139                 : 
     140                 :   /* void scrollLine (in boolean forward); */
     141                 :   NS_SCRIPTABLE NS_IMETHOD ScrollLine(bool forward) = 0;
     142                 : 
     143                 :   /* void scrollCharacter (in boolean right); */
     144                 :   NS_SCRIPTABLE NS_IMETHOD ScrollCharacter(bool right) = 0;
     145                 : 
     146                 :   /* void selectAll (); */
     147                 :   NS_SCRIPTABLE NS_IMETHOD SelectAll(void) = 0;
     148                 : 
     149                 :   /* boolean checkVisibility (in nsIDOMNode node, in short startOffset, in short endOffset); */
     150                 :   NS_SCRIPTABLE NS_IMETHOD CheckVisibility(nsIDOMNode *node, PRInt16 startOffset, PRInt16 endOffset, bool *_retval NS_OUTPARAM) = 0;
     151                 : 
     152                 :   /* [noscript,nostdcall] boolean checkVisibilityContent (in nsIContent node, in short startOffset, in short endOffset); */
     153                 :   virtual nsresult CheckVisibilityContent(nsIContent *node, PRInt16 startOffset, PRInt16 endOffset, bool *_retval NS_OUTPARAM) = 0;
     154                 : 
     155                 : };
     156                 : 
     157                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsISelectionController, NS_ISELECTIONCONTROLLER_IID)
     158                 : 
     159                 : /* Use this macro when declaring classes that implement this interface. */
     160                 : #define NS_DECL_NSISELECTIONCONTROLLER \
     161                 :   NS_SCRIPTABLE NS_IMETHOD SetDisplaySelection(PRInt16 toggle); \
     162                 :   NS_SCRIPTABLE NS_IMETHOD GetDisplaySelection(PRInt16 *_retval NS_OUTPARAM); \
     163                 :   NS_SCRIPTABLE NS_IMETHOD GetSelection(PRInt16 type, nsISelection * *_retval NS_OUTPARAM); \
     164                 :   NS_SCRIPTABLE NS_IMETHOD ScrollSelectionIntoView(PRInt16 type, PRInt16 region, PRInt16 flags); \
     165                 :   NS_SCRIPTABLE NS_IMETHOD RepaintSelection(PRInt16 type); \
     166                 :   NS_SCRIPTABLE NS_IMETHOD SetCaretEnabled(bool enabled); \
     167                 :   NS_SCRIPTABLE NS_IMETHOD SetCaretReadOnly(bool readOnly); \
     168                 :   NS_SCRIPTABLE NS_IMETHOD GetCaretEnabled(bool *_retval NS_OUTPARAM); \
     169                 :   NS_SCRIPTABLE NS_IMETHOD GetCaretVisible(bool *aCaretVisible); \
     170                 :   NS_SCRIPTABLE NS_IMETHOD SetCaretVisibilityDuringSelection(bool visibility); \
     171                 :   NS_SCRIPTABLE NS_IMETHOD CharacterMove(bool forward, bool extend); \
     172                 :   NS_IMETHOD CharacterExtendForDelete(void); \
     173                 :   NS_IMETHOD CharacterExtendForBackspace(void); \
     174                 :   NS_SCRIPTABLE NS_IMETHOD WordMove(bool forward, bool extend); \
     175                 :   NS_IMETHOD WordExtendForDelete(bool forward); \
     176                 :   NS_SCRIPTABLE NS_IMETHOD LineMove(bool forward, bool extend); \
     177                 :   NS_SCRIPTABLE NS_IMETHOD IntraLineMove(bool forward, bool extend); \
     178                 :   NS_SCRIPTABLE NS_IMETHOD PageMove(bool forward, bool extend); \
     179                 :   NS_SCRIPTABLE NS_IMETHOD CompleteScroll(bool forward); \
     180                 :   NS_SCRIPTABLE NS_IMETHOD CompleteMove(bool forward, bool extend); \
     181                 :   NS_SCRIPTABLE NS_IMETHOD ScrollPage(bool forward); \
     182                 :   NS_SCRIPTABLE NS_IMETHOD ScrollLine(bool forward); \
     183                 :   NS_SCRIPTABLE NS_IMETHOD ScrollCharacter(bool right); \
     184                 :   NS_SCRIPTABLE NS_IMETHOD SelectAll(void); \
     185                 :   NS_SCRIPTABLE NS_IMETHOD CheckVisibility(nsIDOMNode *node, PRInt16 startOffset, PRInt16 endOffset, bool *_retval NS_OUTPARAM); \
     186                 :   virtual nsresult CheckVisibilityContent(nsIContent *node, PRInt16 startOffset, PRInt16 endOffset, bool *_retval NS_OUTPARAM); 
     187                 : 
     188                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     189                 : #define NS_FORWARD_NSISELECTIONCONTROLLER(_to) \
     190                 :   NS_SCRIPTABLE NS_IMETHOD SetDisplaySelection(PRInt16 toggle) { return _to SetDisplaySelection(toggle); } \
     191                 :   NS_SCRIPTABLE NS_IMETHOD GetDisplaySelection(PRInt16 *_retval NS_OUTPARAM) { return _to GetDisplaySelection(_retval); } \
     192                 :   NS_SCRIPTABLE NS_IMETHOD GetSelection(PRInt16 type, nsISelection * *_retval NS_OUTPARAM) { return _to GetSelection(type, _retval); } \
     193                 :   NS_SCRIPTABLE NS_IMETHOD ScrollSelectionIntoView(PRInt16 type, PRInt16 region, PRInt16 flags) { return _to ScrollSelectionIntoView(type, region, flags); } \
     194                 :   NS_SCRIPTABLE NS_IMETHOD RepaintSelection(PRInt16 type) { return _to RepaintSelection(type); } \
     195                 :   NS_SCRIPTABLE NS_IMETHOD SetCaretEnabled(bool enabled) { return _to SetCaretEnabled(enabled); } \
     196                 :   NS_SCRIPTABLE NS_IMETHOD SetCaretReadOnly(bool readOnly) { return _to SetCaretReadOnly(readOnly); } \
     197                 :   NS_SCRIPTABLE NS_IMETHOD GetCaretEnabled(bool *_retval NS_OUTPARAM) { return _to GetCaretEnabled(_retval); } \
     198                 :   NS_SCRIPTABLE NS_IMETHOD GetCaretVisible(bool *aCaretVisible) { return _to GetCaretVisible(aCaretVisible); } \
     199                 :   NS_SCRIPTABLE NS_IMETHOD SetCaretVisibilityDuringSelection(bool visibility) { return _to SetCaretVisibilityDuringSelection(visibility); } \
     200                 :   NS_SCRIPTABLE NS_IMETHOD CharacterMove(bool forward, bool extend) { return _to CharacterMove(forward, extend); } \
     201                 :   NS_IMETHOD CharacterExtendForDelete(void) { return _to CharacterExtendForDelete(); } \
     202                 :   NS_IMETHOD CharacterExtendForBackspace(void) { return _to CharacterExtendForBackspace(); } \
     203                 :   NS_SCRIPTABLE NS_IMETHOD WordMove(bool forward, bool extend) { return _to WordMove(forward, extend); } \
     204                 :   NS_IMETHOD WordExtendForDelete(bool forward) { return _to WordExtendForDelete(forward); } \
     205                 :   NS_SCRIPTABLE NS_IMETHOD LineMove(bool forward, bool extend) { return _to LineMove(forward, extend); } \
     206                 :   NS_SCRIPTABLE NS_IMETHOD IntraLineMove(bool forward, bool extend) { return _to IntraLineMove(forward, extend); } \
     207                 :   NS_SCRIPTABLE NS_IMETHOD PageMove(bool forward, bool extend) { return _to PageMove(forward, extend); } \
     208                 :   NS_SCRIPTABLE NS_IMETHOD CompleteScroll(bool forward) { return _to CompleteScroll(forward); } \
     209                 :   NS_SCRIPTABLE NS_IMETHOD CompleteMove(bool forward, bool extend) { return _to CompleteMove(forward, extend); } \
     210                 :   NS_SCRIPTABLE NS_IMETHOD ScrollPage(bool forward) { return _to ScrollPage(forward); } \
     211                 :   NS_SCRIPTABLE NS_IMETHOD ScrollLine(bool forward) { return _to ScrollLine(forward); } \
     212                 :   NS_SCRIPTABLE NS_IMETHOD ScrollCharacter(bool right) { return _to ScrollCharacter(right); } \
     213                 :   NS_SCRIPTABLE NS_IMETHOD SelectAll(void) { return _to SelectAll(); } \
     214                 :   NS_SCRIPTABLE NS_IMETHOD CheckVisibility(nsIDOMNode *node, PRInt16 startOffset, PRInt16 endOffset, bool *_retval NS_OUTPARAM) { return _to CheckVisibility(node, startOffset, endOffset, _retval); } \
     215                 :   virtual nsresult CheckVisibilityContent(nsIContent *node, PRInt16 startOffset, PRInt16 endOffset, bool *_retval NS_OUTPARAM) { return _to CheckVisibilityContent(node, startOffset, endOffset, _retval); } 
     216                 : 
     217                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     218                 : #define NS_FORWARD_SAFE_NSISELECTIONCONTROLLER(_to) \
     219                 :   NS_SCRIPTABLE NS_IMETHOD SetDisplaySelection(PRInt16 toggle) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDisplaySelection(toggle); } \
     220                 :   NS_SCRIPTABLE NS_IMETHOD GetDisplaySelection(PRInt16 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisplaySelection(_retval); } \
     221                 :   NS_SCRIPTABLE NS_IMETHOD GetSelection(PRInt16 type, nsISelection * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelection(type, _retval); } \
     222                 :   NS_SCRIPTABLE NS_IMETHOD ScrollSelectionIntoView(PRInt16 type, PRInt16 region, PRInt16 flags) { return !_to ? NS_ERROR_NULL_POINTER : _to->ScrollSelectionIntoView(type, region, flags); } \
     223                 :   NS_SCRIPTABLE NS_IMETHOD RepaintSelection(PRInt16 type) { return !_to ? NS_ERROR_NULL_POINTER : _to->RepaintSelection(type); } \
     224                 :   NS_SCRIPTABLE NS_IMETHOD SetCaretEnabled(bool enabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCaretEnabled(enabled); } \
     225                 :   NS_SCRIPTABLE NS_IMETHOD SetCaretReadOnly(bool readOnly) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCaretReadOnly(readOnly); } \
     226                 :   NS_SCRIPTABLE NS_IMETHOD GetCaretEnabled(bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCaretEnabled(_retval); } \
     227                 :   NS_SCRIPTABLE NS_IMETHOD GetCaretVisible(bool *aCaretVisible) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCaretVisible(aCaretVisible); } \
     228                 :   NS_SCRIPTABLE NS_IMETHOD SetCaretVisibilityDuringSelection(bool visibility) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCaretVisibilityDuringSelection(visibility); } \
     229                 :   NS_SCRIPTABLE NS_IMETHOD CharacterMove(bool forward, bool extend) { return !_to ? NS_ERROR_NULL_POINTER : _to->CharacterMove(forward, extend); } \
     230                 :   NS_IMETHOD CharacterExtendForDelete(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->CharacterExtendForDelete(); } \
     231                 :   NS_IMETHOD CharacterExtendForBackspace(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->CharacterExtendForBackspace(); } \
     232                 :   NS_SCRIPTABLE NS_IMETHOD WordMove(bool forward, bool extend) { return !_to ? NS_ERROR_NULL_POINTER : _to->WordMove(forward, extend); } \
     233                 :   NS_IMETHOD WordExtendForDelete(bool forward) { return !_to ? NS_ERROR_NULL_POINTER : _to->WordExtendForDelete(forward); } \
     234                 :   NS_SCRIPTABLE NS_IMETHOD LineMove(bool forward, bool extend) { return !_to ? NS_ERROR_NULL_POINTER : _to->LineMove(forward, extend); } \
     235                 :   NS_SCRIPTABLE NS_IMETHOD IntraLineMove(bool forward, bool extend) { return !_to ? NS_ERROR_NULL_POINTER : _to->IntraLineMove(forward, extend); } \
     236                 :   NS_SCRIPTABLE NS_IMETHOD PageMove(bool forward, bool extend) { return !_to ? NS_ERROR_NULL_POINTER : _to->PageMove(forward, extend); } \
     237                 :   NS_SCRIPTABLE NS_IMETHOD CompleteScroll(bool forward) { return !_to ? NS_ERROR_NULL_POINTER : _to->CompleteScroll(forward); } \
     238                 :   NS_SCRIPTABLE NS_IMETHOD CompleteMove(bool forward, bool extend) { return !_to ? NS_ERROR_NULL_POINTER : _to->CompleteMove(forward, extend); } \
     239                 :   NS_SCRIPTABLE NS_IMETHOD ScrollPage(bool forward) { return !_to ? NS_ERROR_NULL_POINTER : _to->ScrollPage(forward); } \
     240                 :   NS_SCRIPTABLE NS_IMETHOD ScrollLine(bool forward) { return !_to ? NS_ERROR_NULL_POINTER : _to->ScrollLine(forward); } \
     241                 :   NS_SCRIPTABLE NS_IMETHOD ScrollCharacter(bool right) { return !_to ? NS_ERROR_NULL_POINTER : _to->ScrollCharacter(right); } \
     242                 :   NS_SCRIPTABLE NS_IMETHOD SelectAll(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectAll(); } \
     243                 :   NS_SCRIPTABLE NS_IMETHOD CheckVisibility(nsIDOMNode *node, PRInt16 startOffset, PRInt16 endOffset, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CheckVisibility(node, startOffset, endOffset, _retval); } \
     244                 :   virtual nsresult CheckVisibilityContent(nsIContent *node, PRInt16 startOffset, PRInt16 endOffset, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CheckVisibilityContent(node, startOffset, endOffset, _retval); } 
     245                 : 
     246                 : #if 0
     247                 : /* Use the code below as a template for the implementation class for this interface. */
     248                 : 
     249                 : /* Header file */
     250                 : class nsSelectionController : public nsISelectionController
     251                 : {
     252                 : public:
     253                 :   NS_DECL_ISUPPORTS
     254                 :   NS_DECL_NSISELECTIONCONTROLLER
     255                 : 
     256                 :   nsSelectionController();
     257                 : 
     258                 : private:
     259                 :   ~nsSelectionController();
     260                 : 
     261                 : protected:
     262                 :   /* additional members */
     263                 : };
     264                 : 
     265                 : /* Implementation file */
     266                 : NS_IMPL_ISUPPORTS1(nsSelectionController, nsISelectionController)
     267                 : 
     268                 : nsSelectionController::nsSelectionController()
     269                 : {
     270                 :   /* member initializers and constructor code */
     271                 : }
     272                 : 
     273                 : nsSelectionController::~nsSelectionController()
     274                 : {
     275                 :   /* destructor code */
     276                 : }
     277                 : 
     278                 : /* void setDisplaySelection (in short toggle); */
     279                 : NS_IMETHODIMP nsSelectionController::SetDisplaySelection(PRInt16 toggle)
     280                 : {
     281                 :     return NS_ERROR_NOT_IMPLEMENTED;
     282                 : }
     283                 : 
     284                 : /* short getDisplaySelection (); */
     285                 : NS_IMETHODIMP nsSelectionController::GetDisplaySelection(PRInt16 *_retval NS_OUTPARAM)
     286                 : {
     287                 :     return NS_ERROR_NOT_IMPLEMENTED;
     288                 : }
     289                 : 
     290                 : /* nsISelection getSelection (in short type); */
     291                 : NS_IMETHODIMP nsSelectionController::GetSelection(PRInt16 type, nsISelection * *_retval NS_OUTPARAM)
     292                 : {
     293                 :     return NS_ERROR_NOT_IMPLEMENTED;
     294                 : }
     295                 : 
     296                 : /* void scrollSelectionIntoView (in short type, in short region, in short flags); */
     297                 : NS_IMETHODIMP nsSelectionController::ScrollSelectionIntoView(PRInt16 type, PRInt16 region, PRInt16 flags)
     298                 : {
     299                 :     return NS_ERROR_NOT_IMPLEMENTED;
     300                 : }
     301                 : 
     302                 : /* void repaintSelection (in short type); */
     303                 : NS_IMETHODIMP nsSelectionController::RepaintSelection(PRInt16 type)
     304                 : {
     305                 :     return NS_ERROR_NOT_IMPLEMENTED;
     306                 : }
     307                 : 
     308                 : /* void setCaretEnabled (in boolean enabled); */
     309                 : NS_IMETHODIMP nsSelectionController::SetCaretEnabled(bool enabled)
     310                 : {
     311                 :     return NS_ERROR_NOT_IMPLEMENTED;
     312                 : }
     313                 : 
     314                 : /* void setCaretReadOnly (in boolean readOnly); */
     315                 : NS_IMETHODIMP nsSelectionController::SetCaretReadOnly(bool readOnly)
     316                 : {
     317                 :     return NS_ERROR_NOT_IMPLEMENTED;
     318                 : }
     319                 : 
     320                 : /* boolean getCaretEnabled (); */
     321                 : NS_IMETHODIMP nsSelectionController::GetCaretEnabled(bool *_retval NS_OUTPARAM)
     322                 : {
     323                 :     return NS_ERROR_NOT_IMPLEMENTED;
     324                 : }
     325                 : 
     326                 : /* readonly attribute boolean caretVisible; */
     327                 : NS_IMETHODIMP nsSelectionController::GetCaretVisible(bool *aCaretVisible)
     328                 : {
     329                 :     return NS_ERROR_NOT_IMPLEMENTED;
     330                 : }
     331                 : 
     332                 : /* void setCaretVisibilityDuringSelection (in boolean visibility); */
     333                 : NS_IMETHODIMP nsSelectionController::SetCaretVisibilityDuringSelection(bool visibility)
     334                 : {
     335                 :     return NS_ERROR_NOT_IMPLEMENTED;
     336                 : }
     337                 : 
     338                 : /* void characterMove (in boolean forward, in boolean extend); */
     339                 : NS_IMETHODIMP nsSelectionController::CharacterMove(bool forward, bool extend)
     340                 : {
     341                 :     return NS_ERROR_NOT_IMPLEMENTED;
     342                 : }
     343                 : 
     344                 : /* [noscript] void characterExtendForDelete (); */
     345                 : NS_IMETHODIMP nsSelectionController::CharacterExtendForDelete()
     346                 : {
     347                 :     return NS_ERROR_NOT_IMPLEMENTED;
     348                 : }
     349                 : 
     350                 : /* [noscript] void characterExtendForBackspace (); */
     351                 : NS_IMETHODIMP nsSelectionController::CharacterExtendForBackspace()
     352                 : {
     353                 :     return NS_ERROR_NOT_IMPLEMENTED;
     354                 : }
     355                 : 
     356                 : /* void wordMove (in boolean forward, in boolean extend); */
     357                 : NS_IMETHODIMP nsSelectionController::WordMove(bool forward, bool extend)
     358                 : {
     359                 :     return NS_ERROR_NOT_IMPLEMENTED;
     360                 : }
     361                 : 
     362                 : /* [noscript] void wordExtendForDelete (in boolean forward); */
     363                 : NS_IMETHODIMP nsSelectionController::WordExtendForDelete(bool forward)
     364                 : {
     365                 :     return NS_ERROR_NOT_IMPLEMENTED;
     366                 : }
     367                 : 
     368                 : /* void lineMove (in boolean forward, in boolean extend); */
     369                 : NS_IMETHODIMP nsSelectionController::LineMove(bool forward, bool extend)
     370                 : {
     371                 :     return NS_ERROR_NOT_IMPLEMENTED;
     372                 : }
     373                 : 
     374                 : /* void intraLineMove (in boolean forward, in boolean extend); */
     375                 : NS_IMETHODIMP nsSelectionController::IntraLineMove(bool forward, bool extend)
     376                 : {
     377                 :     return NS_ERROR_NOT_IMPLEMENTED;
     378                 : }
     379                 : 
     380                 : /* void pageMove (in boolean forward, in boolean extend); */
     381                 : NS_IMETHODIMP nsSelectionController::PageMove(bool forward, bool extend)
     382                 : {
     383                 :     return NS_ERROR_NOT_IMPLEMENTED;
     384                 : }
     385                 : 
     386                 : /* void completeScroll (in boolean forward); */
     387                 : NS_IMETHODIMP nsSelectionController::CompleteScroll(bool forward)
     388                 : {
     389                 :     return NS_ERROR_NOT_IMPLEMENTED;
     390                 : }
     391                 : 
     392                 : /* void completeMove (in boolean forward, in boolean extend); */
     393                 : NS_IMETHODIMP nsSelectionController::CompleteMove(bool forward, bool extend)
     394                 : {
     395                 :     return NS_ERROR_NOT_IMPLEMENTED;
     396                 : }
     397                 : 
     398                 : /* void scrollPage (in boolean forward); */
     399                 : NS_IMETHODIMP nsSelectionController::ScrollPage(bool forward)
     400                 : {
     401                 :     return NS_ERROR_NOT_IMPLEMENTED;
     402                 : }
     403                 : 
     404                 : /* void scrollLine (in boolean forward); */
     405                 : NS_IMETHODIMP nsSelectionController::ScrollLine(bool forward)
     406                 : {
     407                 :     return NS_ERROR_NOT_IMPLEMENTED;
     408                 : }
     409                 : 
     410                 : /* void scrollCharacter (in boolean right); */
     411                 : NS_IMETHODIMP nsSelectionController::ScrollCharacter(bool right)
     412                 : {
     413                 :     return NS_ERROR_NOT_IMPLEMENTED;
     414                 : }
     415                 : 
     416                 : /* void selectAll (); */
     417                 : NS_IMETHODIMP nsSelectionController::SelectAll()
     418                 : {
     419                 :     return NS_ERROR_NOT_IMPLEMENTED;
     420                 : }
     421                 : 
     422                 : /* boolean checkVisibility (in nsIDOMNode node, in short startOffset, in short endOffset); */
     423                 : NS_IMETHODIMP nsSelectionController::CheckVisibility(nsIDOMNode *node, PRInt16 startOffset, PRInt16 endOffset, bool *_retval NS_OUTPARAM)
     424                 : {
     425                 :     return NS_ERROR_NOT_IMPLEMENTED;
     426                 : }
     427                 : 
     428                 : /* [noscript,nostdcall] boolean checkVisibilityContent (in nsIContent node, in short startOffset, in short endOffset); */
     429                 : nsresult nsSelectionController::CheckVisibilityContent(nsIContent *node, PRInt16 startOffset, PRInt16 endOffset, bool *_retval NS_OUTPARAM)
     430                 : {
     431                 :     return NS_ERROR_NOT_IMPLEMENTED;
     432                 : }
     433                 : 
     434                 : /* End of implementation class template. */
     435                 : #endif
     436                 : 
     437                 :    #define NS_ISELECTIONCONTROLLER_CID \
     438                 :    { 0x513b9460, 0xd56a, 0x4c4e, \
     439                 :    { 0xb6, 0xf9, 0x0b, 0x8a, 0xe4, 0x37, 0x2a, 0x3b }}
     440                 : 
     441                 : #endif /* __gen_nsISelectionController_h__ */

Generated by: LCOV version 1.7