Closed
Bug 748719
Opened 13 years ago
Closed 13 years ago
put ApplicationAccessible class into mozilla::a11y namespace
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla15
People
(Reporter: surkov, Assigned: capella)
References
(Blocks 1 open bug)
Details
(Whiteboard: [good first bug][mentor=eitan@monotonous.org][lang=c++])
Attachments
(1 file, 1 obsolete file)
59.46 KB,
patch
|
surkov
:
review+
|
Details | Diff | Splinter Review |
was missed in bug 745740
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → markcapella
Status: NEW → ASSIGNED
Assignee | ||
Updated•13 years ago
|
Assignee | ||
Comment 1•13 years ago
|
||
FYI, I'll remove accessible-docs.html during this patch instead of a new bug as mentioned in bug 748724 comment 13 :
"btw, would you mind to file a bug to remove accessible-docs.html from sources, it's out of date and all docs should be on devmo."
Assignee | ||
Comment 2•13 years ago
|
||
Asking mentor for initial feedback ...
Did a push to try ... I build on WIN but this affects builds cross platform ... not sure why just the OS X 10.7 opt went red ...
https://tbpl.mozilla.org/?tree=Try&rev=7df18c639c92
Attachment #622682 -
Flags: feedback?(eitan)
Comment 3•13 years ago
|
||
Comment on attachment 622682 [details] [diff] [review]
Patch (v1)
It is hard to say why this fails to build on mac. Hub, would you mind trying?
Attachment #622682 -
Flags: feedback?(eitan) → feedback?(hub)
Comment 4•13 years ago
|
||
Comment on attachment 622682 [details] [diff] [review]
Patch (v1)
it got restarted and worked. I don't know what happened. tbpl says "0 jobs failing"
Attachment #622682 -
Flags: feedback?(hub) → feedback+
Reporter | ||
Comment 5•13 years ago
|
||
Comment on attachment 622682 [details] [diff] [review]
Patch (v1)
Review of attachment 622682 [details] [diff] [review]:
-----------------------------------------------------------------
::: accessible/src/atk/ApplicationAccessibleWrap.h
@@ +38,5 @@
> *
> * ***** END LICENSE BLOCK ***** */
>
> +#ifndef mozilla_a11y_Application_Accessible_Wrap_h__
> +#define mozilla_a11y_Application_Accessible_Wrap_h__
nit: mozilla_a11y_ApplicationAccessibleWrap_h__
@@ +66,2 @@
>
> + // return the atk object for app root accessible
please change it to
/**
* Return the atk object for app root accessible.
*/
::: accessible/src/base/nsAccessNode.cpp
@@ +60,5 @@
> /* For documentation of the accessibility architecture,
> * see http://lxr.mozilla.org/seamonkey/source/accessible/accessible-docs.html
> */
>
> +mozilla::a11y::ApplicationAccessible* nsAccessNode::gApplicationAccessible = nsnull;
do you really need mozilla::a11y:: because there's using namespace mozilla::a11y?
::: accessible/src/generic/ApplicationAccessible.h
@@ +40,5 @@
> *
> * ***** END LICENSE BLOCK ***** */
>
> +#ifndef mozilla_a11y_Application_Accessible_h__
> +#define mozilla_a11y_Application_Accessible_h__
same here: no '_' between Application and Accessible and in other files
::: accessible/src/msaa/nsAccessNodeWrap.cpp
@@ +173,5 @@
> }
>
> // Can get to IAccessibleApplication from any node via QS
> if (iid == IID_IAccessibleApplication) {
> + mozilla::a11y::ApplicationAccessible* applicationAcc =
you don't need mozilla::a11y, right?
@@ +175,5 @@
> // Can get to IAccessibleApplication from any node via QS
> if (iid == IID_IAccessibleApplication) {
> + mozilla::a11y::ApplicationAccessible* applicationAcc =
> + reinterpret_cast<mozilla::a11y::ApplicationAccessible*>(GetApplicationAccessible());
> + GetApplicationAccessible();
you forgot to remove GetApplicationAccessible.
I'm curious why do you need reinterpret_cast and casting at all
Assignee | ||
Comment 6•13 years ago
|
||
FYI re: you forgot to remove GetApplicationAccessible.
I'm curious why do you need reinterpret_cast and casting at all
I put this in while resolving (what turned out to be) unrelated build errors and forgot to remove it ... thanks for the tip :)
Assignee | ||
Comment 7•13 years ago
|
||
Test of nits addressed ... builds and tests local to my WIN machine.
Attachment #622682 -
Attachment is obsolete: true
Attachment #623417 -
Flags: review?(surkov.alexander)
Reporter | ||
Updated•13 years ago
|
Attachment #623417 -
Flags: review?(surkov.alexander) → review+
Assignee | ||
Comment 8•13 years ago
|
||
TRY test, pushing to inbound next
https://tbpl.mozilla.org/?tree=Try&rev=9ae02896fe7b
Assignee | ||
Comment 9•13 years ago
|
||
fingers crossed ...
https://tbpl.mozilla.org/?tree=Mozilla-Inbound&rev=c02ce3b34b49
Assignee | ||
Updated•13 years ago
|
Target Milestone: --- → mozilla15
Comment 10•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•