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

Side by Side Diff: Source/core/accessibility/AXObject.h

Issue 59663005: Update the accessibility tree when a modal dialog is opened/closed. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review comments Created 7 years, 1 month 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 | Source/core/accessibility/AXObject.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Nuanti Ltd. 3 * Copyright (C) 2008 Nuanti Ltd.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 virtual void setSelected(bool) { } 530 virtual void setSelected(bool) { }
531 void setSelectedText(const String&) { } 531 void setSelectedText(const String&) { }
532 virtual void setSelectedTextRange(const PlainTextRange&) { } 532 virtual void setSelectedTextRange(const PlainTextRange&) { }
533 virtual void setValue(const String&) { } 533 virtual void setValue(const String&) { }
534 virtual void setValue(float) { } 534 virtual void setValue(float) { }
535 535
536 // Notifications that this object may have changed. 536 // Notifications that this object may have changed.
537 virtual void childrenChanged() { } 537 virtual void childrenChanged() { }
538 virtual void handleActiveDescendantChanged() { } 538 virtual void handleActiveDescendantChanged() { }
539 virtual void handleAriaExpandedChanged() { } 539 virtual void handleAriaExpandedChanged() { }
540 void notifyIfIgnoredValueChanged(); 540 bool notifyIfIgnoredValueChanged();
541 virtual void selectionChanged(); 541 virtual void selectionChanged();
542 virtual void textChanged() { } 542 virtual void textChanged() { }
543 virtual void updateAccessibilityRole() { } 543 virtual void updateAccessibilityRole() { }
544 544
545 // Text metrics. Most of these should be deprecated, needs major cleanup. 545 // Text metrics. Most of these should be deprecated, needs major cleanup.
546 virtual VisiblePosition visiblePositionForIndex(int) const { return VisibleP osition(); } 546 virtual VisiblePosition visiblePositionForIndex(int) const { return VisibleP osition(); }
547 int lineForPosition(const VisiblePosition&) const; 547 int lineForPosition(const VisiblePosition&) const;
548 virtual int index(const VisiblePosition&) const { return -1; } 548 virtual int index(const VisiblePosition&) const { return -1; }
549 virtual void lineBreaks(Vector<int>&) const { } 549 virtual void lineBreaks(Vector<int>&) const { }
550 550
(...skipping 24 matching lines...) Expand all
575 575
576 bool m_detached; 576 bool m_detached;
577 }; 577 };
578 578
579 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ 579 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \
580 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate) 580 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate)
581 581
582 } // namespace WebCore 582 } // namespace WebCore
583 583
584 #endif // AXObject_h 584 #endif // AXObject_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/accessibility/AXObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698