Regression(r138681): Add HAVE(ACCESSIBILITY) guard to atk files
authorgyuyoung.kim@samsung.com <gyuyoung.kim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Jan 2013 05:26:12 +0000 (05:26 +0000)
committergyuyoung.kim@samsung.com <gyuyoung.kim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Jan 2013 05:26:12 +0000 (05:26 +0000)
https://bugs.webkit.org/show_bug.cgi?id=106290

Reviewed by Martin Robinson.

Some atk files don't use HAVE(ACCESSIBILITY). It might make build errors when
the macro isn't enabled.

Source/WebCore:

* accessibility/atk/AXObjectCacheAtk.cpp:
* accessibility/atk/WebKitAccessibleHyperlink.h:
* accessibility/atk/WebKitAccessibleInterfaceAction.cpp:
* accessibility/atk/WebKitAccessibleInterfaceAction.h:
* accessibility/atk/WebKitAccessibleInterfaceComponent.cpp:
* accessibility/atk/WebKitAccessibleInterfaceDocument.cpp:
* accessibility/atk/WebKitAccessibleInterfaceDocument.h:
* accessibility/atk/WebKitAccessibleInterfaceEditableText.cpp:
* accessibility/atk/WebKitAccessibleInterfaceEditableText.h:
* accessibility/atk/WebKitAccessibleInterfaceHyperlinkImpl.cpp:
* accessibility/atk/WebKitAccessibleInterfaceHyperlinkImpl.h:
* accessibility/atk/WebKitAccessibleInterfaceHypertext.cpp:
* accessibility/atk/WebKitAccessibleInterfaceImage.cpp:
* accessibility/atk/WebKitAccessibleInterfaceImage.h:
* accessibility/atk/WebKitAccessibleInterfaceSelection.cpp:
* accessibility/atk/WebKitAccessibleInterfaceSelection.h:
* accessibility/atk/WebKitAccessibleInterfaceTable.cpp:
* accessibility/atk/WebKitAccessibleInterfaceTable.h:
* accessibility/atk/WebKitAccessibleInterfaceText.cpp:
* accessibility/atk/WebKitAccessibleInterfaceText.h:
* accessibility/atk/WebKitAccessibleInterfaceValue.cpp:
* accessibility/atk/WebKitAccessibleInterfaceValue.h:
* accessibility/atk/WebKitAccessibleUtil.cpp:
* accessibility/atk/WebKitAccessibleUtil.h:
* accessibility/atk/WebKitAccessibleWrapperAtk.h:

Tools:

* WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@139159 268f45cc-cd09-0410-ab3c-d52691b4dbfc

28 files changed:
Source/WebCore/ChangeLog
Source/WebCore/accessibility/atk/AXObjectCacheAtk.cpp
Source/WebCore/accessibility/atk/WebKitAccessibleHyperlink.h
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceAction.cpp
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceAction.h
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceComponent.cpp
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceDocument.cpp
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceDocument.h
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceEditableText.cpp
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceEditableText.h
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceHyperlinkImpl.cpp
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceHyperlinkImpl.h
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceHypertext.cpp
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceImage.cpp
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceImage.h
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceSelection.cpp
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceSelection.h
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceTable.cpp
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceTable.h
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceText.cpp
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceText.h
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceValue.cpp
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceValue.h
Source/WebCore/accessibility/atk/WebKitAccessibleUtil.cpp
Source/WebCore/accessibility/atk/WebKitAccessibleUtil.h
Source/WebCore/accessibility/atk/WebKitAccessibleWrapperAtk.h
Tools/ChangeLog
Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp

index 7ffe760bee9e516e497b9b96e1e58d0b647f1808..6a612dccc5c24f281cd999b9d05389243746bdfb 100644 (file)
@@ -1,3 +1,39 @@
+2013-01-08  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
+
+        Regression(r138681): Add HAVE(ACCESSIBILITY) guard to atk files
+        https://bugs.webkit.org/show_bug.cgi?id=106290
+
+        Reviewed by Martin Robinson.
+
+        Some atk files don't use HAVE(ACCESSIBILITY). It might make build errors when
+        the macro isn't enabled.
+
+        * accessibility/atk/AXObjectCacheAtk.cpp:
+        * accessibility/atk/WebKitAccessibleHyperlink.h:
+        * accessibility/atk/WebKitAccessibleInterfaceAction.cpp:
+        * accessibility/atk/WebKitAccessibleInterfaceAction.h:
+        * accessibility/atk/WebKitAccessibleInterfaceComponent.cpp:
+        * accessibility/atk/WebKitAccessibleInterfaceDocument.cpp:
+        * accessibility/atk/WebKitAccessibleInterfaceDocument.h:
+        * accessibility/atk/WebKitAccessibleInterfaceEditableText.cpp:
+        * accessibility/atk/WebKitAccessibleInterfaceEditableText.h:
+        * accessibility/atk/WebKitAccessibleInterfaceHyperlinkImpl.cpp:
+        * accessibility/atk/WebKitAccessibleInterfaceHyperlinkImpl.h:
+        * accessibility/atk/WebKitAccessibleInterfaceHypertext.cpp:
+        * accessibility/atk/WebKitAccessibleInterfaceImage.cpp:
+        * accessibility/atk/WebKitAccessibleInterfaceImage.h:
+        * accessibility/atk/WebKitAccessibleInterfaceSelection.cpp:
+        * accessibility/atk/WebKitAccessibleInterfaceSelection.h:
+        * accessibility/atk/WebKitAccessibleInterfaceTable.cpp:
+        * accessibility/atk/WebKitAccessibleInterfaceTable.h:
+        * accessibility/atk/WebKitAccessibleInterfaceText.cpp:
+        * accessibility/atk/WebKitAccessibleInterfaceText.h:
+        * accessibility/atk/WebKitAccessibleInterfaceValue.cpp:
+        * accessibility/atk/WebKitAccessibleInterfaceValue.h:
+        * accessibility/atk/WebKitAccessibleUtil.cpp:
+        * accessibility/atk/WebKitAccessibleUtil.h:
+        * accessibility/atk/WebKitAccessibleWrapperAtk.h:
+
 2013-01-08  Matt Falkenhagen  <falken@chromium.org>
 
         Make NodeRenderingContext::parentRenderer and nextRenderer top layer aware
index 560a60a8831777fc608e8366855c3513e6c50f7a..ef955d7d0c27a4344b3613821bb602ba3e89e0a1 100644 (file)
@@ -20,6 +20,8 @@
 #include "config.h"
 #include "AXObjectCache.h"
 
+#if HAVE(ACCESSIBILITY)
+
 #include "AccessibilityObject.h"
 #include "AccessibilityRenderObject.h"
 #include "Document.h"
@@ -262,3 +264,5 @@ void AXObjectCache::handleScrolledToAnchor(const Node*)
 }
 
 } // namespace WebCore
+
+#endif
index 0682a25bae17fe1b5a825a5d307b890561689468..8c5dbebb60966ac6d0e8f38d68d65a5bf476f26c 100644 (file)
@@ -22,6 +22,8 @@
 
 #include <atk/atk.h>
 
+#if HAVE(ACCESSIBILITY)
+
 namespace WebCore {
 class AccessibilityObject;
 }
@@ -59,3 +61,5 @@ WebCore::AccessibilityObject* webkitAccessibleHyperlinkGetAccessibilityObject(We
 G_END_DECLS
 
 #endif // WebKitAccessibleHyperlink_h
+
+#endif
index 370b4bba26fcff9617cbe4987b8184a328ec97ea..3b679b91a2e2d08e90462dacf2b51a43815d439c 100644 (file)
@@ -31,6 +31,8 @@
 #include "config.h"
 #include "WebKitAccessibleInterfaceAction.h"
 
+#if HAVE(ACCESSIBILITY)
+
 #include "AccessibilityObject.h"
 #include "NotImplemented.h"
 #include "WebKitAccessibleUtil.h"
@@ -85,3 +87,5 @@ void webkitAccessibleActionInterfaceInit(AtkActionIface* iface)
     iface->get_keybinding = webkitAccessibleActionGetKeybinding;
     iface->get_name = webkitAccessibleActionGetName;
 }
+
+#endif
index 3bcbdf58b9dea6fe7c8a166b6749fb0d53cf0798..766c43e9ce6ac0ec97dfffdd7c7fcaac3237ed37 100644 (file)
 
 #include <atk/atk.h>
 
+#if HAVE(ACCESSIBILITY)
+
 void webkitAccessibleActionInterfaceInit(AtkActionIface*);
 
+#endif
+
 #endif // WebKitAccessibleInterfaceAction_h
index 3969f149dae086c8774207bd53b15678f7632738..7103ea68612679be0a0da4e8273317f4b2f2e4fe 100644 (file)
@@ -31,6 +31,8 @@
 #include "config.h"
 #include "WebKitAccessibleInterfaceComponent.h"
 
+#if HAVE(ACCESSIBILITY)
+
 #include "AccessibilityObject.h"
 #include "FrameView.h"
 #include "IntRect.h"
@@ -93,3 +95,5 @@ void webkitAccessibleComponentInterfaceInit(AtkComponentIface* iface)
     iface->get_extents = webkitAccessibleComponentGetExtents;
     iface->grab_focus = webkitAccessibleComponentGrabFocus;
 }
+
+#endif
index a7beb15d2de826c8308bebd9789a1ff3edbc6255..8858f37211eb10d543905b8b28070453f09522dd 100644 (file)
@@ -31,6 +31,8 @@
 #include "config.h"
 #include "WebKitAccessibleInterfaceDocument.h"
 
+#if HAVE(ACCESSIBILITY)
+
 #include "AccessibilityObject.h"
 #include "Document.h"
 #include "DocumentType.h"
@@ -102,3 +104,5 @@ void webkitAccessibleDocumentInterfaceInit(AtkDocumentIface* iface)
     iface->get_document_attributes = webkitAccessibleDocumentGetAttributes;
     iface->get_document_locale = webkitAccessibleDocumentGetLocale;
 }
+
+#endif
index 4b9f40f5d2fd3632d953ab19f7c15c63dfb6e474..5ee9469628df2f81ae4c80ec6ab30d8281c1af84 100644 (file)
 #ifndef WebKitAccessibleInterfaceDocument_h
 #define WebKitAccessibleInterfaceDocument_h
 
+#if HAVE(ACCESSIBILITY)
+
 #include <atk/atk.h>
 
 void webkitAccessibleDocumentInterfaceInit(AtkDocumentIface*);
 
+#endif
 #endif // WebKitAccessibleInterfaceDocument_h
index 04d6e6fa466d859428d836853a4a0f47c6865581..71aa2bc1de9f468dfd9f754aae6bf378966ec769 100644 (file)
@@ -31,6 +31,8 @@
 #include "config.h"
 #include "WebKitAccessibleInterfaceEditableText.h"
 
+#if HAVE(ACCESSIBILITY)
+
 #include "AccessibilityObject.h"
 #include "Document.h"
 #include "Frame.h"
@@ -121,3 +123,5 @@ void webkitAccessibleEditableTextInterfaceInit(AtkEditableTextIface* iface)
     iface->delete_text = webkitAccessibleEditableTextDeleteText;
     iface->paste_text = webkitAccessibleEditableTextPasteText;
 }
+
+#endif
index 99f694d6078058e41777a30f4244df2a07973a79..da766913052a7ce22b55b4d1903fadc13120c227 100644 (file)
 #ifndef WebKitAccessibleInterfaceEditableText_h
 #define WebKitAccessibleInterfaceEditableText_h
 
+#if HAVE(ACCESSIBILITY)
+
 #include <atk/atk.h>
 
 void webkitAccessibleEditableTextInterfaceInit(AtkEditableTextIface*);
 
+#endif
 #endif // WebKitAccessibleInterfaceEditableText_h
index eb60e4f44f8ff52ea4f0d9ab7c217e15a2b8fb85..9de3be92ae63e2e1463fdcea06417f09dde15a97 100644 (file)
@@ -20,6 +20,8 @@
 #include "config.h"
 #include "WebKitAccessibleInterfaceHyperlinkImpl.h"
 
+#if HAVE(ACCESSIBILITY)
+
 #include "WebKitAccessibleHyperlink.h"
 
 using namespace WebCore;
@@ -41,3 +43,5 @@ void webkitAccessibleHyperlinkImplInterfaceInit(AtkHyperlinkImplIface* iface)
     iface->get_hyperlink = webkitAccessibleHyperlinkImplGetHyperlink;
     hyperlinkObjectQuark = g_quark_from_static_string("webkit-accessible-hyperlink-object");
 }
+
+#endif
index dcb4022d1175b871f960814e37952cc9c2d7ee9c..56a8c67aca004822710a640ba56fc34ba8430066 100644 (file)
 #ifndef WebKitAccessibleInterfaceHyperlinkImpl_h
 #define WebKitAccessibleInterfaceHyperlinkImpl_h
 
+#if HAVE(ACCESSIBILITY)
+
 #include <atk/atk.h>
 
 void webkitAccessibleHyperlinkImplInterfaceInit(AtkHyperlinkImplIface*);
 
+#endif
 #endif // WebKitAccessibleInterfaceHyperlinkImpl_h
index 08f7678a116327bbd14ad416afef809f18d41382..0e338d8c8958cbae758ea68b554e5878637ce630 100644 (file)
@@ -20,6 +20,8 @@
 #include "config.h"
 #include "WebKitAccessibleInterfaceHypertext.h"
 
+#if HAVE(ACCESSIBILITY)
+
 #include "AccessibilityObject.h"
 #include "WebKitAccessibleWrapperAtk.h"
 
@@ -103,3 +105,5 @@ void webkitAccessibleHypertextInterfaceInit(AtkHypertextIface* iface)
     iface->get_n_links = webkitAccessibleHypertextGetNLinks;
     iface->get_link_index = webkitAccessibleHypertextGetLinkIndex;
 }
+
+#endif
index 3ecc9647ac8327b04e535ee061bf439c48816209..679d7e721bede5f5debfa40a181682e644d84b1c 100644 (file)
@@ -31,6 +31,8 @@
 #include "config.h"
 #include "WebKitAccessibleInterfaceImage.h"
 
+#if HAVE(ACCESSIBILITY)
+
 #include "AccessibilityObject.h"
 #include "IntRect.h"
 #include "WebKitAccessibleUtil.h"
@@ -73,3 +75,5 @@ void webkitAccessibleImageInterfaceInit(AtkImageIface* iface)
     iface->get_image_description = webkitAccessibleImageGetImageDescription;
     iface->get_image_size = webkitAccessibleImageGetImageSize;
 }
+
+#endif
index d2a8c4a199a0c73bf32c762f5499d95b6e5e295d..45be655415c6f664f2b24e9bf0d61b1f6ef10580 100644 (file)
 #ifndef WebKitAccessibleInterfaceImage_h
 #define WebKitAccessibleInterfaceImage_h
 
+#if HAVE(ACCESSIBILITY)
+
 #include <atk/atk.h>
 
 void webkitAccessibleImageInterfaceInit(AtkImageIface*);
 
+#endif
 #endif // WebKitAccessibleInterfaceImage_h
index 23253ed248a19422ecb06250bc238b21bc7979d0..7e024b02c6e6a6577800ad01015c5e1062fcd277 100644 (file)
@@ -31,6 +31,8 @@
 #include "config.h"
 #include "WebKitAccessibleInterfaceSelection.h"
 
+#if HAVE(ACCESSIBILITY)
+
 #include "AccessibilityListBox.h"
 #include "AccessibilityObject.h"
 #include "HTMLSelectElement.h"
@@ -248,3 +250,5 @@ void webkitAccessibleSelectionInterfaceInit(AtkSelectionIface* iface)
     iface->remove_selection = webkitAccessibleSelectionRemoveSelection;
     iface->select_all_selection = webkitAccessibleSelectionSelectAllSelection;
 }
+
+#endif
index 1ceafce8b4189b7d27fe7959fca2f91ad2bd1a62..6500029d00322af5d82d12aaeda81670a17af888 100644 (file)
 #ifndef WebKitAccessibleInterfaceSelection_h
 #define WebKitAccessibleInterfaceSelection_h
 
+#if HAVE(ACCESSIBILITY)
+
 #include <atk/atk.h>
 
 void webkitAccessibleSelectionInterfaceInit(AtkSelectionIface*);
 
+#endif
 #endif // WebKitAccessibleInterfaceSelection_h
index 1991c497e5d7cb56b42e8189bc63561499d1e2ba..b58746052af0a0179f675eed5db884b316c4b7d4 100644 (file)
@@ -31,6 +31,8 @@
 #include "config.h"
 #include "WebKitAccessibleInterfaceTable.h"
 
+#if HAVE(ACCESSIBILITY)
+
 #include "AccessibilityListBox.h"
 #include "AccessibilityObject.h"
 #include "AccessibilityTable.h"
@@ -246,3 +248,5 @@ void webkitAccessibleTableInterfaceInit(AtkTableIface* iface)
     iface->get_column_description = webkitAccessibleTableGetColumnDescription;
     iface->get_row_description = webkitAccessibleTableGetRowDescription;
 }
+
+#endif
index 4aaf3a857a9d5370c3f5fac1a90b77673d7220c1..5bddf39c206e736eaa8a94dde2738ba3146c1c55 100644 (file)
 #ifndef WebKitAccessibleInterfaceTable_h
 #define WebKitAccessibleInterfaceTable_h
 
+#if HAVE(ACCESSIBILITY)
+
 #include <atk/atk.h>
 
 void webkitAccessibleTableInterfaceInit(AtkTableIface*);
 
+#endif
 #endif // WebKitAccessibleInterfaceTable_h
index b7022471f5ae7402f96303bb8239ac972facc385..e25cdd99284230275fde4eced2f23f2f13203732 100644 (file)
@@ -31,6 +31,8 @@
 #include "config.h"
 #include "WebKitAccessibleInterfaceText.h"
 
+#if HAVE(ACCESSIBILITY)
+
 #include "AccessibilityObject.h"
 #include "Document.h"
 #include "Font.h"
@@ -863,3 +865,5 @@ void webkitAccessibleTextInterfaceInit(AtkTextIface* iface)
     iface->set_selection = webkitAccessibleTextSetSelection;
     iface->set_caret_offset = webkitAccessibleTextSetCaretOffset;
 }
+
+#endif
index 8ebba05894bafae637be223dd89e5fb8a6e59910..d7c7376e47aa13fd79b33506f5321cd74ee2c551 100644 (file)
 #ifndef WebKitAccessibleInterfaceText_h
 #define WebKitAccessibleInterfaceText_h
 
+#if HAVE(ACCESSIBILITY)
+
 #include <atk/atk.h>
 
 void webkitAccessibleTextInterfaceInit(AtkTextIface*);
 
+#endif
 #endif // WebKitAccessibleInterfaceText_h
index 328ef535bf0998c71000357059153d331866b670..6ba7424aabadb7516974ad90ba215dcb98d59633 100644 (file)
@@ -20,6 +20,8 @@
 #include "config.h"
 #include "WebKitAccessibleInterfaceValue.h"
 
+#if HAVE(ACCESSIBILITY)
+
 #include "AccessibilityObject.h"
 #include "HTMLNames.h"
 #include "WebKitAccessibleWrapperAtk.h"
@@ -114,3 +116,5 @@ void webkitAccessibleValueInterfaceInit(AtkValueIface* iface)
     iface->set_current_value = webkitAccessibleValueSetCurrentValue;
     iface->get_minimum_increment = webkitAccessibleValueGetMinimumIncrement;
 }
+
+#endif
index 342a4283578b70525dcb5dcc9d61c8960eea4ed0..6e53551ec8fc94490002c0d678ed2119606bafbb 100644 (file)
 #ifndef WebKitAccessibleInterfaceValue_h
 #define WebKitAccessibleInterfaceValue_h
 
+#if HAVE(ACCESSIBILITY)
+
 #include <atk/atk.h>
 
 void webkitAccessibleValueInterfaceInit(AtkValueIface*);
 
+#endif
 #endif // WebKitAccessibleInterfaceValue_h
index 2d5d1795192ca1cda3605d0eb4284f3ab6d5b212..1fa50b865c6ec93a04c434cbfaf5bd7c7324b3b0 100644 (file)
@@ -31,6 +31,8 @@
 #include "config.h"
 #include "WebKitAccessibleUtil.h"
 
+#if HAVE(ACCESSIBILITY)
+
 #include "AccessibilityObject.h"
 #include "FrameView.h"
 #include "IntRect.h"
@@ -167,3 +169,5 @@ bool selectionBelongsToObject(AccessibilityObject* coreObject, VisibleSelection&
         && (range->endContainer() != node || range->endOffset())
         && (range->startContainer() != lastDescendant || range->startOffset() != lastOffsetInNode(lastDescendant)));
 }
+
+#endif
index cd69b29d6c942de0ff8ed8671a37db9ba7a4f3f7..b54e8fd6db5ba3682fcb8d754869156884c30e91 100644 (file)
@@ -22,6 +22,8 @@
 #ifndef WebKitAccessibleUtil_h
 #define WebKitAccessibleUtil_h
 
+#if HAVE(ACCESSIBILITY)
+
 #include <atk/atk.h>
 #include <wtf/text/WTFString.h>
 
@@ -43,4 +45,5 @@ String accessibilityDescription(WebCore::AccessibilityObject*);
 
 bool selectionBelongsToObject(WebCore::AccessibilityObject*, WebCore::VisibleSelection&);
 
+#endif
 #endif // WebKitAccessibleUtil_h
index 111184e96c27e9427b876d1eb62258be5c25f424..ce6e7b950bb0bd3ab8ead01d75338ec01aa247c1 100644 (file)
@@ -22,6 +22,8 @@
 #ifndef WebKitAccessibleWrapperAtk_h
 #define WebKitAccessibleWrapperAtk_h
 
+#if HAVE(ACCESSIBILITY)
+
 #include <atk/atk.h>
 
 namespace WebCore {
@@ -63,4 +65,5 @@ WebCore::AccessibilityObject* objectFocusedAndCaretOffsetUnignored(WebCore::Acce
 
 G_END_DECLS
 
+#endif
 #endif // WebKitAccessibleWrapperAtk_h
index a04e2bac829b58434589982b3e6301c2a647532f..785a4f8a148db9cab72329b9e513bd1dacd6748e 100644 (file)
@@ -1,3 +1,15 @@
+2013-01-08  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
+
+        Regression(r138681): Add HAVE(ACCESSIBILITY) guard to atk files
+        https://bugs.webkit.org/show_bug.cgi?id=106290
+
+        Reviewed by Martin Robinson.
+
+        Some atk files don't use HAVE(ACCESSIBILITY). It might make build errors when
+        the macro isn't enabled.
+
+        * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
+
 2013-01-08  Martin Robinson  <mrobinson@igalia.com>
 
         WebKitTestRunner needs support for setHandlesAuthenticationChallenges
index 1ce09cdef5a64dced68cd0dbc466e54899983a46..84e2c7797414f0189bd0c594a1a78c32f3995957 100644 (file)
@@ -27,6 +27,8 @@
 #include "config.h"
 #include "AccessibilityUIElement.h"
 
+#if HAVE(ACCESSIBILITY)
+
 #include "InjectedBundle.h"
 #include "InjectedBundlePage.h"
 #include <JavaScriptCore/JSStringRef.h>
@@ -1130,3 +1132,5 @@ PassRefPtr<AccessibilityTextMarker> AccessibilityUIElement::textMarkerForIndex(i
 
 
 } // namespace WTR
+
+#endif