Closed Bug 1135908 Opened 10 years ago Closed 10 years ago

[E10s] Proxy for Character/SelectionCount()

Categories

(Core :: Disability Access APIs, defect)

36 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla39
Tracking Status
e10s + ---
firefox39 --- fixed

People

(Reporter: smaug, Assigned: smaug)

Details

Attachments

(2 files)

Attached patch v1Splinter Review
No description provided.
Attachment #8568227 - Flags: review?(tbsaunde+mozbugs)
Comment on attachment 8568227 [details] [diff] [review] v1 >+ if (accWrap) { >+ HyperTextAccessible* textAcc = accWrap->AsHyperText(); >+ return >+ textAcc->IsDefunct() ? 0 : static_cast<gint>(textAcc->CharacterCount()); >+ } >+ if (ProxyAccessible* proxy = GetProxy(ATK_OBJECT(aText))) { blank line after } please >+ return proxy->CharacterCount(); >+ } >+ return 0; same >+ if (accWrap) { >+ HyperTextAccessible* text = accWrap->AsHyperText(); >+ if (!text || !text->IsTextRole()) { >+ return 0; >+ } > >- HyperTextAccessible* text = accWrap->AsHyperText(); >- if (!text || !text->IsTextRole()) >- return 0; >- >- return text->SelectionCount(); >+ return text->SelectionCount(); >+ } >+ if (ProxyAccessible* proxy = GetProxy(ATK_OBJECT(aText))) { and here
Attachment #8568227 - Flags: review?(tbsaunde+mozbugs) → review+
Is that some a11y coding style rule?
Attached patch +new linesSplinter Review
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
(In reply to Olli Pettay [:smaug] from comment #2) > Is that some a11y coding style rule? Well, I thought it was more general than just a11y. Anyway I find it much easier to deal with if you don't mind.
Assignee: nobody → bugs
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: