| Index: content/browser/accessibility/browser_accessibility.cc
|
| diff --git a/content/browser/accessibility/browser_accessibility.cc b/content/browser/accessibility/browser_accessibility.cc
|
| index a6736aac289d3833c1611fd10973c0ced0ab19d8..68f906824934d781de49f62d868eb7c2b21cfa65 100644
|
| --- a/content/browser/accessibility/browser_accessibility.cc
|
| +++ b/content/browser/accessibility/browser_accessibility.cc
|
| @@ -914,7 +914,7 @@ bool BrowserAccessibility::IsNativeTextControl() const {
|
| return html_tag == "textarea";
|
| }
|
|
|
| -// In general we should use IsEditField() instead if we want to check for
|
| +// In general we should use ui::IsEditField() instead if we want to check for
|
| // something that has a caret and the user can edit.
|
| // TODO(aleventhal) this name is confusing because it returns true for combobox,
|
| // and we should take a look at why a combobox is considered a text control. The
|
| @@ -936,11 +936,6 @@ bool BrowserAccessibility::IsSimpleTextControl() const {
|
| }
|
| }
|
|
|
| -bool BrowserAccessibility::IsEditField() const {
|
| - return GetRole() == ui::AX_ROLE_TEXT_FIELD ||
|
| - GetRole() == ui::AX_ROLE_SEARCH_BOX;
|
| -}
|
| -
|
| // Indicates if this object is at the root of a rich edit text control.
|
| bool BrowserAccessibility::IsRichTextControl() const {
|
| return HasState(ui::AX_STATE_RICHLY_EDITABLE) &&
|
|
|