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

Side by Side Diff: Source/WebCore/accessibility/AccessibilityObject.h

Issue 7058064: Merge 87856 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 years, 6 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 | Source/WebCore/accessibility/AccessibilityObject.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 565 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 bool accessibilityIgnoreAttachment() const; 576 bool accessibilityIgnoreAttachment() const;
577 // gives platforms the opportunity to indicate if and how an object should b e included 577 // gives platforms the opportunity to indicate if and how an object should b e included
578 AccessibilityObjectInclusion accessibilityPlatformIncludesObject() const; 578 AccessibilityObjectInclusion accessibilityPlatformIncludesObject() const;
579 #else 579 #else
580 bool accessibilityIgnoreAttachment() const { return true; } 580 bool accessibilityIgnoreAttachment() const { return true; }
581 AccessibilityObjectInclusion accessibilityPlatformIncludesObject() const { r eturn DefaultBehavior; } 581 AccessibilityObjectInclusion accessibilityPlatformIncludesObject() const { r eturn DefaultBehavior; }
582 #endif 582 #endif
583 583
584 // allows for an AccessibilityObject to update its render tree or perform 584 // allows for an AccessibilityObject to update its render tree or perform
585 // other operations update type operations 585 // other operations update type operations
586 virtual void updateBackingStore() { } 586 void updateBackingStore();
587 587
588 protected: 588 protected:
589 AXID m_id; 589 AXID m_id;
590 AccessibilityChildrenVector m_children; 590 AccessibilityChildrenVector m_children;
591 mutable bool m_haveChildren; 591 mutable bool m_haveChildren;
592 AccessibilityRole m_role; 592 AccessibilityRole m_role;
593 593
594 virtual void clearChildren(); 594 virtual void clearChildren();
595 virtual bool isDetached() const { return true; } 595 virtual bool isDetached() const { return true; }
596 596
(...skipping 12 matching lines...) Expand all
609 #elif PLATFORM(GTK) 609 #elif PLATFORM(GTK)
610 AtkObject* m_wrapper; 610 AtkObject* m_wrapper;
611 #elif PLATFORM(CHROMIUM) 611 #elif PLATFORM(CHROMIUM)
612 RefPtr<AccessibilityObjectWrapper> m_wrapper; 612 RefPtr<AccessibilityObjectWrapper> m_wrapper;
613 #endif 613 #endif
614 }; 614 };
615 615
616 } // namespace WebCore 616 } // namespace WebCore
617 617
618 #endif // AccessibilityObject_h 618 #endif // AccessibilityObject_h
OLDNEW
« no previous file with comments | « no previous file | Source/WebCore/accessibility/AccessibilityObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698