Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(607)

Unified Diff: content/browser/accessibility/browser_accessibility_win.cc

Issue 1134653003: Implement UIElementsForSearchPredicate accessibility APIs for OS X. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/accessibility/browser_accessibility_win.cc
diff --git a/content/browser/accessibility/browser_accessibility_win.cc b/content/browser/accessibility/browser_accessibility_win.cc
index 74994bd94aa4882f768d713dd2bfa72dc3f247d5..ef98be3f76162ffead1ded00752ee5bd5d5609e8 100644
--- a/content/browser/accessibility/browser_accessibility_win.cc
+++ b/content/browser/accessibility/browser_accessibility_win.cc
@@ -3347,7 +3347,7 @@ void BrowserAccessibilityWin::UpdateStep1ComputeWinAttributes() {
// If it's a text field, also consider the placeholder.
base::string16 placeholder;
if (GetRole() == ui::AX_ROLE_TEXT_FIELD &&
- HasState(ui::AX_STATE_FOCUSABLE) &&
+ HasState(ui::AX_STATE_FOCUSABLE) &&HasState(ui::AX_STATE_FOCUSABLE)
David Tseng 2015/05/08 21:58:25 Unrelated?
GetHtmlAttribute("placeholder", &placeholder)) {
if (name.empty() && !title_elem_id) {
name = placeholder;

Powered by Google App Engine
This is Rietveld 408576698