Comment on attachment 572602 PATCH
Review of attachment 572602: -----------------------------------------------------------------
::: accessible/src/base/nsAccessibilityService.cpp @@ +81,4 @@ > #include "nsTextFragment.h" > #include "mozilla/Services.h" > #include "nsEventStates.h" > +#include "prenv.h"
is this needed?
@@ +1833,4 @@ > // Services > //////////////////////////////////////////////////////////////////////////////// > > + mozilla::a11y::FocusManager*
I don't see the need for the indentation. just nitpicking here.
::: widget/src/gtk2/nsWindow.cpp @@ +1110,4 @@ > } > > #ifdef ACCESSIBILITY > + if (aState && a11y::ShouldA11yBeEnabled())
in nsAccessibilityService.h, ShouldA11yBeEnabled() is declared only we use ATK, while here it seems to be for the ACESSIBILITY.
@@ +6475,4 @@ > void > nsWindow::DispatchEventToRootAccessible(PRUint32 aEventType) > { > + if (!a11y::ShouldA11yBeEnabled())
same as above.
Comment on attachment 572602
PATCH
Review of attachment 572602: ------- ------- ------- ------- ------- ------- ------- ------- --
-------
::: accessible/ src/base/ nsAccessibility Service. cpp Services. h"
@@ +81,4 @@
> #include "nsTextFragment.h"
> #include "mozilla/
> #include "nsEventStates.h"
> +#include "prenv.h"
is this needed?
@@ +1833,4 @@ /////// /////// /////// /////// /////// /////// /////// /////// /////// /////// /// :a11y:: FocusManager*
> // Services
> ///////
>
> + mozilla:
I don't see the need for the indentation. just nitpicking here.
::: widget/ src/gtk2/ nsWindow. cpp yBeEnabled( ))
@@ +1110,4 @@
> }
>
> #ifdef ACCESSIBILITY
> + if (aState && a11y::ShouldA11
in nsAccessibility Service. h, ShouldA11yBeEna bled() is declared only we use ATK, while here it seems to be for the ACESSIBILITY.
@@ +6475,4 @@ :DispatchEventT oRootAccessible (PRUint32 aEventType) :ShouldA11yBeEn abled() )
> void
> nsWindow:
> {
> + if (!a11y:
same as above.