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

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

Issue 2518183002: Moved action verbs out of Blink. (Closed)
Patch Set: Created 4 years, 1 month 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
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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 BLINK_EXPORT WebDocument document() const; 239 BLINK_EXPORT WebDocument document() const;
240 BLINK_EXPORT bool hasComputedStyle() const; 240 BLINK_EXPORT bool hasComputedStyle() const;
241 BLINK_EXPORT WebString computedStyleDisplay() const; 241 BLINK_EXPORT WebString computedStyleDisplay() const;
242 BLINK_EXPORT bool accessibilityIsIgnored() const; 242 BLINK_EXPORT bool accessibilityIsIgnored() const;
243 BLINK_EXPORT bool lineBreaks(WebVector<int>&) const; 243 BLINK_EXPORT bool lineBreaks(WebVector<int>&) const;
244 BLINK_EXPORT void markers(WebVector<WebAXMarkerType>& types, 244 BLINK_EXPORT void markers(WebVector<WebAXMarkerType>& types,
245 WebVector<int>& starts, 245 WebVector<int>& starts,
246 WebVector<int>& ends) const; 246 WebVector<int>& ends) const;
247 247
248 // Actions 248 // Actions
249 BLINK_EXPORT WebString 249 BLINK_EXPORT WebAXSupportedAction action() const;
250 actionVerb() const; // The verb corresponding to performDefaultAction.
251 BLINK_EXPORT bool canDecrement() const; 250 BLINK_EXPORT bool canDecrement() const;
252 BLINK_EXPORT bool canIncrement() const; 251 BLINK_EXPORT bool canIncrement() const;
253 BLINK_EXPORT bool canPress() const; 252 BLINK_EXPORT bool canPress() const;
254 BLINK_EXPORT bool canSetFocusAttribute() const; 253 BLINK_EXPORT bool canSetFocusAttribute() const;
255 BLINK_EXPORT bool canSetSelectedAttribute() const; 254 BLINK_EXPORT bool canSetSelectedAttribute() const;
256 BLINK_EXPORT bool canSetValueAttribute() const; 255 BLINK_EXPORT bool canSetValueAttribute() const;
257 BLINK_EXPORT bool performDefaultAction() const; 256 BLINK_EXPORT bool performDefaultAction() const;
258 BLINK_EXPORT bool press() const; 257 BLINK_EXPORT bool press() const;
259 BLINK_EXPORT bool increment() const; 258 BLINK_EXPORT bool increment() const;
260 BLINK_EXPORT bool decrement() const; 259 BLINK_EXPORT bool decrement() const;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 operator AXObject*() const; 339 operator AXObject*() const;
341 #endif 340 #endif
342 341
343 private: 342 private:
344 WebPrivatePtr<AXObject> m_private; 343 WebPrivatePtr<AXObject> m_private;
345 }; 344 };
346 345
347 } // namespace blink 346 } // namespace blink
348 347
349 #endif 348 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698