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

Side by Side Diff: third_party/WebKit/Source/web/AssertMatchingEnums.cpp

Issue 2863703003: A11y: Rename AXSupportedAction to AXDefaultActionVerb. (Closed)
Patch Set: Rebase. Created 3 years, 7 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 STATIC_ASSERT_ENUM(kWebAXStateOffscreen, kAXOffscreenState); 336 STATIC_ASSERT_ENUM(kWebAXStateOffscreen, kAXOffscreenState);
337 STATIC_ASSERT_ENUM(kWebAXStatePressed, kAXPressedState); 337 STATIC_ASSERT_ENUM(kWebAXStatePressed, kAXPressedState);
338 STATIC_ASSERT_ENUM(kWebAXStateProtected, kAXProtectedState); 338 STATIC_ASSERT_ENUM(kWebAXStateProtected, kAXProtectedState);
339 STATIC_ASSERT_ENUM(kWebAXStateReadonly, kAXReadonlyState); 339 STATIC_ASSERT_ENUM(kWebAXStateReadonly, kAXReadonlyState);
340 STATIC_ASSERT_ENUM(kWebAXStateRequired, kAXRequiredState); 340 STATIC_ASSERT_ENUM(kWebAXStateRequired, kAXRequiredState);
341 STATIC_ASSERT_ENUM(kWebAXStateSelectable, kAXSelectableState); 341 STATIC_ASSERT_ENUM(kWebAXStateSelectable, kAXSelectableState);
342 STATIC_ASSERT_ENUM(kWebAXStateSelected, kAXSelectedState); 342 STATIC_ASSERT_ENUM(kWebAXStateSelected, kAXSelectedState);
343 STATIC_ASSERT_ENUM(kWebAXStateVertical, kAXVerticalState); 343 STATIC_ASSERT_ENUM(kWebAXStateVertical, kAXVerticalState);
344 STATIC_ASSERT_ENUM(kWebAXStateVisited, kAXVisitedState); 344 STATIC_ASSERT_ENUM(kWebAXStateVisited, kAXVisitedState);
345 345
346 STATIC_ASSERT_ENUM(WebAXSupportedAction::kNone, AXSupportedAction::kNone); 346 STATIC_ASSERT_ENUM(WebAXDefaultActionVerb::kNone, AXDefaultActionVerb::kNone);
347 STATIC_ASSERT_ENUM(WebAXSupportedAction::kActivate, 347 STATIC_ASSERT_ENUM(WebAXDefaultActionVerb::kActivate,
348 AXSupportedAction::kActivate); 348 AXDefaultActionVerb::kActivate);
349 STATIC_ASSERT_ENUM(WebAXSupportedAction::kCheck, AXSupportedAction::kCheck); 349 STATIC_ASSERT_ENUM(WebAXDefaultActionVerb::kCheck, AXDefaultActionVerb::kCheck);
350 STATIC_ASSERT_ENUM(WebAXSupportedAction::kClick, AXSupportedAction::kClick); 350 STATIC_ASSERT_ENUM(WebAXDefaultActionVerb::kClick, AXDefaultActionVerb::kClick);
351 STATIC_ASSERT_ENUM(WebAXSupportedAction::kJump, AXSupportedAction::kJump); 351 STATIC_ASSERT_ENUM(WebAXDefaultActionVerb::kJump, AXDefaultActionVerb::kJump);
352 STATIC_ASSERT_ENUM(WebAXSupportedAction::kOpen, AXSupportedAction::kOpen); 352 STATIC_ASSERT_ENUM(WebAXDefaultActionVerb::kOpen, AXDefaultActionVerb::kOpen);
353 STATIC_ASSERT_ENUM(WebAXSupportedAction::kPress, AXSupportedAction::kPress); 353 STATIC_ASSERT_ENUM(WebAXDefaultActionVerb::kPress, AXDefaultActionVerb::kPress);
354 STATIC_ASSERT_ENUM(WebAXSupportedAction::kSelect, AXSupportedAction::kSelect); 354 STATIC_ASSERT_ENUM(WebAXDefaultActionVerb::kSelect,
355 STATIC_ASSERT_ENUM(WebAXSupportedAction::kUncheck, AXSupportedAction::kUncheck); 355 AXDefaultActionVerb::kSelect);
356 STATIC_ASSERT_ENUM(WebAXDefaultActionVerb::kUncheck,
357 AXDefaultActionVerb::kUncheck);
356 358
357 STATIC_ASSERT_ENUM(kWebAXTextDirectionLR, kAccessibilityTextDirectionLTR); 359 STATIC_ASSERT_ENUM(kWebAXTextDirectionLR, kAccessibilityTextDirectionLTR);
358 STATIC_ASSERT_ENUM(kWebAXTextDirectionRL, kAccessibilityTextDirectionRTL); 360 STATIC_ASSERT_ENUM(kWebAXTextDirectionRL, kAccessibilityTextDirectionRTL);
359 STATIC_ASSERT_ENUM(kWebAXTextDirectionTB, kAccessibilityTextDirectionTTB); 361 STATIC_ASSERT_ENUM(kWebAXTextDirectionTB, kAccessibilityTextDirectionTTB);
360 STATIC_ASSERT_ENUM(kWebAXTextDirectionBT, kAccessibilityTextDirectionBTT); 362 STATIC_ASSERT_ENUM(kWebAXTextDirectionBT, kAccessibilityTextDirectionBTT);
361 363
362 STATIC_ASSERT_ENUM(kWebAXSortDirectionUndefined, kSortDirectionUndefined); 364 STATIC_ASSERT_ENUM(kWebAXSortDirectionUndefined, kSortDirectionUndefined);
363 STATIC_ASSERT_ENUM(kWebAXSortDirectionNone, kSortDirectionNone); 365 STATIC_ASSERT_ENUM(kWebAXSortDirectionNone, kSortDirectionNone);
364 STATIC_ASSERT_ENUM(kWebAXSortDirectionAscending, kSortDirectionAscending); 366 STATIC_ASSERT_ENUM(kWebAXSortDirectionAscending, kSortDirectionAscending);
365 STATIC_ASSERT_ENUM(kWebAXSortDirectionDescending, kSortDirectionDescending); 367 STATIC_ASSERT_ENUM(kWebAXSortDirectionDescending, kSortDirectionDescending);
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 886
885 // This ensures that the version number published in 887 // This ensures that the version number published in
886 // WebSerializedScriptValueVersion.h matches the serializer's understanding. 888 // WebSerializedScriptValueVersion.h matches the serializer's understanding.
887 // TODO(jbroman): Fix this to also account for the V8-side version. See 889 // TODO(jbroman): Fix this to also account for the V8-side version. See
888 // https://crbug.com/704293. 890 // https://crbug.com/704293.
889 static_assert(kSerializedScriptValueVersion == 891 static_assert(kSerializedScriptValueVersion ==
890 SerializedScriptValue::kWireFormatVersion, 892 SerializedScriptValue::kWireFormatVersion,
891 "Update WebSerializedScriptValueVersion.h."); 893 "Update WebSerializedScriptValueVersion.h.");
892 894
893 } // namespace blink 895 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/accessibility/AXObjectImpl.cpp ('k') | third_party/WebKit/Source/web/WebAXObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698