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

Side by Side Diff: content/browser/accessibility/browser_accessibility.h

Issue 2120523002: The children of non-editable combo boxes, search boxes and text fields should not be hidden (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Windows browser test. Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 324
325 // Returns true if the caret is active on this object. 325 // Returns true if the caret is active on this object.
326 bool HasCaret() const; 326 bool HasCaret() const;
327 327
328 // True if this is a web area, and its grandparent is a presentational iframe. 328 // True if this is a web area, and its grandparent is a presentational iframe.
329 bool IsWebAreaForPresentationalIframe() const; 329 bool IsWebAreaForPresentationalIframe() const;
330 330
331 virtual bool IsClickable() const; 331 virtual bool IsClickable() const;
332 bool IsControl() const; 332 bool IsControl() const;
333 bool IsMenuRelated() const; 333 bool IsMenuRelated() const;
334 bool IsRangeControl() const; 334 bool IsNativeTextControl() const;
335 bool IsSimpleTextControl() const; 335 bool IsSimpleTextControl() const;
336 // Indicates if this object is at the root of a rich edit text control. 336 // Indicates if this object is at the root of a rich edit text control.
337 bool IsRichTextControl() const; 337 bool IsRichTextControl() const;
338 338
339 // If an object is focusable but has no accessible name, use this 339 // If an object is focusable but has no accessible name, use this
340 // to compute a name from its descendants. 340 // to compute a name from its descendants.
341 std::string ComputeAccessibleNameFromDescendants(); 341 std::string ComputeAccessibleNameFromDescendants();
342 342
343 protected: 343 protected:
344 BrowserAccessibility(); 344 BrowserAccessibility();
(...skipping 24 matching lines...) Expand all
369 // its nearest scrollable ancestor) to local bounds (which are relative 369 // its nearest scrollable ancestor) to local bounds (which are relative
370 // to the top of the web accessibility tree). 370 // to the top of the web accessibility tree).
371 gfx::Rect ElementBoundsToLocalBounds(gfx::Rect bounds) const; 371 gfx::Rect ElementBoundsToLocalBounds(gfx::Rect bounds) const;
372 372
373 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); 373 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility);
374 }; 374 };
375 375
376 } // namespace content 376 } // namespace content
377 377
378 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ 378 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698