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