This file is indexed.

/usr/include/firefox/nsIDOMMutationEvent.h is in firefox-dev 11.0+build1-0ubuntu4.

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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /build/buildd/firefox-11.0+build1/build-tree/mozilla/dom/interfaces/events/nsIDOMMutationEvent.idl
 */

#ifndef __gen_nsIDOMMutationEvent_h__
#define __gen_nsIDOMMutationEvent_h__


#ifndef __gen_nsIDOMEvent_h__
#include "nsIDOMEvent.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif

/* starting interface:    nsIDOMMutationEvent */
#define NS_IDOMMUTATIONEVENT_IID_STR "72b3ddba-6cbb-4011-ac3b-50bd900b223d"

#define NS_IDOMMUTATIONEVENT_IID \
  {0x72b3ddba, 0x6cbb, 0x4011, \
    { 0xac, 0x3b, 0x50, 0xbd, 0x90, 0x0b, 0x22, 0x3d }}

class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMMutationEvent : public nsIDOMEvent {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMMUTATIONEVENT_IID)

  enum {
    MODIFICATION = 1U,
    ADDITION = 2U,
    REMOVAL = 3U
  };

  /* readonly attribute nsIDOMNode relatedNode; */
  NS_SCRIPTABLE NS_IMETHOD GetRelatedNode(nsIDOMNode * *aRelatedNode) = 0;

  /* readonly attribute DOMString prevValue; */
  NS_SCRIPTABLE NS_IMETHOD GetPrevValue(nsAString & aPrevValue) = 0;

  /* readonly attribute DOMString newValue; */
  NS_SCRIPTABLE NS_IMETHOD GetNewValue(nsAString & aNewValue) = 0;

  /* readonly attribute DOMString attrName; */
  NS_SCRIPTABLE NS_IMETHOD GetAttrName(nsAString & aAttrName) = 0;

  /* readonly attribute unsigned short attrChange; */
  NS_SCRIPTABLE NS_IMETHOD GetAttrChange(PRUint16 *aAttrChange) = 0;

  /* void initMutationEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in nsIDOMNode relatedNodeArg, in DOMString prevValueArg, in DOMString newValueArg, in DOMString attrNameArg, in unsigned short attrChangeArg); */
  NS_SCRIPTABLE NS_IMETHOD InitMutationEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIDOMNode *relatedNodeArg, const nsAString & prevValueArg, const nsAString & newValueArg, const nsAString & attrNameArg, PRUint16 attrChangeArg) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMMutationEvent, NS_IDOMMUTATIONEVENT_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMMUTATIONEVENT \
  NS_SCRIPTABLE NS_IMETHOD GetRelatedNode(nsIDOMNode * *aRelatedNode); \
  NS_SCRIPTABLE NS_IMETHOD GetPrevValue(nsAString & aPrevValue); \
  NS_SCRIPTABLE NS_IMETHOD GetNewValue(nsAString & aNewValue); \
  NS_SCRIPTABLE NS_IMETHOD GetAttrName(nsAString & aAttrName); \
  NS_SCRIPTABLE NS_IMETHOD GetAttrChange(PRUint16 *aAttrChange); \
  NS_SCRIPTABLE NS_IMETHOD InitMutationEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIDOMNode *relatedNodeArg, const nsAString & prevValueArg, const nsAString & newValueArg, const nsAString & attrNameArg, PRUint16 attrChangeArg); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMMUTATIONEVENT(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetRelatedNode(nsIDOMNode * *aRelatedNode) { return _to GetRelatedNode(aRelatedNode); } \
  NS_SCRIPTABLE NS_IMETHOD GetPrevValue(nsAString & aPrevValue) { return _to GetPrevValue(aPrevValue); } \
  NS_SCRIPTABLE NS_IMETHOD GetNewValue(nsAString & aNewValue) { return _to GetNewValue(aNewValue); } \
  NS_SCRIPTABLE NS_IMETHOD GetAttrName(nsAString & aAttrName) { return _to GetAttrName(aAttrName); } \
  NS_SCRIPTABLE NS_IMETHOD GetAttrChange(PRUint16 *aAttrChange) { return _to GetAttrChange(aAttrChange); } \
  NS_SCRIPTABLE NS_IMETHOD InitMutationEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIDOMNode *relatedNodeArg, const nsAString & prevValueArg, const nsAString & newValueArg, const nsAString & attrNameArg, PRUint16 attrChangeArg) { return _to InitMutationEvent(typeArg, canBubbleArg, cancelableArg, relatedNodeArg, prevValueArg, newValueArg, attrNameArg, attrChangeArg); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMMUTATIONEVENT(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetRelatedNode(nsIDOMNode * *aRelatedNode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRelatedNode(aRelatedNode); } \
  NS_SCRIPTABLE NS_IMETHOD GetPrevValue(nsAString & aPrevValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPrevValue(aPrevValue); } \
  NS_SCRIPTABLE NS_IMETHOD GetNewValue(nsAString & aNewValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNewValue(aNewValue); } \
  NS_SCRIPTABLE NS_IMETHOD GetAttrName(nsAString & aAttrName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAttrName(aAttrName); } \
  NS_SCRIPTABLE NS_IMETHOD GetAttrChange(PRUint16 *aAttrChange) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAttrChange(aAttrChange); } \
  NS_SCRIPTABLE NS_IMETHOD InitMutationEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIDOMNode *relatedNodeArg, const nsAString & prevValueArg, const nsAString & newValueArg, const nsAString & attrNameArg, PRUint16 attrChangeArg) { return !_to ? NS_ERROR_NULL_POINTER : _to->InitMutationEvent(typeArg, canBubbleArg, cancelableArg, relatedNodeArg, prevValueArg, newValueArg, attrNameArg, attrChangeArg); } 

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

/* Header file */
class nsDOMMutationEvent : public nsIDOMMutationEvent
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMMUTATIONEVENT

  nsDOMMutationEvent();

private:
  ~nsDOMMutationEvent();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMMutationEvent, nsIDOMMutationEvent)

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

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

/* readonly attribute nsIDOMNode relatedNode; */
NS_IMETHODIMP nsDOMMutationEvent::GetRelatedNode(nsIDOMNode * *aRelatedNode)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString prevValue; */
NS_IMETHODIMP nsDOMMutationEvent::GetPrevValue(nsAString & aPrevValue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString newValue; */
NS_IMETHODIMP nsDOMMutationEvent::GetNewValue(nsAString & aNewValue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString attrName; */
NS_IMETHODIMP nsDOMMutationEvent::GetAttrName(nsAString & aAttrName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute unsigned short attrChange; */
NS_IMETHODIMP nsDOMMutationEvent::GetAttrChange(PRUint16 *aAttrChange)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void initMutationEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in nsIDOMNode relatedNodeArg, in DOMString prevValueArg, in DOMString newValueArg, in DOMString attrNameArg, in unsigned short attrChangeArg); */
NS_IMETHODIMP nsDOMMutationEvent::InitMutationEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIDOMNode *relatedNodeArg, const nsAString & prevValueArg, const nsAString & newValueArg, const nsAString & attrNameArg, PRUint16 attrChangeArg)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIDOMMutationEvent_h__ */