This file is indexed.

/usr/include/firefox-esr-52/nsIContentViewerEdit.h is in firefox-esr-dev 52.8.1esr-1~deb8u1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIContentViewerEdit.idl
 */

#ifndef __gen_nsIContentViewerEdit_h__
#define __gen_nsIContentViewerEdit_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIDOMNode; /* forward declaration */


/* starting interface:    nsIContentViewerEdit */
#define NS_ICONTENTVIEWEREDIT_IID_STR "35be2d7e-f29b-48ec-bf7e-80a30a724de3"

#define NS_ICONTENTVIEWEREDIT_IID \
  {0x35be2d7e, 0xf29b, 0x48ec, \
    { 0xbf, 0x7e, 0x80, 0xa3, 0x0a, 0x72, 0x4d, 0xe3 }}

class NS_NO_VTABLE nsIContentViewerEdit : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICONTENTVIEWEREDIT_IID)

  /* void clearSelection (); */
  NS_IMETHOD ClearSelection(void) = 0;

  /* void selectAll (); */
  NS_IMETHOD SelectAll(void) = 0;

  /* void copySelection (); */
  NS_IMETHOD CopySelection(void) = 0;

  /* readonly attribute boolean copyable; */
  NS_IMETHOD GetCopyable(bool *aCopyable) = 0;

  /* void copyLinkLocation (); */
  NS_IMETHOD CopyLinkLocation(void) = 0;

  /* readonly attribute boolean inLink; */
  NS_IMETHOD GetInLink(bool *aInLink) = 0;

  enum {
    COPY_IMAGE_TEXT = 1,
    COPY_IMAGE_HTML = 2,
    COPY_IMAGE_DATA = 4,
    COPY_IMAGE_ALL = -1
  };

  /* void copyImage (in long aCopyFlags); */
  NS_IMETHOD CopyImage(int32_t aCopyFlags) = 0;

  /* readonly attribute boolean inImage; */
  NS_IMETHOD GetInImage(bool *aInImage) = 0;

  /* AString getContents (in string aMimeType, in boolean aSelectionOnly); */
  NS_IMETHOD GetContents(const char * aMimeType, bool aSelectionOnly, nsAString & _retval) = 0;

  /* readonly attribute boolean canGetContents; */
  NS_IMETHOD GetCanGetContents(bool *aCanGetContents) = 0;

  /* void setCommandNode (in nsIDOMNode aNode); */
  NS_IMETHOD SetCommandNode(nsIDOMNode *aNode) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIContentViewerEdit, NS_ICONTENTVIEWEREDIT_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSICONTENTVIEWEREDIT \
  NS_IMETHOD ClearSelection(void) override; \
  NS_IMETHOD SelectAll(void) override; \
  NS_IMETHOD CopySelection(void) override; \
  NS_IMETHOD GetCopyable(bool *aCopyable) override; \
  NS_IMETHOD CopyLinkLocation(void) override; \
  NS_IMETHOD GetInLink(bool *aInLink) override; \
  NS_IMETHOD CopyImage(int32_t aCopyFlags) override; \
  NS_IMETHOD GetInImage(bool *aInImage) override; \
  NS_IMETHOD GetContents(const char * aMimeType, bool aSelectionOnly, nsAString & _retval) override; \
  NS_IMETHOD GetCanGetContents(bool *aCanGetContents) override; \
  NS_IMETHOD SetCommandNode(nsIDOMNode *aNode) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSICONTENTVIEWEREDIT \
  NS_METHOD ClearSelection(void); \
  NS_METHOD SelectAll(void); \
  NS_METHOD CopySelection(void); \
  NS_METHOD GetCopyable(bool *aCopyable); \
  NS_METHOD CopyLinkLocation(void); \
  NS_METHOD GetInLink(bool *aInLink); \
  NS_METHOD CopyImage(int32_t aCopyFlags); \
  NS_METHOD GetInImage(bool *aInImage); \
  NS_METHOD GetContents(const char * aMimeType, bool aSelectionOnly, nsAString & _retval); \
  NS_METHOD GetCanGetContents(bool *aCanGetContents); \
  NS_METHOD SetCommandNode(nsIDOMNode *aNode); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSICONTENTVIEWEREDIT(_to) \
  NS_IMETHOD ClearSelection(void) override { return _to ClearSelection(); } \
  NS_IMETHOD SelectAll(void) override { return _to SelectAll(); } \
  NS_IMETHOD CopySelection(void) override { return _to CopySelection(); } \
  NS_IMETHOD GetCopyable(bool *aCopyable) override { return _to GetCopyable(aCopyable); } \
  NS_IMETHOD CopyLinkLocation(void) override { return _to CopyLinkLocation(); } \
  NS_IMETHOD GetInLink(bool *aInLink) override { return _to GetInLink(aInLink); } \
  NS_IMETHOD CopyImage(int32_t aCopyFlags) override { return _to CopyImage(aCopyFlags); } \
  NS_IMETHOD GetInImage(bool *aInImage) override { return _to GetInImage(aInImage); } \
  NS_IMETHOD GetContents(const char * aMimeType, bool aSelectionOnly, nsAString & _retval) override { return _to GetContents(aMimeType, aSelectionOnly, _retval); } \
  NS_IMETHOD GetCanGetContents(bool *aCanGetContents) override { return _to GetCanGetContents(aCanGetContents); } \
  NS_IMETHOD SetCommandNode(nsIDOMNode *aNode) override { return _to SetCommandNode(aNode); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSICONTENTVIEWEREDIT(_to) \
  NS_IMETHOD ClearSelection(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ClearSelection(); } \
  NS_IMETHOD SelectAll(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectAll(); } \
  NS_IMETHOD CopySelection(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CopySelection(); } \
  NS_IMETHOD GetCopyable(bool *aCopyable) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCopyable(aCopyable); } \
  NS_IMETHOD CopyLinkLocation(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CopyLinkLocation(); } \
  NS_IMETHOD GetInLink(bool *aInLink) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInLink(aInLink); } \
  NS_IMETHOD CopyImage(int32_t aCopyFlags) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CopyImage(aCopyFlags); } \
  NS_IMETHOD GetInImage(bool *aInImage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInImage(aInImage); } \
  NS_IMETHOD GetContents(const char * aMimeType, bool aSelectionOnly, nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContents(aMimeType, aSelectionOnly, _retval); } \
  NS_IMETHOD GetCanGetContents(bool *aCanGetContents) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCanGetContents(aCanGetContents); } \
  NS_IMETHOD SetCommandNode(nsIDOMNode *aNode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCommandNode(aNode); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsContentViewerEdit : public nsIContentViewerEdit
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSICONTENTVIEWEREDIT

  nsContentViewerEdit();

private:
  ~nsContentViewerEdit();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsContentViewerEdit, nsIContentViewerEdit)

nsContentViewerEdit::nsContentViewerEdit()
{
  /* member initializers and constructor code */
}

nsContentViewerEdit::~nsContentViewerEdit()
{
  /* destructor code */
}

/* void clearSelection (); */
NS_IMETHODIMP nsContentViewerEdit::ClearSelection()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void selectAll (); */
NS_IMETHODIMP nsContentViewerEdit::SelectAll()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void copySelection (); */
NS_IMETHODIMP nsContentViewerEdit::CopySelection()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean copyable; */
NS_IMETHODIMP nsContentViewerEdit::GetCopyable(bool *aCopyable)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void copyLinkLocation (); */
NS_IMETHODIMP nsContentViewerEdit::CopyLinkLocation()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean inLink; */
NS_IMETHODIMP nsContentViewerEdit::GetInLink(bool *aInLink)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void copyImage (in long aCopyFlags); */
NS_IMETHODIMP nsContentViewerEdit::CopyImage(int32_t aCopyFlags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean inImage; */
NS_IMETHODIMP nsContentViewerEdit::GetInImage(bool *aInImage)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* AString getContents (in string aMimeType, in boolean aSelectionOnly); */
NS_IMETHODIMP nsContentViewerEdit::GetContents(const char * aMimeType, bool aSelectionOnly, nsAString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean canGetContents; */
NS_IMETHODIMP nsContentViewerEdit::GetCanGetContents(bool *aCanGetContents)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setCommandNode (in nsIDOMNode aNode); */
NS_IMETHODIMP nsContentViewerEdit::SetCommandNode(nsIDOMNode *aNode)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#endif /* __gen_nsIContentViewerEdit_h__ */