This file is indexed.

/usr/include/thunderbird/nsIGfxInfo.h is in thunderbird-dev 1:52.8.0-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
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIGfxInfo.idl
 */

#ifndef __gen_nsIGfxInfo_h__
#define __gen_nsIGfxInfo_h__


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

#include "js/Value.h"

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

/* starting interface:    nsIGfxInfo */
#define NS_IGFXINFO_IID_STR "1accd618-4c80-4703-9d29-ecf257d397c8"

#define NS_IGFXINFO_IID \
  {0x1accd618, 0x4c80, 0x4703, \
    { 0x9d, 0x29, 0xec, 0xf2, 0x57, 0xd3, 0x97, 0xc8 }}

class NS_NO_VTABLE nsIGfxInfo : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IGFXINFO_IID)

  /* readonly attribute boolean D2DEnabled; */
  NS_IMETHOD GetD2DEnabled(bool *aD2DEnabled) = 0;

  /* readonly attribute boolean DWriteEnabled; */
  NS_IMETHOD GetDWriteEnabled(bool *aDWriteEnabled) = 0;

  /* readonly attribute DOMString DWriteVersion; */
  NS_IMETHOD GetDWriteVersion(nsAString & aDWriteVersion) = 0;

  /* readonly attribute DOMString cleartypeParameters; */
  NS_IMETHOD GetCleartypeParameters(nsAString & aCleartypeParameters) = 0;

  /* readonly attribute DOMString ContentBackend; */
  NS_IMETHOD GetContentBackend(nsAString & aContentBackend) = 0;

  /* readonly attribute DOMString adapterDescription; */
  NS_IMETHOD GetAdapterDescription(nsAString & aAdapterDescription) = 0;

  /* readonly attribute DOMString adapterDescription2; */
  NS_IMETHOD GetAdapterDescription2(nsAString & aAdapterDescription2) = 0;

  /* readonly attribute DOMString adapterDriver; */
  NS_IMETHOD GetAdapterDriver(nsAString & aAdapterDriver) = 0;

  /* readonly attribute DOMString adapterDriver2; */
  NS_IMETHOD GetAdapterDriver2(nsAString & aAdapterDriver2) = 0;

  /* readonly attribute DOMString adapterVendorID; */
  NS_IMETHOD GetAdapterVendorID(nsAString & aAdapterVendorID) = 0;

  /* readonly attribute DOMString adapterVendorID2; */
  NS_IMETHOD GetAdapterVendorID2(nsAString & aAdapterVendorID2) = 0;

  /* readonly attribute DOMString adapterDeviceID; */
  NS_IMETHOD GetAdapterDeviceID(nsAString & aAdapterDeviceID) = 0;

  /* readonly attribute DOMString adapterDeviceID2; */
  NS_IMETHOD GetAdapterDeviceID2(nsAString & aAdapterDeviceID2) = 0;

  /* readonly attribute DOMString adapterSubsysID; */
  NS_IMETHOD GetAdapterSubsysID(nsAString & aAdapterSubsysID) = 0;

  /* readonly attribute DOMString adapterSubsysID2; */
  NS_IMETHOD GetAdapterSubsysID2(nsAString & aAdapterSubsysID2) = 0;

  /* readonly attribute DOMString adapterRAM; */
  NS_IMETHOD GetAdapterRAM(nsAString & aAdapterRAM) = 0;

  /* readonly attribute DOMString adapterRAM2; */
  NS_IMETHOD GetAdapterRAM2(nsAString & aAdapterRAM2) = 0;

  /* readonly attribute DOMString adapterDriverVersion; */
  NS_IMETHOD GetAdapterDriverVersion(nsAString & aAdapterDriverVersion) = 0;

  /* readonly attribute DOMString adapterDriverVersion2; */
  NS_IMETHOD GetAdapterDriverVersion2(nsAString & aAdapterDriverVersion2) = 0;

  /* readonly attribute DOMString adapterDriverDate; */
  NS_IMETHOD GetAdapterDriverDate(nsAString & aAdapterDriverDate) = 0;

  /* readonly attribute DOMString adapterDriverDate2; */
  NS_IMETHOD GetAdapterDriverDate2(nsAString & aAdapterDriverDate2) = 0;

  /* readonly attribute boolean isGPU2Active; */
  NS_IMETHOD GetIsGPU2Active(bool *aIsGPU2Active) = 0;

  /* [implicit_jscontext] jsval getMonitors (); */
  NS_IMETHOD GetMonitors(JSContext* cx, JS::MutableHandleValue _retval) = 0;

  /* void getFailures (out unsigned long failureCount, [array, size_is (failureCount), optional] out long indices, [array, size_is (failureCount), retval] out string failures); */
  NS_IMETHOD GetFailures(uint32_t *failureCount, int32_t **indices, char * **failures) = 0;

  /* [noscript,notxpcom] void logFailure (in ACString failure); */
  NS_IMETHOD_(void) LogFailure(const nsACString & failure) = 0;

  enum {
    FEATURE_DIRECT2D = 1,
    FEATURE_DIRECT3D_9_LAYERS = 2,
    FEATURE_DIRECT3D_10_LAYERS = 3,
    FEATURE_DIRECT3D_10_1_LAYERS = 4,
    FEATURE_OPENGL_LAYERS = 5,
    FEATURE_WEBGL_OPENGL = 6,
    FEATURE_WEBGL_ANGLE = 7,
    FEATURE_WEBGL_MSAA = 8,
    FEATURE_STAGEFRIGHT = 9,
    FEATURE_WEBRTC_HW_ACCELERATION = 10,
    FEATURE_DIRECT3D_11_LAYERS = 11,
    FEATURE_HARDWARE_VIDEO_DECODING = 12,
    FEATURE_DIRECT3D_11_ANGLE = 13,
    FEATURE_WEBRTC_HW_ACCELERATION_ENCODE = 14,
    FEATURE_WEBRTC_HW_ACCELERATION_DECODE = 15,
    FEATURE_CANVAS2D_ACCELERATION = 16,
    FEATURE_VP8_HW_DECODE = 17,
    FEATURE_VP9_HW_DECODE = 18,
    FEATURE_DX_INTEROP2 = 19,
    FEATURE_STATUS_OK = 1,
    FEATURE_STATUS_UNKNOWN = 2,
    FEATURE_BLOCKED_DRIVER_VERSION = 3,
    FEATURE_BLOCKED_DEVICE = 4,
    FEATURE_DISCOURAGED = 5,
    FEATURE_BLOCKED_OS_VERSION = 6,
    FEATURE_BLOCKED_MISMATCHED_VERSION = 7
  };

  /* long getFeatureStatus (in long aFeature, [optional] out ACString aFailureId); */
  NS_IMETHOD GetFeatureStatus(int32_t aFeature, nsACString & aFailureId, int32_t *_retval) = 0;

  /* DOMString getFeatureSuggestedDriverVersion (in long aFeature); */
  NS_IMETHOD GetFeatureSuggestedDriverVersion(int32_t aFeature, nsAString & _retval) = 0;

  /* DOMString getWebGLParameter (in DOMString aParam); */
  NS_IMETHOD GetWebGLParameter(const nsAString & aParam, nsAString & _retval) = 0;

  /* [noscript,notxpcom] void GetData (); */
  NS_IMETHOD_(void) GetData(void) = 0;

  /* [implicit_jscontext] jsval getInfo (); */
  NS_IMETHOD GetInfo(JSContext* cx, JS::MutableHandleValue _retval) = 0;

  /* [implicit_jscontext] jsval getFeatureLog (); */
  NS_IMETHOD GetFeatureLog(JSContext* cx, JS::MutableHandleValue _retval) = 0;

  /* [implicit_jscontext] jsval getFeatures (); */
  NS_IMETHOD GetFeatures(JSContext* cx, JS::MutableHandleValue _retval) = 0;

  /* [implicit_jscontext] jsval getActiveCrashGuards (); */
  NS_IMETHOD GetActiveCrashGuards(JSContext* cx, JS::MutableHandleValue _retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIGfxInfo, NS_IGFXINFO_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIGFXINFO \
  NS_IMETHOD GetD2DEnabled(bool *aD2DEnabled) override; \
  NS_IMETHOD GetDWriteEnabled(bool *aDWriteEnabled) override; \
  NS_IMETHOD GetDWriteVersion(nsAString & aDWriteVersion) override; \
  NS_IMETHOD GetCleartypeParameters(nsAString & aCleartypeParameters) override; \
  NS_IMETHOD GetContentBackend(nsAString & aContentBackend) override; \
  NS_IMETHOD GetAdapterDescription(nsAString & aAdapterDescription) override; \
  NS_IMETHOD GetAdapterDescription2(nsAString & aAdapterDescription2) override; \
  NS_IMETHOD GetAdapterDriver(nsAString & aAdapterDriver) override; \
  NS_IMETHOD GetAdapterDriver2(nsAString & aAdapterDriver2) override; \
  NS_IMETHOD GetAdapterVendorID(nsAString & aAdapterVendorID) override; \
  NS_IMETHOD GetAdapterVendorID2(nsAString & aAdapterVendorID2) override; \
  NS_IMETHOD GetAdapterDeviceID(nsAString & aAdapterDeviceID) override; \
  NS_IMETHOD GetAdapterDeviceID2(nsAString & aAdapterDeviceID2) override; \
  NS_IMETHOD GetAdapterSubsysID(nsAString & aAdapterSubsysID) override; \
  NS_IMETHOD GetAdapterSubsysID2(nsAString & aAdapterSubsysID2) override; \
  NS_IMETHOD GetAdapterRAM(nsAString & aAdapterRAM) override; \
  NS_IMETHOD GetAdapterRAM2(nsAString & aAdapterRAM2) override; \
  NS_IMETHOD GetAdapterDriverVersion(nsAString & aAdapterDriverVersion) override; \
  NS_IMETHOD GetAdapterDriverVersion2(nsAString & aAdapterDriverVersion2) override; \
  NS_IMETHOD GetAdapterDriverDate(nsAString & aAdapterDriverDate) override; \
  NS_IMETHOD GetAdapterDriverDate2(nsAString & aAdapterDriverDate2) override; \
  NS_IMETHOD GetIsGPU2Active(bool *aIsGPU2Active) override; \
  NS_IMETHOD GetMonitors(JSContext* cx, JS::MutableHandleValue _retval) override; \
  NS_IMETHOD GetFailures(uint32_t *failureCount, int32_t **indices, char * **failures) override; \
  NS_IMETHOD_(void) LogFailure(const nsACString & failure) override; \
  NS_IMETHOD GetFeatureStatus(int32_t aFeature, nsACString & aFailureId, int32_t *_retval) override; \
  NS_IMETHOD GetFeatureSuggestedDriverVersion(int32_t aFeature, nsAString & _retval) override; \
  NS_IMETHOD GetWebGLParameter(const nsAString & aParam, nsAString & _retval) override; \
  NS_IMETHOD_(void) GetData(void) override; \
  NS_IMETHOD GetInfo(JSContext* cx, JS::MutableHandleValue _retval) override; \
  NS_IMETHOD GetFeatureLog(JSContext* cx, JS::MutableHandleValue _retval) override; \
  NS_IMETHOD GetFeatures(JSContext* cx, JS::MutableHandleValue _retval) override; \
  NS_IMETHOD GetActiveCrashGuards(JSContext* cx, JS::MutableHandleValue _retval) 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_NSIGFXINFO \
  NS_METHOD GetD2DEnabled(bool *aD2DEnabled); \
  NS_METHOD GetDWriteEnabled(bool *aDWriteEnabled); \
  NS_METHOD GetDWriteVersion(nsAString & aDWriteVersion); \
  NS_METHOD GetCleartypeParameters(nsAString & aCleartypeParameters); \
  NS_METHOD GetContentBackend(nsAString & aContentBackend); \
  NS_METHOD GetAdapterDescription(nsAString & aAdapterDescription); \
  NS_METHOD GetAdapterDescription2(nsAString & aAdapterDescription2); \
  NS_METHOD GetAdapterDriver(nsAString & aAdapterDriver); \
  NS_METHOD GetAdapterDriver2(nsAString & aAdapterDriver2); \
  NS_METHOD GetAdapterVendorID(nsAString & aAdapterVendorID); \
  NS_METHOD GetAdapterVendorID2(nsAString & aAdapterVendorID2); \
  NS_METHOD GetAdapterDeviceID(nsAString & aAdapterDeviceID); \
  NS_METHOD GetAdapterDeviceID2(nsAString & aAdapterDeviceID2); \
  NS_METHOD GetAdapterSubsysID(nsAString & aAdapterSubsysID); \
  NS_METHOD GetAdapterSubsysID2(nsAString & aAdapterSubsysID2); \
  NS_METHOD GetAdapterRAM(nsAString & aAdapterRAM); \
  NS_METHOD GetAdapterRAM2(nsAString & aAdapterRAM2); \
  NS_METHOD GetAdapterDriverVersion(nsAString & aAdapterDriverVersion); \
  NS_METHOD GetAdapterDriverVersion2(nsAString & aAdapterDriverVersion2); \
  NS_METHOD GetAdapterDriverDate(nsAString & aAdapterDriverDate); \
  NS_METHOD GetAdapterDriverDate2(nsAString & aAdapterDriverDate2); \
  NS_METHOD GetIsGPU2Active(bool *aIsGPU2Active); \
  NS_METHOD GetMonitors(JSContext* cx, JS::MutableHandleValue _retval); \
  NS_METHOD GetFailures(uint32_t *failureCount, int32_t **indices, char * **failures); \
  NS_METHOD_(void) LogFailure(const nsACString & failure); \
  NS_METHOD GetFeatureStatus(int32_t aFeature, nsACString & aFailureId, int32_t *_retval); \
  NS_METHOD GetFeatureSuggestedDriverVersion(int32_t aFeature, nsAString & _retval); \
  NS_METHOD GetWebGLParameter(const nsAString & aParam, nsAString & _retval); \
  NS_METHOD_(void) GetData(void); \
  NS_METHOD GetInfo(JSContext* cx, JS::MutableHandleValue _retval); \
  NS_METHOD GetFeatureLog(JSContext* cx, JS::MutableHandleValue _retval); \
  NS_METHOD GetFeatures(JSContext* cx, JS::MutableHandleValue _retval); \
  NS_METHOD GetActiveCrashGuards(JSContext* cx, JS::MutableHandleValue _retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIGFXINFO(_to) \
  NS_IMETHOD GetD2DEnabled(bool *aD2DEnabled) override { return _to GetD2DEnabled(aD2DEnabled); } \
  NS_IMETHOD GetDWriteEnabled(bool *aDWriteEnabled) override { return _to GetDWriteEnabled(aDWriteEnabled); } \
  NS_IMETHOD GetDWriteVersion(nsAString & aDWriteVersion) override { return _to GetDWriteVersion(aDWriteVersion); } \
  NS_IMETHOD GetCleartypeParameters(nsAString & aCleartypeParameters) override { return _to GetCleartypeParameters(aCleartypeParameters); } \
  NS_IMETHOD GetContentBackend(nsAString & aContentBackend) override { return _to GetContentBackend(aContentBackend); } \
  NS_IMETHOD GetAdapterDescription(nsAString & aAdapterDescription) override { return _to GetAdapterDescription(aAdapterDescription); } \
  NS_IMETHOD GetAdapterDescription2(nsAString & aAdapterDescription2) override { return _to GetAdapterDescription2(aAdapterDescription2); } \
  NS_IMETHOD GetAdapterDriver(nsAString & aAdapterDriver) override { return _to GetAdapterDriver(aAdapterDriver); } \
  NS_IMETHOD GetAdapterDriver2(nsAString & aAdapterDriver2) override { return _to GetAdapterDriver2(aAdapterDriver2); } \
  NS_IMETHOD GetAdapterVendorID(nsAString & aAdapterVendorID) override { return _to GetAdapterVendorID(aAdapterVendorID); } \
  NS_IMETHOD GetAdapterVendorID2(nsAString & aAdapterVendorID2) override { return _to GetAdapterVendorID2(aAdapterVendorID2); } \
  NS_IMETHOD GetAdapterDeviceID(nsAString & aAdapterDeviceID) override { return _to GetAdapterDeviceID(aAdapterDeviceID); } \
  NS_IMETHOD GetAdapterDeviceID2(nsAString & aAdapterDeviceID2) override { return _to GetAdapterDeviceID2(aAdapterDeviceID2); } \
  NS_IMETHOD GetAdapterSubsysID(nsAString & aAdapterSubsysID) override { return _to GetAdapterSubsysID(aAdapterSubsysID); } \
  NS_IMETHOD GetAdapterSubsysID2(nsAString & aAdapterSubsysID2) override { return _to GetAdapterSubsysID2(aAdapterSubsysID2); } \
  NS_IMETHOD GetAdapterRAM(nsAString & aAdapterRAM) override { return _to GetAdapterRAM(aAdapterRAM); } \
  NS_IMETHOD GetAdapterRAM2(nsAString & aAdapterRAM2) override { return _to GetAdapterRAM2(aAdapterRAM2); } \
  NS_IMETHOD GetAdapterDriverVersion(nsAString & aAdapterDriverVersion) override { return _to GetAdapterDriverVersion(aAdapterDriverVersion); } \
  NS_IMETHOD GetAdapterDriverVersion2(nsAString & aAdapterDriverVersion2) override { return _to GetAdapterDriverVersion2(aAdapterDriverVersion2); } \
  NS_IMETHOD GetAdapterDriverDate(nsAString & aAdapterDriverDate) override { return _to GetAdapterDriverDate(aAdapterDriverDate); } \
  NS_IMETHOD GetAdapterDriverDate2(nsAString & aAdapterDriverDate2) override { return _to GetAdapterDriverDate2(aAdapterDriverDate2); } \
  NS_IMETHOD GetIsGPU2Active(bool *aIsGPU2Active) override { return _to GetIsGPU2Active(aIsGPU2Active); } \
  NS_IMETHOD GetMonitors(JSContext* cx, JS::MutableHandleValue _retval) override { return _to GetMonitors(cx, _retval); } \
  NS_IMETHOD GetFailures(uint32_t *failureCount, int32_t **indices, char * **failures) override { return _to GetFailures(failureCount, indices, failures); } \
  NS_IMETHOD_(void) LogFailure(const nsACString & failure) override { return _to LogFailure(failure); } \
  NS_IMETHOD GetFeatureStatus(int32_t aFeature, nsACString & aFailureId, int32_t *_retval) override { return _to GetFeatureStatus(aFeature, aFailureId, _retval); } \
  NS_IMETHOD GetFeatureSuggestedDriverVersion(int32_t aFeature, nsAString & _retval) override { return _to GetFeatureSuggestedDriverVersion(aFeature, _retval); } \
  NS_IMETHOD GetWebGLParameter(const nsAString & aParam, nsAString & _retval) override { return _to GetWebGLParameter(aParam, _retval); } \
  NS_IMETHOD_(void) GetData(void) override { return _to GetData(); } \
  NS_IMETHOD GetInfo(JSContext* cx, JS::MutableHandleValue _retval) override { return _to GetInfo(cx, _retval); } \
  NS_IMETHOD GetFeatureLog(JSContext* cx, JS::MutableHandleValue _retval) override { return _to GetFeatureLog(cx, _retval); } \
  NS_IMETHOD GetFeatures(JSContext* cx, JS::MutableHandleValue _retval) override { return _to GetFeatures(cx, _retval); } \
  NS_IMETHOD GetActiveCrashGuards(JSContext* cx, JS::MutableHandleValue _retval) override { return _to GetActiveCrashGuards(cx, _retval); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIGFXINFO(_to) \
  NS_IMETHOD GetD2DEnabled(bool *aD2DEnabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetD2DEnabled(aD2DEnabled); } \
  NS_IMETHOD GetDWriteEnabled(bool *aDWriteEnabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDWriteEnabled(aDWriteEnabled); } \
  NS_IMETHOD GetDWriteVersion(nsAString & aDWriteVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDWriteVersion(aDWriteVersion); } \
  NS_IMETHOD GetCleartypeParameters(nsAString & aCleartypeParameters) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCleartypeParameters(aCleartypeParameters); } \
  NS_IMETHOD GetContentBackend(nsAString & aContentBackend) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContentBackend(aContentBackend); } \
  NS_IMETHOD GetAdapterDescription(nsAString & aAdapterDescription) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterDescription(aAdapterDescription); } \
  NS_IMETHOD GetAdapterDescription2(nsAString & aAdapterDescription2) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterDescription2(aAdapterDescription2); } \
  NS_IMETHOD GetAdapterDriver(nsAString & aAdapterDriver) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterDriver(aAdapterDriver); } \
  NS_IMETHOD GetAdapterDriver2(nsAString & aAdapterDriver2) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterDriver2(aAdapterDriver2); } \
  NS_IMETHOD GetAdapterVendorID(nsAString & aAdapterVendorID) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterVendorID(aAdapterVendorID); } \
  NS_IMETHOD GetAdapterVendorID2(nsAString & aAdapterVendorID2) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterVendorID2(aAdapterVendorID2); } \
  NS_IMETHOD GetAdapterDeviceID(nsAString & aAdapterDeviceID) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterDeviceID(aAdapterDeviceID); } \
  NS_IMETHOD GetAdapterDeviceID2(nsAString & aAdapterDeviceID2) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterDeviceID2(aAdapterDeviceID2); } \
  NS_IMETHOD GetAdapterSubsysID(nsAString & aAdapterSubsysID) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterSubsysID(aAdapterSubsysID); } \
  NS_IMETHOD GetAdapterSubsysID2(nsAString & aAdapterSubsysID2) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterSubsysID2(aAdapterSubsysID2); } \
  NS_IMETHOD GetAdapterRAM(nsAString & aAdapterRAM) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterRAM(aAdapterRAM); } \
  NS_IMETHOD GetAdapterRAM2(nsAString & aAdapterRAM2) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterRAM2(aAdapterRAM2); } \
  NS_IMETHOD GetAdapterDriverVersion(nsAString & aAdapterDriverVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterDriverVersion(aAdapterDriverVersion); } \
  NS_IMETHOD GetAdapterDriverVersion2(nsAString & aAdapterDriverVersion2) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterDriverVersion2(aAdapterDriverVersion2); } \
  NS_IMETHOD GetAdapterDriverDate(nsAString & aAdapterDriverDate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterDriverDate(aAdapterDriverDate); } \
  NS_IMETHOD GetAdapterDriverDate2(nsAString & aAdapterDriverDate2) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterDriverDate2(aAdapterDriverDate2); } \
  NS_IMETHOD GetIsGPU2Active(bool *aIsGPU2Active) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsGPU2Active(aIsGPU2Active); } \
  NS_IMETHOD GetMonitors(JSContext* cx, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMonitors(cx, _retval); } \
  NS_IMETHOD GetFailures(uint32_t *failureCount, int32_t **indices, char * **failures) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFailures(failureCount, indices, failures); } \
  NS_IMETHOD_(void) LogFailure(const nsACString & failure) override; \
  NS_IMETHOD GetFeatureStatus(int32_t aFeature, nsACString & aFailureId, int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFeatureStatus(aFeature, aFailureId, _retval); } \
  NS_IMETHOD GetFeatureSuggestedDriverVersion(int32_t aFeature, nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFeatureSuggestedDriverVersion(aFeature, _retval); } \
  NS_IMETHOD GetWebGLParameter(const nsAString & aParam, nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWebGLParameter(aParam, _retval); } \
  NS_IMETHOD_(void) GetData(void) override; \
  NS_IMETHOD GetInfo(JSContext* cx, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInfo(cx, _retval); } \
  NS_IMETHOD GetFeatureLog(JSContext* cx, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFeatureLog(cx, _retval); } \
  NS_IMETHOD GetFeatures(JSContext* cx, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFeatures(cx, _retval); } \
  NS_IMETHOD GetActiveCrashGuards(JSContext* cx, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetActiveCrashGuards(cx, _retval); } 

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

/* Header file */
class nsGfxInfo : public nsIGfxInfo
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIGFXINFO

  nsGfxInfo();

private:
  ~nsGfxInfo();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsGfxInfo, nsIGfxInfo)

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

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

/* readonly attribute boolean D2DEnabled; */
NS_IMETHODIMP nsGfxInfo::GetD2DEnabled(bool *aD2DEnabled)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean DWriteEnabled; */
NS_IMETHODIMP nsGfxInfo::GetDWriteEnabled(bool *aDWriteEnabled)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString DWriteVersion; */
NS_IMETHODIMP nsGfxInfo::GetDWriteVersion(nsAString & aDWriteVersion)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString cleartypeParameters; */
NS_IMETHODIMP nsGfxInfo::GetCleartypeParameters(nsAString & aCleartypeParameters)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString ContentBackend; */
NS_IMETHODIMP nsGfxInfo::GetContentBackend(nsAString & aContentBackend)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString adapterDescription; */
NS_IMETHODIMP nsGfxInfo::GetAdapterDescription(nsAString & aAdapterDescription)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString adapterDescription2; */
NS_IMETHODIMP nsGfxInfo::GetAdapterDescription2(nsAString & aAdapterDescription2)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString adapterDriver; */
NS_IMETHODIMP nsGfxInfo::GetAdapterDriver(nsAString & aAdapterDriver)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString adapterDriver2; */
NS_IMETHODIMP nsGfxInfo::GetAdapterDriver2(nsAString & aAdapterDriver2)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString adapterVendorID; */
NS_IMETHODIMP nsGfxInfo::GetAdapterVendorID(nsAString & aAdapterVendorID)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString adapterVendorID2; */
NS_IMETHODIMP nsGfxInfo::GetAdapterVendorID2(nsAString & aAdapterVendorID2)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString adapterDeviceID; */
NS_IMETHODIMP nsGfxInfo::GetAdapterDeviceID(nsAString & aAdapterDeviceID)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString adapterDeviceID2; */
NS_IMETHODIMP nsGfxInfo::GetAdapterDeviceID2(nsAString & aAdapterDeviceID2)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString adapterSubsysID; */
NS_IMETHODIMP nsGfxInfo::GetAdapterSubsysID(nsAString & aAdapterSubsysID)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString adapterSubsysID2; */
NS_IMETHODIMP nsGfxInfo::GetAdapterSubsysID2(nsAString & aAdapterSubsysID2)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString adapterRAM; */
NS_IMETHODIMP nsGfxInfo::GetAdapterRAM(nsAString & aAdapterRAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString adapterRAM2; */
NS_IMETHODIMP nsGfxInfo::GetAdapterRAM2(nsAString & aAdapterRAM2)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString adapterDriverVersion; */
NS_IMETHODIMP nsGfxInfo::GetAdapterDriverVersion(nsAString & aAdapterDriverVersion)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString adapterDriverVersion2; */
NS_IMETHODIMP nsGfxInfo::GetAdapterDriverVersion2(nsAString & aAdapterDriverVersion2)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString adapterDriverDate; */
NS_IMETHODIMP nsGfxInfo::GetAdapterDriverDate(nsAString & aAdapterDriverDate)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute DOMString adapterDriverDate2; */
NS_IMETHODIMP nsGfxInfo::GetAdapterDriverDate2(nsAString & aAdapterDriverDate2)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean isGPU2Active; */
NS_IMETHODIMP nsGfxInfo::GetIsGPU2Active(bool *aIsGPU2Active)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [implicit_jscontext] jsval getMonitors (); */
NS_IMETHODIMP nsGfxInfo::GetMonitors(JSContext* cx, JS::MutableHandleValue _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void getFailures (out unsigned long failureCount, [array, size_is (failureCount), optional] out long indices, [array, size_is (failureCount), retval] out string failures); */
NS_IMETHODIMP nsGfxInfo::GetFailures(uint32_t *failureCount, int32_t **indices, char * **failures)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript,notxpcom] void logFailure (in ACString failure); */
NS_IMETHODIMP_(void) nsGfxInfo::LogFailure(const nsACString & failure)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* long getFeatureStatus (in long aFeature, [optional] out ACString aFailureId); */
NS_IMETHODIMP nsGfxInfo::GetFeatureStatus(int32_t aFeature, nsACString & aFailureId, int32_t *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* DOMString getFeatureSuggestedDriverVersion (in long aFeature); */
NS_IMETHODIMP nsGfxInfo::GetFeatureSuggestedDriverVersion(int32_t aFeature, nsAString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* DOMString getWebGLParameter (in DOMString aParam); */
NS_IMETHODIMP nsGfxInfo::GetWebGLParameter(const nsAString & aParam, nsAString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript,notxpcom] void GetData (); */
NS_IMETHODIMP_(void) nsGfxInfo::GetData()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [implicit_jscontext] jsval getInfo (); */
NS_IMETHODIMP nsGfxInfo::GetInfo(JSContext* cx, JS::MutableHandleValue _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [implicit_jscontext] jsval getFeatureLog (); */
NS_IMETHODIMP nsGfxInfo::GetFeatureLog(JSContext* cx, JS::MutableHandleValue _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [implicit_jscontext] jsval getFeatures (); */
NS_IMETHODIMP nsGfxInfo::GetFeatures(JSContext* cx, JS::MutableHandleValue _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [implicit_jscontext] jsval getActiveCrashGuards (); */
NS_IMETHODIMP nsGfxInfo::GetActiveCrashGuards(JSContext* cx, JS::MutableHandleValue _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIGfxInfo_h__ */