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

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

Issue 2969603002: Move two BrowserAccessibility role predicates to ax_role_properties. (Closed)
Patch Set: macos Created 3 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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 bool HasState(ui::AXState state_enum) const; 344 bool HasState(ui::AXState state_enum) const;
345 bool HasAction(ui::AXAction action_enum) const; 345 bool HasAction(ui::AXAction action_enum) const;
346 346
347 // Returns true if the caret is active on this object. 347 // Returns true if the caret is active on this object.
348 bool HasCaret() const; 348 bool HasCaret() const;
349 349
350 // True if this is a web area, and its grandparent is a presentational iframe. 350 // True if this is a web area, and its grandparent is a presentational iframe.
351 bool IsWebAreaForPresentationalIframe() const; 351 bool IsWebAreaForPresentationalIframe() const;
352 352
353 virtual bool IsClickable() const; 353 virtual bool IsClickable() const;
354 bool IsControl() const;
355 bool IsMenuRelated() const;
356 bool IsNativeTextControl() const; 354 bool IsNativeTextControl() const;
357 bool IsSimpleTextControl() const; 355 bool IsSimpleTextControl() const;
358 // Indicates if this object is at the root of a rich edit text control. 356 // Indicates if this object is at the root of a rich edit text control.
359 bool IsRichTextControl() const; 357 bool IsRichTextControl() const;
360 358
361 // Return true if the accessible name was explicitly set to "" by the author 359 // Return true if the accessible name was explicitly set to "" by the author
362 bool HasExplicitlyEmptyName() const; 360 bool HasExplicitlyEmptyName() const;
363 361
364 // If an object is focusable but has no accessible name, use this 362 // If an object is focusable but has no accessible name, use this
365 // to compute a name from its descendants. 363 // to compute a name from its descendants.
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 // special character in the place of every embedded object instead of its 408 // special character in the place of every embedded object instead of its
411 // text, depending on the platform. 409 // text, depending on the platform.
412 base::string16 GetInnerText() const; 410 base::string16 GetInnerText() const;
413 411
414 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); 412 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility);
415 }; 413 };
416 414
417 } // namespace content 415 } // namespace content
418 416
419 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ 417 #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