| Index: Source/core/accessibility/AXObject.cpp
|
| diff --git a/Source/core/accessibility/AXObject.cpp b/Source/core/accessibility/AXObject.cpp
|
| index 89f6e47099b1cfdc9644fefe8fbceac54b1d5804..69216056d6e90800a94d00a5a620c75906475241 100644
|
| --- a/Source/core/accessibility/AXObject.cpp
|
| +++ b/Source/core/accessibility/AXObject.cpp
|
| @@ -34,6 +34,7 @@
|
| #include "core/editing/VisibleUnits.h"
|
| #include "core/editing/htmlediting.h"
|
| #include "core/frame/LocalFrame.h"
|
| +#include "core/frame/Settings.h"
|
| #include "core/rendering/RenderListItem.h"
|
| #include "core/rendering/RenderTheme.h"
|
| #include "core/rendering/RenderView.h"
|
| @@ -214,6 +215,15 @@ bool AXObject::isMenuRelated() const
|
| }
|
| }
|
|
|
| +bool AXObject::isPasswordFieldAndShouldHideValue() const
|
| +{
|
| + Settings* settings = document()->settings();
|
| + if (!settings || settings->accessibilityPasswordValuesEnabled())
|
| + return false;
|
| +
|
| + return isPasswordField();
|
| +}
|
| +
|
| bool AXObject::isTextControl() const
|
| {
|
| switch (roleValue()) {
|
|
|