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

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

Issue 2518183002: Moved action verbs out of Blink. (Closed)
Patch Set: Added missing braces. Created 4 years 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 | « third_party/WebKit/public/web/WebAXEnums.h ('k') | ui/accessibility/BUILD.gn » ('j') | 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 BLINK_EXPORT WebDocument document() const; 236 BLINK_EXPORT WebDocument document() const;
237 BLINK_EXPORT bool hasComputedStyle() const; 237 BLINK_EXPORT bool hasComputedStyle() const;
238 BLINK_EXPORT WebString computedStyleDisplay() const; 238 BLINK_EXPORT WebString computedStyleDisplay() const;
239 BLINK_EXPORT bool accessibilityIsIgnored() const; 239 BLINK_EXPORT bool accessibilityIsIgnored() const;
240 BLINK_EXPORT bool lineBreaks(WebVector<int>&) const; 240 BLINK_EXPORT bool lineBreaks(WebVector<int>&) const;
241 BLINK_EXPORT void markers(WebVector<WebAXMarkerType>& types, 241 BLINK_EXPORT void markers(WebVector<WebAXMarkerType>& types,
242 WebVector<int>& starts, 242 WebVector<int>& starts,
243 WebVector<int>& ends) const; 243 WebVector<int>& ends) const;
244 244
245 // Actions 245 // Actions
246 BLINK_EXPORT WebString 246 BLINK_EXPORT WebAXSupportedAction action() const;
247 actionVerb() const; // The verb corresponding to performDefaultAction.
248 BLINK_EXPORT bool canDecrement() const; 247 BLINK_EXPORT bool canDecrement() const;
249 BLINK_EXPORT bool canIncrement() const; 248 BLINK_EXPORT bool canIncrement() const;
250 BLINK_EXPORT bool canPress() const; 249 BLINK_EXPORT bool canPress() const;
251 BLINK_EXPORT bool canSetFocusAttribute() const; 250 BLINK_EXPORT bool canSetFocusAttribute() const;
252 BLINK_EXPORT bool canSetSelectedAttribute() const; 251 BLINK_EXPORT bool canSetSelectedAttribute() const;
253 BLINK_EXPORT bool canSetValueAttribute() const; 252 BLINK_EXPORT bool canSetValueAttribute() const;
254 BLINK_EXPORT bool performDefaultAction() const; 253 BLINK_EXPORT bool performDefaultAction() const;
255 BLINK_EXPORT bool press() const; 254 BLINK_EXPORT bool press() const;
256 BLINK_EXPORT bool increment() const; 255 BLINK_EXPORT bool increment() const;
257 BLINK_EXPORT bool decrement() const; 256 BLINK_EXPORT bool decrement() const;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 operator AXObject*() const; 336 operator AXObject*() const;
338 #endif 337 #endif
339 338
340 private: 339 private:
341 WebPrivatePtr<AXObject> m_private; 340 WebPrivatePtr<AXObject> m_private;
342 }; 341 };
343 342
344 } // namespace blink 343 } // namespace blink
345 344
346 #endif 345 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebAXEnums.h ('k') | ui/accessibility/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698