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

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

Issue 2653063002: Add 4 ARIA 1.1 attributes using new sparse attribute interface. (Closed)
Patch Set: Rebase Created 3 years, 10 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 | « third_party/WebKit/Source/web/AssertMatchingEnums.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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 // 353 //
354 354
355 // Sparse attributes of a WebAXObject whose value is either true or 355 // Sparse attributes of a WebAXObject whose value is either true or
356 // false. In order for it to be a sparse attribute the default value 356 // false. In order for it to be a sparse attribute the default value
357 // must be false. 357 // must be false.
358 enum class WebAXBoolAttribute {}; 358 enum class WebAXBoolAttribute {};
359 359
360 // Sparse attributes of a WebAXObject whose value is a string. 360 // Sparse attributes of a WebAXObject whose value is a string.
361 // In order for it to be a sparse attribute the default value 361 // In order for it to be a sparse attribute the default value
362 // must be "". 362 // must be "".
363 enum class WebAXStringAttribute {}; 363 enum class WebAXStringAttribute {
364 AriaKeyShortcuts,
365 AriaRoleDescription,
366 };
364 367
365 // Sparse attributes of a WebAXObject whose value is a reference to 368 // Sparse attributes of a WebAXObject whose value is a reference to
366 // another WebAXObject within the same frame. In order for it to be a 369 // another WebAXObject within the same frame. In order for it to be a
367 // sparse attribute the default value must be the null WebAXObject. 370 // sparse attribute the default value must be the null WebAXObject.
368 enum class WebAXObjectAttribute { 371 enum class WebAXObjectAttribute {
369 AriaActiveDescendant, 372 AriaActiveDescendant,
373 AriaErrorMessage,
370 }; 374 };
371 375
372 // Sparse attributes of a WebAXObject whose value is a vector of 376 // Sparse attributes of a WebAXObject whose value is a vector of
373 // references to other WebAXObjects within the same frame. In order 377 // references to other WebAXObjects within the same frame. In order
374 // for it to be a sparse attribute the default value must be the 378 // for it to be a sparse attribute the default value must be the
375 // empty vector. 379 // empty vector.
376 enum class WebAXObjectVectorAttribute { 380 enum class WebAXObjectVectorAttribute {
377 AriaControls, 381 AriaControls,
382 AriaDetails,
378 AriaFlowTo, 383 AriaFlowTo,
379 }; 384 };
380 385
381 } // namespace blink 386 } // namespace blink
382 387
383 #endif 388 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/AssertMatchingEnums.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698