| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |