~ubuntu-branches/ubuntu/lucid/galeon/lucid

« back to all changes in this revision

Viewing changes to mozilla/GtkNSSKeyPairDialogs.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Loic Minier
  • Date: 2008-08-05 10:57:03 UTC
  • mfrom: (3.1.11 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080805105703-7wp5o2wpef5ikp1s
Tags: 2.0.6-2
* New patch, 50_configure-tests-flags, use proper CFLAGS/LDFLAGS/CPPFLAGS
  when testing mozilla features (use the commented out ones); update
  70_autofoo by re-running autoconf.
* Bump up Standards-Version to 3.8.0.
* New patch, 71_desktop-file-encoding, drop Encoding from .desktop file as
  it's deprecated and UTF-8 is required anyway.
* Drop obsolete overrides.
* New patch, 72_man-page-hyphen, fix escaping of "-" in man page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
#include <nsIInterfaceRequestorUtils.h>
47
47
#include <nsIKeygenThread.h>
48
48
#include <nsIDOMWindow2.h>
49
 
#ifndef HAVE_NSIKEYGENTHREAD_NSIOBSERVER
50
 
# include <nsIDOMWindowInternal.h>
51
 
#else
52
 
# include <nsIObserver.h>
53
 
#endif
 
49
#include <nsIObserver.h>
54
50
 
55
51
#include "gtk/gtkdialog.h"
56
52
#include "gtk/gtkprogressbar.h"
77
73
NS_IMPL_ISUPPORTS1 (GtkNSSKeyPairDialogs, 
78
74
                    nsIGeneratingKeypairInfoDialogs)
79
75
 
80
 
#ifndef HAVE_NSIKEYGENTHREAD_NSIOBSERVER
81
 
 
82
 
/* ------------------------------------------------------------
83
 
 * A dummy implementation of nsIDomWindowInternal so that
84
 
 * we can use the correctly get callbacks from the
85
 
 * nsIKeygenThread */
86
 
class KeyPairHelperWindow : public nsIDOMWindowInternal
87
 
{
88
 
public:
89
 
        NS_DECL_ISUPPORTS
90
 
        NS_DECL_NSIDOMWINDOWINTERNAL
91
 
        NS_DECL_NSIDOMWINDOW
92
 
        NS_DECL_NSIDOMWINDOW2
93
 
 
94
 
        KeyPairHelperWindow();
95
 
        virtual ~KeyPairHelperWindow();
96
 
 
97
 
        gboolean close_called;
98
 
};
99
 
 
100
 
NS_IMPL_ISUPPORTS3(KeyPairHelperWindow, nsIDOMWindowInternal, nsIDOMWindow, nsIDOMWindow2)
101
 
 
102
 
KeyPairHelperWindow::KeyPairHelperWindow()
103
 
{
104
 
        close_called = FALSE;
105
 
}
106
 
 
107
 
NS_IMETHODIMP KeyPairHelperWindow::Close()
108
 
{
109
 
        /* This is called in a different thread, so just set a flag, dont
110
 
         * call the dialog_response directly */
111
 
        close_called = TRUE;
112
 
        return NS_OK;
113
 
}
114
 
 
115
 
#else
116
 
 
117
76
/* ------------------------------------------------------------
118
77
 * Rock on biesi :-)
119
78
 */
138
97
        return NS_OK;
139
98
}
140
99
 
141
 
#endif
142
100
/* ------------------------------------------------------------ */
143
101
static void
144
102
begin_busy (GtkWidget *widget)
164
122
{
165
123
        GtkWidget *progress;
166
124
        GtkWidget *dialog;
167
 
#ifndef HAVE_NSIKEYGENTHREAD_NSIOBSERVER
168
 
        KeyPairHelperWindow *helper;
169
 
#else
170
125
        KeyPairObserver *helper;
171
 
#endif
172
126
};
173
127
 
174
128
 
230
184
 
231
185
        /* Create a helper class that just waits for close events
232
186
         * from the other thread */
233
 
#ifndef HAVE_NSIKEYGENTHREAD_NSIOBSERVER
234
 
        nsCOMPtr<KeyPairHelperWindow> helper = new KeyPairHelperWindow;
235
 
#else
236
187
        nsCOMPtr<KeyPairObserver> helper = new KeyPairObserver;
237
 
#endif
238
188
 
239
189
        KeyPairInfo callback_data = { progress, dialog, helper };
240
190
        timeout_id = g_timeout_add (100, (GSourceFunc)generating_timeout_cb, &callback_data);
261
211
}
262
212
 
263
213
 
264
 
#ifndef HAVE_NSIKEYGENTHREAD_NSIOBSERVER
265
 
 
266
 
/*************************************************************
267
 
 * Misc functions for the nsIDomWindowInternal implementation
268
 
 * that arn't needed for our purposes
269
 
 *************************************************************/
270
 
 
271
 
#define MOZ_NOT_IMPLEMENTED { g_warning ("not implemented: %s", G_STRLOC); \
272
 
                              return NS_ERROR_NOT_IMPLEMENTED; }
273
 
 
274
 
KeyPairHelperWindow::~KeyPairHelperWindow()
275
 
{
276
 
}
277
 
 
278
 
/* readonly attribute nsIDOMWindowInternal window; */
279
 
NS_IMETHODIMP KeyPairHelperWindow::GetWindow(nsIDOMWindowInternal * *aWindow)
280
 
{
281
 
    MOZ_NOT_IMPLEMENTED
282
 
}
283
 
 
284
 
NS_IMETHODIMP KeyPairHelperWindow::GetWindowRoot(nsIDOMEventTarget * *aEvent)
285
 
{
286
 
    MOZ_NOT_IMPLEMENTED
287
 
}
288
 
 
289
 
/* readonly attribute nsIDOMWindowInternal self; */
290
 
NS_IMETHODIMP KeyPairHelperWindow::GetSelf(nsIDOMWindowInternal * *aSelf)
291
 
{
292
 
    MOZ_NOT_IMPLEMENTED
293
 
}
294
 
 
295
 
/* readonly attribute nsIDOMNavigator navigator; */
296
 
NS_IMETHODIMP KeyPairHelperWindow::GetNavigator(nsIDOMNavigator * *aNavigator)
297
 
{
298
 
    MOZ_NOT_IMPLEMENTED
299
 
}
300
 
 
301
 
/* readonly attribute nsIDOMScreen screen; */
302
 
NS_IMETHODIMP KeyPairHelperWindow::GetScreen(nsIDOMScreen * *aScreen)
303
 
{
304
 
    MOZ_NOT_IMPLEMENTED
305
 
}
306
 
 
307
 
/* readonly attribute nsIDOMHistory history; */
308
 
NS_IMETHODIMP KeyPairHelperWindow::GetHistory(nsIDOMHistory * *aHistory)
309
 
{
310
 
    MOZ_NOT_IMPLEMENTED
311
 
}
312
 
 
313
 
/* readonly attribute nsIDOMWindow content; */
314
 
NS_IMETHODIMP KeyPairHelperWindow::GetContent(nsIDOMWindow * *aContent)
315
 
{
316
 
    MOZ_NOT_IMPLEMENTED
317
 
}
318
 
 
319
 
/* [noscript] readonly attribute nsIPrompt prompter; */
320
 
NS_IMETHODIMP KeyPairHelperWindow::GetPrompter(nsIPrompt * *aPrompter)
321
 
{
322
 
    MOZ_NOT_IMPLEMENTED
323
 
}
324
 
 
325
 
/* readonly attribute nsIDOMBarProp menubar; */
326
 
NS_IMETHODIMP KeyPairHelperWindow::GetMenubar(nsIDOMBarProp * *aMenubar)
327
 
{
328
 
    MOZ_NOT_IMPLEMENTED
329
 
}
330
 
 
331
 
/* readonly attribute nsIDOMBarProp toolbar; */
332
 
NS_IMETHODIMP KeyPairHelperWindow::GetToolbar(nsIDOMBarProp * *aToolbar)
333
 
{
334
 
    MOZ_NOT_IMPLEMENTED
335
 
}
336
 
 
337
 
/* readonly attribute nsIDOMBarProp locationbar; */
338
 
NS_IMETHODIMP KeyPairHelperWindow::GetLocationbar(nsIDOMBarProp * *aLocationbar)
339
 
{
340
 
    MOZ_NOT_IMPLEMENTED
341
 
}
342
 
 
343
 
/* readonly attribute nsIDOMBarProp personalbar; */
344
 
NS_IMETHODIMP KeyPairHelperWindow::GetPersonalbar(nsIDOMBarProp * *aPersonalbar)
345
 
{
346
 
    MOZ_NOT_IMPLEMENTED
347
 
}
348
 
 
349
 
/* readonly attribute nsIDOMBarProp statusbar; */
350
 
NS_IMETHODIMP KeyPairHelperWindow::GetStatusbar(nsIDOMBarProp * *aStatusbar)
351
 
{
352
 
    MOZ_NOT_IMPLEMENTED
353
 
}
354
 
 
355
 
/* readonly attribute nsIDOMBarProp directories; */
356
 
NS_IMETHODIMP KeyPairHelperWindow::GetDirectories(nsIDOMBarProp * *aDirectories)
357
 
{
358
 
    MOZ_NOT_IMPLEMENTED
359
 
}
360
 
 
361
 
/* readonly attribute boolean closed; */
362
 
NS_IMETHODIMP KeyPairHelperWindow::GetClosed(PRBool *aClosed)
363
 
{
364
 
    MOZ_NOT_IMPLEMENTED
365
 
}
366
 
 
367
 
/* readonly attribute nsIDOMCrypto crypto; */
368
 
NS_IMETHODIMP KeyPairHelperWindow::GetCrypto(nsIDOMCrypto * *aCrypto)
369
 
{
370
 
    MOZ_NOT_IMPLEMENTED
371
 
}
372
 
 
373
 
/* readonly attribute nsIDOMPkcs11 pkcs11; */
374
 
NS_IMETHODIMP KeyPairHelperWindow::GetPkcs11(nsIDOMPkcs11 * *aPkcs11)
375
 
{
376
 
    MOZ_NOT_IMPLEMENTED
377
 
}
378
 
 
379
 
/* readonly attribute nsIControllers controllers; */
380
 
NS_IMETHODIMP KeyPairHelperWindow::GetControllers(nsIControllers * *aControllers)
381
 
{
382
 
    MOZ_NOT_IMPLEMENTED
383
 
}
384
 
 
385
 
/* attribute nsIDOMWindowInternal opener; */
386
 
NS_IMETHODIMP KeyPairHelperWindow::GetOpener(nsIDOMWindowInternal * *aOpener)
387
 
{
388
 
    MOZ_NOT_IMPLEMENTED
389
 
}
390
 
NS_IMETHODIMP KeyPairHelperWindow::SetOpener(nsIDOMWindowInternal * aOpener)
391
 
{
392
 
    MOZ_NOT_IMPLEMENTED
393
 
}
394
 
 
395
 
/* attribute DOMString status; */
396
 
NS_IMETHODIMP KeyPairHelperWindow::GetStatus(nsAString & aStatus)
397
 
{
398
 
    MOZ_NOT_IMPLEMENTED
399
 
}
400
 
NS_IMETHODIMP KeyPairHelperWindow::SetStatus(const nsAString & aStatus)
401
 
{
402
 
    MOZ_NOT_IMPLEMENTED
403
 
}
404
 
 
405
 
/* attribute DOMString defaultStatus; */
406
 
NS_IMETHODIMP KeyPairHelperWindow::GetDefaultStatus(nsAString & aDefaultStatus)
407
 
{
408
 
    MOZ_NOT_IMPLEMENTED
409
 
}
410
 
NS_IMETHODIMP KeyPairHelperWindow::SetDefaultStatus(const nsAString & aDefaultStatus)
411
 
{
412
 
    MOZ_NOT_IMPLEMENTED
413
 
}
414
 
 
415
 
/* readonly attribute nsIDOMLocation location; */
416
 
NS_IMETHODIMP KeyPairHelperWindow::GetLocation(nsIDOMLocation * *aLocation)
417
 
{
418
 
    MOZ_NOT_IMPLEMENTED
419
 
}
420
 
 
421
 
/* attribute long innerWidth; */
422
 
NS_IMETHODIMP KeyPairHelperWindow::GetInnerWidth(PRInt32 *aInnerWidth)
423
 
{
424
 
    MOZ_NOT_IMPLEMENTED
425
 
}
426
 
NS_IMETHODIMP KeyPairHelperWindow::SetInnerWidth(PRInt32 aInnerWidth)
427
 
{
428
 
    MOZ_NOT_IMPLEMENTED
429
 
}
430
 
 
431
 
/* attribute long innerHeight; */
432
 
NS_IMETHODIMP KeyPairHelperWindow::GetInnerHeight(PRInt32 *aInnerHeight)
433
 
{
434
 
    MOZ_NOT_IMPLEMENTED
435
 
}
436
 
NS_IMETHODIMP KeyPairHelperWindow::SetInnerHeight(PRInt32 aInnerHeight)
437
 
{
438
 
    MOZ_NOT_IMPLEMENTED
439
 
}
440
 
 
441
 
/* attribute long outerWidth; */
442
 
NS_IMETHODIMP KeyPairHelperWindow::GetOuterWidth(PRInt32 *aOuterWidth)
443
 
{
444
 
    MOZ_NOT_IMPLEMENTED
445
 
}
446
 
NS_IMETHODIMP KeyPairHelperWindow::SetOuterWidth(PRInt32 aOuterWidth)
447
 
{
448
 
    MOZ_NOT_IMPLEMENTED
449
 
}
450
 
 
451
 
/* attribute long outerHeight; */
452
 
NS_IMETHODIMP KeyPairHelperWindow::GetOuterHeight(PRInt32 *aOuterHeight)
453
 
{
454
 
    MOZ_NOT_IMPLEMENTED
455
 
}
456
 
NS_IMETHODIMP KeyPairHelperWindow::SetOuterHeight(PRInt32 aOuterHeight)
457
 
{
458
 
    MOZ_NOT_IMPLEMENTED
459
 
}
460
 
 
461
 
/* attribute long screenX; */
462
 
NS_IMETHODIMP KeyPairHelperWindow::GetScreenX(PRInt32 *aScreenX)
463
 
{
464
 
    MOZ_NOT_IMPLEMENTED
465
 
}
466
 
NS_IMETHODIMP KeyPairHelperWindow::SetScreenX(PRInt32 aScreenX)
467
 
{
468
 
    MOZ_NOT_IMPLEMENTED
469
 
}
470
 
 
471
 
/* attribute long screenY; */
472
 
NS_IMETHODIMP KeyPairHelperWindow::GetScreenY(PRInt32 *aScreenY)
473
 
{
474
 
    MOZ_NOT_IMPLEMENTED
475
 
}
476
 
NS_IMETHODIMP KeyPairHelperWindow::SetScreenY(PRInt32 aScreenY)
477
 
{
478
 
    MOZ_NOT_IMPLEMENTED
479
 
}
480
 
 
481
 
/* readonly attribute long pageXOffset; */
482
 
NS_IMETHODIMP KeyPairHelperWindow::GetPageXOffset(PRInt32 *aPageXOffset)
483
 
{
484
 
    MOZ_NOT_IMPLEMENTED
485
 
}
486
 
 
487
 
/* readonly attribute long pageYOffset; */
488
 
NS_IMETHODIMP KeyPairHelperWindow::GetPageYOffset(PRInt32 *aPageYOffset)
489
 
{
490
 
    MOZ_NOT_IMPLEMENTED
491
 
}
492
 
 
493
 
/* readonly attribute long scrollMaxX; */
494
 
NS_IMETHODIMP KeyPairHelperWindow::GetScrollMaxX(PRInt32 *aScrollMaxX)
495
 
{
496
 
    MOZ_NOT_IMPLEMENTED
497
 
}
498
 
 
499
 
/* readonly attribute long scrollMaxY; */
500
 
NS_IMETHODIMP KeyPairHelperWindow::GetScrollMaxY(PRInt32 *aScrollMaxY)
501
 
{
502
 
    MOZ_NOT_IMPLEMENTED
503
 
}
504
 
 
505
 
/* readonly attribute unsigned long length; */
506
 
NS_IMETHODIMP KeyPairHelperWindow::GetLength(PRUint32 *aLength)
507
 
{
508
 
    MOZ_NOT_IMPLEMENTED
509
 
}
510
 
 
511
 
/* attribute boolean fullScreen; */
512
 
NS_IMETHODIMP KeyPairHelperWindow::GetFullScreen(PRBool *aFullScreen)
513
 
{
514
 
    MOZ_NOT_IMPLEMENTED
515
 
}
516
 
NS_IMETHODIMP KeyPairHelperWindow::SetFullScreen(PRBool aFullScreen)
517
 
{
518
 
    MOZ_NOT_IMPLEMENTED
519
 
}
520
 
 
521
 
/* void alert (in DOMString text); */
522
 
NS_IMETHODIMP KeyPairHelperWindow::Alert(const nsAString & text)
523
 
{
524
 
    MOZ_NOT_IMPLEMENTED
525
 
}
526
 
 
527
 
/* boolean confirm (in DOMString text); */
528
 
NS_IMETHODIMP KeyPairHelperWindow::Confirm(const nsAString & text, PRBool *_retval)
529
 
{
530
 
    MOZ_NOT_IMPLEMENTED
531
 
}
532
 
 
533
 
/* DOMString prompt (in DOMString aMessage, in DOMString aInitial, in DOMString aTitle, in unsigned long aSavePassword); */
534
 
NS_IMETHODIMP KeyPairHelperWindow::Prompt(const nsAString & aMessage, const nsAString & aInitial, const nsAString & aTitle, PRUint32 aSavePassword, nsAString & _retval)
535
 
{
536
 
    MOZ_NOT_IMPLEMENTED
537
 
}
538
 
 
539
 
/* void focus (); */
540
 
NS_IMETHODIMP KeyPairHelperWindow::Focus()
541
 
{
542
 
    MOZ_NOT_IMPLEMENTED
543
 
}
544
 
 
545
 
/* void blur (); */
546
 
NS_IMETHODIMP KeyPairHelperWindow::Blur()
547
 
{
548
 
    MOZ_NOT_IMPLEMENTED
549
 
}
550
 
 
551
 
/* void back (); */
552
 
NS_IMETHODIMP KeyPairHelperWindow::Back()
553
 
{
554
 
    MOZ_NOT_IMPLEMENTED
555
 
}
556
 
 
557
 
/* void forward (); */
558
 
NS_IMETHODIMP KeyPairHelperWindow::Forward()
559
 
{
560
 
    MOZ_NOT_IMPLEMENTED
561
 
}
562
 
 
563
 
/* void home (); */
564
 
NS_IMETHODIMP KeyPairHelperWindow::Home()
565
 
{
566
 
    MOZ_NOT_IMPLEMENTED
567
 
}
568
 
 
569
 
/* void stop (); */
570
 
NS_IMETHODIMP KeyPairHelperWindow::Stop()
571
 
{
572
 
    MOZ_NOT_IMPLEMENTED
573
 
}
574
 
 
575
 
/* void print (); */
576
 
NS_IMETHODIMP KeyPairHelperWindow::Print()
577
 
{
578
 
    MOZ_NOT_IMPLEMENTED
579
 
}
580
 
 
581
 
/* void moveTo (in long xPos, in long yPos); */
582
 
NS_IMETHODIMP KeyPairHelperWindow::MoveTo(PRInt32 xPos, PRInt32 yPos)
583
 
{
584
 
    MOZ_NOT_IMPLEMENTED
585
 
}
586
 
 
587
 
/* void moveBy (in long xDif, in long yDif); */
588
 
NS_IMETHODIMP KeyPairHelperWindow::MoveBy(PRInt32 xDif, PRInt32 yDif)
589
 
{
590
 
    MOZ_NOT_IMPLEMENTED
591
 
}
592
 
 
593
 
/* void resizeTo (in long width, in long height); */
594
 
NS_IMETHODIMP KeyPairHelperWindow::ResizeTo(PRInt32 width, PRInt32 height)
595
 
{
596
 
    MOZ_NOT_IMPLEMENTED
597
 
}
598
 
 
599
 
/* void resizeBy (in long widthDif, in long heightDif); */
600
 
NS_IMETHODIMP KeyPairHelperWindow::ResizeBy(PRInt32 widthDif, PRInt32 heightDif)
601
 
{
602
 
    MOZ_NOT_IMPLEMENTED
603
 
}
604
 
 
605
 
/* void scroll (in long xScroll, in long yScroll); */
606
 
NS_IMETHODIMP KeyPairHelperWindow::Scroll(PRInt32 xScroll, PRInt32 yScroll)
607
 
{
608
 
    MOZ_NOT_IMPLEMENTED
609
 
}
610
 
 
611
 
/* [noscript] nsIDOMWindow open (in DOMString url, in DOMString name, in DOMString options); */
612
 
NS_IMETHODIMP KeyPairHelperWindow::Open(const nsAString & url, const nsAString & name, const nsAString & options, nsIDOMWindow **_retval)
613
 
{
614
 
    MOZ_NOT_IMPLEMENTED
615
 
}
616
 
 
617
 
/* [noscript] nsIDOMWindow openDialog (in DOMString url, in DOMString name, in DOMString options, in nsISupports aExtraArgument); */
618
 
NS_IMETHODIMP KeyPairHelperWindow::OpenDialog(const nsAString & url, const nsAString & name, const nsAString & options, nsISupports *aExtraArgument, nsIDOMWindow **_retval)
619
 
{
620
 
    MOZ_NOT_IMPLEMENTED
621
 
}
622
 
 
623
 
/* void updateCommands (in DOMString action); */
624
 
NS_IMETHODIMP KeyPairHelperWindow::UpdateCommands(const nsAString & action)
625
 
{
626
 
    MOZ_NOT_IMPLEMENTED
627
 
}
628
 
 
629
 
/* [noscript] boolean find (in DOMString str, in boolean caseSensitive, in boolean backwards, in boolean wrapAround, in boolean wholeWord, in boolean searchInFrames, in boolean showDialog); */
630
 
NS_IMETHODIMP KeyPairHelperWindow::Find(const nsAString & str, PRBool caseSensitive, PRBool backwards, PRBool wrapAround, PRBool wholeWord, PRBool searchInFrames, PRBool showDialog, PRBool *_retval)
631
 
{
632
 
    MOZ_NOT_IMPLEMENTED
633
 
}
634
 
 
635
 
/* DOMString atob (in DOMString aAsciiString); */
636
 
NS_IMETHODIMP KeyPairHelperWindow::Atob(const nsAString & aAsciiString, nsAString & _retval)
637
 
{
638
 
    MOZ_NOT_IMPLEMENTED
639
 
}
640
 
 
641
 
/* DOMString btoa (in DOMString aBase64Data); */
642
 
NS_IMETHODIMP KeyPairHelperWindow::Btoa(const nsAString & aBase64Data, nsAString & _retval)
643
 
{
644
 
    MOZ_NOT_IMPLEMENTED
645
 
}
646
 
 
647
 
/* readonly attribute nsIDOMElement frameElement; */
648
 
NS_IMETHODIMP KeyPairHelperWindow::GetFrameElement(nsIDOMElement * *aFrameElement)
649
 
{
650
 
    MOZ_NOT_IMPLEMENTED
651
 
}
652
 
 
653
 
 
654
 
/* readonly attribute nsIDOMDocument document; */
655
 
NS_IMETHODIMP KeyPairHelperWindow::GetDocument(nsIDOMDocument * *aDocument)
656
 
{
657
 
    MOZ_NOT_IMPLEMENTED
658
 
}
659
 
 
660
 
/* readonly attribute nsIDOMWindow parent; */
661
 
NS_IMETHODIMP KeyPairHelperWindow::GetParent(nsIDOMWindow * *aParent)
662
 
{
663
 
    MOZ_NOT_IMPLEMENTED
664
 
}
665
 
 
666
 
/* readonly attribute nsIDOMWindow top; */
667
 
NS_IMETHODIMP KeyPairHelperWindow::GetTop(nsIDOMWindow * *aTop)
668
 
{
669
 
    MOZ_NOT_IMPLEMENTED
670
 
}
671
 
 
672
 
/* readonly attribute nsIDOMBarProp scrollbars; */
673
 
NS_IMETHODIMP KeyPairHelperWindow::GetScrollbars(nsIDOMBarProp * *aScrollbars)
674
 
{
675
 
    MOZ_NOT_IMPLEMENTED
676
 
}
677
 
 
678
 
/* [noscript] readonly attribute nsIDOMWindowCollection frames; */
679
 
NS_IMETHODIMP KeyPairHelperWindow::GetFrames(nsIDOMWindowCollection * *aFrames)
680
 
{
681
 
    MOZ_NOT_IMPLEMENTED
682
 
}
683
 
 
684
 
/* attribute DOMString name; */
685
 
NS_IMETHODIMP KeyPairHelperWindow::GetName(nsAString & aName)
686
 
{
687
 
    MOZ_NOT_IMPLEMENTED
688
 
}
689
 
NS_IMETHODIMP KeyPairHelperWindow::SetName(const nsAString & aName)
690
 
{
691
 
    MOZ_NOT_IMPLEMENTED
692
 
}
693
 
 
694
 
/* [noscript] attribute float textZoom; */
695
 
NS_IMETHODIMP KeyPairHelperWindow::GetTextZoom(float *aTextZoom)
696
 
{
697
 
    MOZ_NOT_IMPLEMENTED
698
 
}
699
 
NS_IMETHODIMP KeyPairHelperWindow::SetTextZoom(float aTextZoom)
700
 
{
701
 
    MOZ_NOT_IMPLEMENTED
702
 
}
703
 
 
704
 
/* readonly attribute long scrollX; */
705
 
NS_IMETHODIMP KeyPairHelperWindow::GetScrollX(PRInt32 *aScrollX)
706
 
{
707
 
    MOZ_NOT_IMPLEMENTED
708
 
}
709
 
 
710
 
/* readonly attribute long scrollY; */
711
 
NS_IMETHODIMP KeyPairHelperWindow::GetScrollY(PRInt32 *aScrollY)
712
 
{
713
 
    MOZ_NOT_IMPLEMENTED
714
 
}
715
 
 
716
 
/* void scrollTo (in long xScroll, in long yScroll); */
717
 
NS_IMETHODIMP KeyPairHelperWindow::ScrollTo(PRInt32 xScroll, PRInt32 yScroll)
718
 
{
719
 
    MOZ_NOT_IMPLEMENTED
720
 
}
721
 
 
722
 
/* void scrollBy (in long xScrollDif, in long yScrollDif); */
723
 
NS_IMETHODIMP KeyPairHelperWindow::ScrollBy(PRInt32 xScrollDif, PRInt32 yScrollDif)
724
 
{
725
 
    MOZ_NOT_IMPLEMENTED
726
 
}
727
 
 
728
 
/* nsISelection getSelection (); */
729
 
NS_IMETHODIMP KeyPairHelperWindow::GetSelection(nsISelection **_retval)
730
 
{
731
 
    MOZ_NOT_IMPLEMENTED
732
 
}
733
 
 
734
 
/* void scrollByLines (in long numLines); */
735
 
NS_IMETHODIMP KeyPairHelperWindow::ScrollByLines(PRInt32 numLines)
736
 
{
737
 
    MOZ_NOT_IMPLEMENTED
738
 
}
739
 
 
740
 
/* void scrollByPages (in long numPages); */
741
 
NS_IMETHODIMP KeyPairHelperWindow::ScrollByPages(PRInt32 numPages)
742
 
{
743
 
    MOZ_NOT_IMPLEMENTED
744
 
}
745
 
 
746
 
/* void sizeToContent (); */
747
 
NS_IMETHODIMP KeyPairHelperWindow::SizeToContent()
748
 
{
749
 
    MOZ_NOT_IMPLEMENTED
750
 
}
751
 
 
752
 
#endif
753
214
#endif