Closed Bug 717683 Opened 13 years ago Closed 12 years ago

get rid of nsIAccessibleDocument uses

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla12

People

(Reporter: tbsaunde, Assigned: tbsaunde)

References

(Blocks 1 open bug)

Details

Attachments

(4 files, 1 obsolete file)

      No description provided.
Attached patch part 1/4 (obsolete) — Splinter Review
Attachment #588099 - Flags: review?(bolterbugz)
Attached patch part 2 / 4Splinter Review
Attachment #588101 - Flags: review?(bolterbugz)
Attached patch part 3 / 4Splinter Review
Attachment #588104 - Flags: review?(bolterbugz)
Attached patch part 4/4Splinter Review
Attachment #588109 - Flags: review?(bolterbugz)
Attached patch patch 1/4 v2Splinter Review
Attachment #588099 - Attachment is obsolete: true
Attachment #588099 - Flags: review?(bolterbugz)
Attachment #588138 - Flags: review?(bolterbugz)
Comment on attachment 588138 [details] [diff] [review]
patch 1/4 v2

Review of attachment 588138 [details] [diff] [review]:
-----------------------------------------------------------------

::: accessible/src/atk/nsMaiInterfaceDocument.cpp
@@ +105,3 @@
>  
> +  // according to atkobject.h, AtkAttributeSet is a GSList
> +  GSList *attributes = nsnull;

GSList* attributes = nsnull;
Comment on attachment 588101 [details] [diff] [review]
part 2 / 4

Review of attachment 588101 [details] [diff] [review]:
-----------------------------------------------------------------

::: accessible/src/atk/nsAccessibleWrap.cpp
@@ +440,5 @@
>      if (accessInterfaceValue) {
>         interfacesBits |= 1 << MAI_INTERFACE_VALUE; 
>      }
>  
> +    // document accessibl

typo: accessible
Comment on attachment 588138 [details] [diff] [review]
patch 1/4 v2

Review of attachment 588138 [details] [diff] [review]:
-----------------------------------------------------------------

r=me. Looks good. Nice to see you removed those duplicated NS_ENSURE* calls too. I'm unsure if Ginn cares about the spacing (2 vs 4) but that shouldn't prevent landing.

::: accessible/src/atk/nsMaiInterfaceDocument.cpp
@@ +105,3 @@
>  
> +  // according to atkobject.h, AtkAttributeSet is a GSList
> +  GSList *attributes = nsnull;

Yep, good eye.

::: accessible/src/atk/nsMaiInterfaceDocument.h
@@ +44,5 @@
>  
>  G_BEGIN_DECLS
>  
>  /* document interface callbacks */
>  void documentInterfaceInitCB(AtkDocumentIface *aIface);

nit: you could change the param to AtkDocumentIface* aIface while here.
Attachment #588138 - Flags: review?(bolterbugz) → review+
Attachment #588101 - Flags: review?(bolterbugz) → review+
Attachment #588104 - Flags: review?(bolterbugz) → review+
Comment on attachment 588109 [details] [diff] [review]
part 4/4

Review of attachment 588109 [details] [diff] [review]:
-----------------------------------------------------------------

r=me. Shazam!
Attachment #588109 - Flags: review?(bolterbugz) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: