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

Side by Side Diff: public/web/WebAXObject.h

Issue 242513009: Removing empty function definitions and WebAXObject interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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 | « Source/web/WebAXObject.cpp ('k') | no next file » | 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 BLINK_EXPORT bool equals(const WebAXObject&) const; 69 BLINK_EXPORT bool equals(const WebAXObject&) const;
70 70
71 bool isNull() const { return m_private.isNull(); } 71 bool isNull() const { return m_private.isNull(); }
72 // isDetached also checks for null, so it's safe to just call isDetached. 72 // isDetached also checks for null, so it's safe to just call isDetached.
73 BLINK_EXPORT bool isDetached() const; 73 BLINK_EXPORT bool isDetached() const;
74 74
75 // Static methods for enabling accessibility. 75 // Static methods for enabling accessibility.
76 BLINK_EXPORT static void enableAccessibility(); 76 BLINK_EXPORT static void enableAccessibility();
77 BLINK_EXPORT static bool accessibilityEnabled(); 77 BLINK_EXPORT static bool accessibilityEnabled();
78 78
79 BLINK_EXPORT void startCachingComputedObjectAttributesUntilTreeMutates();
80 BLINK_EXPORT void stopCachingComputedObjectAttributes();
81
82 // Temporary: this flag will only be toggleable until Chromium has it on by default. 79 // Temporary: this flag will only be toggleable until Chromium has it on by default.
83 BLINK_EXPORT static void enableInlineTextBoxAccessibility(); 80 BLINK_EXPORT static void enableInlineTextBoxAccessibility();
84 81
85 BLINK_EXPORT int axID() const; 82 BLINK_EXPORT int axID() const;
86 83
87 // Update the underlying tree, and return true if this object is 84 // Update the underlying tree, and return true if this object is
88 // still valid (not detached). Note that calling this method 85 // still valid (not detached). Note that calling this method
89 // can cause other WebAXObjects to become invalid, too, 86 // can cause other WebAXObjects to become invalid, too,
90 // so always call isDetached if updateBackingStoreAndCheckValidity 87 // so always call isDetached if updateBackingStoreAndCheckValidity
91 // has been called on any object, or if any other WebCore code has run. 88 // has been called on any object, or if any other WebCore code has run.
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 operator WTF::PassRefPtr<WebCore::AXObject>() const; 219 operator WTF::PassRefPtr<WebCore::AXObject>() const;
223 #endif 220 #endif
224 221
225 private: 222 private:
226 WebPrivatePtr<WebCore::AXObject> m_private; 223 WebPrivatePtr<WebCore::AXObject> m_private;
227 }; 224 };
228 225
229 } // namespace blink 226 } // namespace blink
230 227
231 #endif 228 #endif
OLDNEW
« no previous file with comments | « Source/web/WebAXObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698