|
|
| Line 30: |
Line 30: |
| ** This is now just a typedef for nsIFrame. | | ** This is now just a typedef for nsIFrame. |
| * nsIDOMEventReceiver ([https://bugzilla.mozilla.org/show_bug.cgi?id=363089 Bug 363089]), and all specialized DOM event listener interfaces (better to use nsIDOMEventListener), e.g: | | * nsIDOMEventReceiver ([https://bugzilla.mozilla.org/show_bug.cgi?id=363089 Bug 363089]), and all specialized DOM event listener interfaces (better to use nsIDOMEventListener), e.g: |
| ** nsIDOMCompositionListener | | ** nsIDOMCompositionListen |
| ** nsIDOMContextMenuListener
| |
| ** nsIDOMDragListener
| |
| ** nsIDOMFocusListener
| |
| ** nsIDOMFormListener
| |
| ** nsIDOMKeyListener
| |
| ** nsIDOMLoadListener
| |
| ** nsIDOMMouseListener
| |
| ** nsIDOMMouseMotionListener
| |
| ** nsIDOMMutationListener (unused, remove in 1.9?, [https://bugzilla.mozilla.org/show_bug.cgi?id=360847 Bug 360847])
| |
| ** nsIDOMPageTransitionListener (unused, remove in 1.9?, [https://bugzilla.mozilla.org/show_bug.cgi?id=360847 Bug 360847])
| |
| ** nsIDOMPaintListener (unused, remove in 1.9?, [https://bugzilla.mozilla.org/show_bug.cgi?id=360847 Bug 360847])
| |
| ** nsIDOMScrollListener (unused, remove in 1.9?, [https://bugzilla.mozilla.org/show_bug.cgi?id=360847 Bug 360847])
| |
| ** nsIDOMTextListener
| |
| ** nsIDOMUIListener
| |
| ** nsIDOMXULListener
| |
| | |
| = Proposed Obsolete API =
| |
| | |
| * NS_GET_IID, NS_DEFINE_IID, and T::GetIID, except when NS_GET_IID is used on a template parameter.
| |
| ** Instead, use function templates (like CallQueryInterface) or nsCOMPtr_helpers (like do_QueryInterface) to tie the XPCOM and C++ type systems together rather than casting between the two type systems.
| |
| * nsA[C]String
| |
| ** use ns[C]Substring when nsA[C]String is not required by existing APIs (although it is still required by XPCOM interfaces)
| |
| * NS_NewAtom, NS_NewPermanentAtom
| |
| ** use do_GetAtom, do_GetPermanentAtom instead
| |
| * nsIRenderingContext, nsIDrawingSurface, nsIFontMetrics, nsTransform2D, nsFont, etc
| |
| ** any substantial new rendering code should be written to Thebes directly; that is, gfxContext, gfx*Surface, gfxPlatform, gfxFontGroup, gfxTextRun.
| |