OLD | NEW |
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 680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
691 // | 691 // |
692 // Properties of static elements. | 692 // Properties of static elements. |
693 // | 693 // |
694 | 694 |
695 virtual const AtomicString& accessKey() const { return nullAtom; } | 695 virtual const AtomicString& accessKey() const { return nullAtom; } |
696 virtual RGBA32 backgroundColor() const { return Color::transparent; } | 696 virtual RGBA32 backgroundColor() const { return Color::transparent; } |
697 virtual RGBA32 color() const { return Color::black; } | 697 virtual RGBA32 color() const { return Color::black; } |
698 // Used by objects of role ColorWellRole. | 698 // Used by objects of role ColorWellRole. |
699 virtual RGBA32 colorValue() const { return Color::transparent; } | 699 virtual RGBA32 colorValue() const { return Color::transparent; } |
700 virtual bool canvasHasFallbackContent() const { return false; } | 700 virtual bool canvasHasFallbackContent() const { return false; } |
| 701 virtual String fontFamily() const { return nullAtom; } |
701 // Font size is in pixels. | 702 // Font size is in pixels. |
702 virtual float fontSize() const { return 0.0f; } | 703 virtual float fontSize() const { return 0.0f; } |
703 virtual int headingLevel() const { return 0; } | 704 virtual int headingLevel() const { return 0; } |
704 // 1-based, to match the aria-level spec. | 705 // 1-based, to match the aria-level spec. |
705 virtual unsigned hierarchicalLevel() const { return 0; } | 706 virtual unsigned hierarchicalLevel() const { return 0; } |
706 virtual AccessibilityOrientation orientation() const; | 707 virtual AccessibilityOrientation orientation() const; |
707 virtual String text() const { return String(); } | 708 virtual String text() const { return String(); } |
708 virtual AccessibilityTextDirection textDirection() const { return Accessibil
ityTextDirectionLTR; } | 709 virtual AccessibilityTextDirection textDirection() const { return Accessibil
ityTextDirectionLTR; } |
709 virtual int textLength() const { return 0; } | 710 virtual int textLength() const { return 0; } |
710 virtual TextStyle getTextStyle() const { return TextStyleNone; } | 711 virtual TextStyle getTextStyle() const { return TextStyleNone; } |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
948 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ | 949 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ |
949 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) | 950 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred
icate) |
950 | 951 |
951 } // namespace blink | 952 } // namespace blink |
952 | 953 |
953 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::IgnoredReason); | 954 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::IgnoredReason); |
954 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::NameSource); | 955 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::NameSource); |
955 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::DescriptionSource); | 956 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::DescriptionSource); |
956 | 957 |
957 #endif // AXObject_h | 958 #endif // AXObject_h |
OLD | NEW |