Closed
Bug 540281
Opened 16 years ago
Closed 16 years ago
rename nsAccessible::FireAccessibleEvent into HandleAccEvent
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
People
(Reporter: surkov, Assigned: surkov)
References
(Blocks 1 open bug)
Details
(Keywords: access)
Attachments
(1 file)
|
16.88 KB,
patch
|
davidb
:
review+
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Comment 1•16 years ago
|
||
Assignee: nobody → surkov.alexander
Status: NEW → ASSIGNED
Attachment #422086 -
Flags: review?(bolterbugz)
Comment 2•16 years ago
|
||
Comment on attachment 422086 [details] [diff] [review]
patch
r=me thanks.
>diff --git a/accessible/src/atk/nsAccessibleWrap.cpp b/accessible/src/atk/nsAccessibleWrap.cpp
>--- a/accessible/src/atk/nsAccessibleWrap.cpp
>+++ b/accessible/src/atk/nsAccessibleWrap.cpp
>@@ -1102,34 +1102,32 @@ nsAccessibleWrap *GetAccessibleWrap(AtkO
>
> if (tmpAppAccWrap != tmpAccWrap && !tmpAccWrap->IsValidObject())
> return nsnull;
>
> return tmpAccWrap;
> }
>
> nsresult
>-nsAccessibleWrap::FireAccessibleEvent(nsIAccessibleEvent *aEvent)
>+nsAccessibleWrap::HandleAccEvent(nsAccEvent *aEvent)
nice.
>--- a/accessible/src/base/nsAccessible.h
>+++ b/accessible/src/base/nsAccessible.h
>@@ -275,19 +275,20 @@ public:
> * Return first child accessible only if cached.
> */
> nsAccessible* GetCachedFirstChild();
>
> //////////////////////////////////////////////////////////////////////////////
> // Miscellaneous methods
>
> /**
>- * Fire accessible event.
>+ * Handle accessible event, i.e. process it, notifies observers and fires
>+ * platform specific event.
> */
>- virtual nsresult FireAccessibleEvent(nsIAccessibleEvent *aAccEvent);
>+ virtual nsresult HandleAccEvent(nsAccEvent *aAccEvent);
Please update NS_ACCESSIBLE_IMPL_CID ;)
Attachment #422086 -
Flags: review?(bolterbugz) → review+
| Assignee | ||
Comment 3•16 years ago
|
||
(In reply to comment #2)
> (From update of attachment 422086 [details] [diff] [review])
> r=me thanks.
> >- virtual nsresult FireAccessibleEvent(nsIAccessibleEvent *aAccEvent);
> >+ virtual nsresult HandleAccEvent(nsAccEvent *aAccEvent);
>
> Please update NS_ACCESSIBLE_IMPL_CID ;)
sure, thanks :)
| Assignee | ||
Comment 4•16 years ago
|
||
landed on 1.9.3 - http://hg.mozilla.org/mozilla-central/rev/7a74aa79f2ea
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 5•16 years ago
|
||
I backed out the patch because of build failures on Mac a11y enabled builds.
/Users/ehsanakhgari/moz/src/accessible/src/mac/nsAccessibleWrap.mm:163: error: no ‘nsresult nsAccessibleWrap::HandleAccEvent(nsAccEvent*)’ member function declared in class ‘nsAccessibleWrap’
/Users/ehsanakhgari/moz/src/accessible/src/mac/nsAccessibleWrap.mm: In member function ‘virtual nsresult nsAccessibleWrap::FirePlatformEvent(nsAccEvent*)’:
/Users/ehsanakhgari/moz/src/accessible/src/mac/nsAccessibleWrap.mm:188: error: ‘rv’ was not declared in this scope
The backout changeset is: http://hg.mozilla.org/mozilla-central/rev/e469ec1235e8.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 6•16 years ago
|
||
Alexander note tryserver and central don't do mac a11y builds unless you force via mozconfig. (maybe this needs to land alongside bug 540285?)
| Assignee | ||
Comment 7•16 years ago
|
||
(In reply to comment #5)
> I backed out the patch because of build failures on Mac a11y enabled builds.
Thank you for doing this.
(In reply to comment #6)
> Alexander note tryserver and central don't do mac a11y builds unless you force
> via mozconfig. (maybe this needs to land alongside bug 540285?)
It would be great if they will. Bug 540285 doesn't touch mac a11y.
| Assignee | ||
Comment 8•16 years ago
|
||
Landed on 1.9.3 again with mac bustage fixes - http://hg.mozilla.org/mozilla-central/rev/f278332bcc6d
Status: REOPENED → RESOLVED
Closed: 16 years ago → 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•