Closed
Bug 759307
Opened 11 years ago
Closed 11 years ago
rename nsHTMLImageAccessible to ImageAccessible
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
mozilla15
People
(Reporter: surkov, Assigned: capella)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
28.74 KB,
patch
|
Details | Diff | Splinter Review |
1) rename nsHTMLImageAccessible to ImageAccessible 2) move it to mozilla::a11y namespace 3) move files to generic folder
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → markcapella
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•11 years ago
|
||
Renamed, moved to /generic, header guards updated, and moved to namespace.
Attachment #629426 -
Flags: review?(surkov.alexander)
Reporter | ||
Comment 2•11 years ago
|
||
Comment on attachment 629426 [details] [diff] [review] Patch (v1) Review of attachment 629426 [details] [diff] [review]: ----------------------------------------------------------------- r=me, nice ::: accessible/src/html/nsHTMLImageAccessible.h @@ +30,5 @@ > > // nsIAccessible > NS_IMETHOD GetActionName(PRUint8 aIndex, nsAString& aName); > NS_IMETHOD DoAction(PRUint8 index); > somewhere here you forgot about mozilla::a11y::role ::: accessible/src/msaa/ia2AccessibleImage.cpp @@ +9,5 @@ > > #include "AccessibleImage_i.c" > > +#include "ImageAccessible.h" > +#include "ImageAccessibleWrap.h" it's enough include wrap file only @@ +46,5 @@ > __try { > *aDescription = NULL; > > + ImageAccessibleWrap* acc = > + static_cast<ImageAccessibleWrap*>(this); keep on the same line @@ +75,5 @@ > *aX = 0; > *aY = 0; > > + ImageAccessibleWrap* imageAcc = > + static_cast<ImageAccessibleWrap*>(this); same @@ +105,5 @@ > *aHeight = 0; > *aWidth = 0; > > + ImageAccessibleWrap* imageAcc = > + static_cast<ImageAccessibleWrap*>(this); and here
Attachment #629426 -
Flags: review?(surkov.alexander) → review+
Assignee | ||
Comment 3•11 years ago
|
||
FYI, for accessible.h and nsHTMLImageAccessible.h, changing mozilla::a11y::role to role causes a type def not found, and using a11y::role complains a11y is not a namespace, so I had to leave it as-is. I was able to change ImageAccessible.h though.
Reporter | ||
Comment 4•11 years ago
|
||
(In reply to Mark Capella [:capella] from comment #3) > FYI, for accessible.h and nsHTMLImageAccessible.h, changing > mozilla::a11y::role to role causes a type def not found, and using > a11y::role complains a11y is not a namespace, so I had to leave it as-is. > I was able to change ImageAccessible.h though. it's true for Accessible.h since it's not in a11y namespace. I didn't get about nsHTMLImageAccessible.h and ImageAccessible.h since it's the same but if I read you right then in former case you didn't change it but in the second case you did that.
Assignee | ||
Comment 5•11 years ago
|
||
Yes.
Reporter | ||
Comment 6•11 years ago
|
||
(In reply to Mark Capella [:capella] from comment #5) > Yes. sorry, yes what?
Assignee | ||
Comment 7•11 years ago
|
||
I wasn't able to change nsHTMLImageAccessible.h, but I able to for ImageAccessible.h.
Attachment #629426 -
Attachment is obsolete: true
Assignee | ||
Comment 8•11 years ago
|
||
Yes sorry, I'm just confusing you here. Same one before/after, see the diff for clarity.
Reporter | ||
Comment 9•11 years ago
|
||
(In reply to Mark Capella [:capella] from comment #7) > Created attachment 629434 [details] [diff] [review] > Patch (v2) > > I wasn't able to change nsHTMLImageAccessible.h, but I able to for > ImageAccessible.h. ok, got it. you did a build in the middle of progress or try to change that previously.
Assignee | ||
Comment 10•11 years ago
|
||
TRY Push https://tbpl.mozilla.org/?tree=Try&rev=07d55b4ddc69
Assignee | ||
Comment 11•11 years ago
|
||
https://tbpl.mozilla.org/?tree=Mozilla-Inbound&rev=d2624fac9886
Target Milestone: --- → mozilla15
Comment 12•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d2624fac9886
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•