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

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

Issue 1952863003: Implemented the "aria-current" state on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed switch statements to handle NONE case. Created 4 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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 STATIC_ASSERT_ENUM(WebAXSortDirectionOther, SortDirectionOther); 333 STATIC_ASSERT_ENUM(WebAXSortDirectionOther, SortDirectionOther);
334 334
335 STATIC_ASSERT_ENUM(WebAXExpandedUndefined, ExpandedUndefined); 335 STATIC_ASSERT_ENUM(WebAXExpandedUndefined, ExpandedUndefined);
336 STATIC_ASSERT_ENUM(WebAXExpandedCollapsed, ExpandedCollapsed); 336 STATIC_ASSERT_ENUM(WebAXExpandedCollapsed, ExpandedCollapsed);
337 STATIC_ASSERT_ENUM(WebAXExpandedExpanded, ExpandedExpanded); 337 STATIC_ASSERT_ENUM(WebAXExpandedExpanded, ExpandedExpanded);
338 338
339 STATIC_ASSERT_ENUM(WebAXOrientationUndefined, AccessibilityOrientationUndefined) ; 339 STATIC_ASSERT_ENUM(WebAXOrientationUndefined, AccessibilityOrientationUndefined) ;
340 STATIC_ASSERT_ENUM(WebAXOrientationVertical, AccessibilityOrientationVertical); 340 STATIC_ASSERT_ENUM(WebAXOrientationVertical, AccessibilityOrientationVertical);
341 STATIC_ASSERT_ENUM(WebAXOrientationHorizontal, AccessibilityOrientationHorizonta l); 341 STATIC_ASSERT_ENUM(WebAXOrientationHorizontal, AccessibilityOrientationHorizonta l);
342 342
343 STATIC_ASSERT_ENUM(WebAXAriaCurrentStateUndefined, AriaCurrentStateUndefined);
344 STATIC_ASSERT_ENUM(WebAXAriaCurrentStateFalse, AriaCurrentStateFalse);
345 STATIC_ASSERT_ENUM(WebAXAriaCurrentStateTrue, AriaCurrentStateTrue);
346 STATIC_ASSERT_ENUM(WebAXAriaCurrentStatePage, AriaCurrentStatePage);
347 STATIC_ASSERT_ENUM(WebAXAriaCurrentStateStep, AriaCurrentStateStep);
348 STATIC_ASSERT_ENUM(WebAXAriaCurrentStateLocation, AriaCurrentStateLocation);
349 STATIC_ASSERT_ENUM(WebAXAriaCurrentStateDate, AriaCurrentStateDate);
350 STATIC_ASSERT_ENUM(WebAXAriaCurrentStateTime, AriaCurrentStateTime);
351
343 STATIC_ASSERT_ENUM(WebAXInvalidStateUndefined, InvalidStateUndefined); 352 STATIC_ASSERT_ENUM(WebAXInvalidStateUndefined, InvalidStateUndefined);
344 STATIC_ASSERT_ENUM(WebAXInvalidStateFalse, InvalidStateFalse); 353 STATIC_ASSERT_ENUM(WebAXInvalidStateFalse, InvalidStateFalse);
345 STATIC_ASSERT_ENUM(WebAXInvalidStateTrue, InvalidStateTrue); 354 STATIC_ASSERT_ENUM(WebAXInvalidStateTrue, InvalidStateTrue);
346 STATIC_ASSERT_ENUM(WebAXInvalidStateSpelling, InvalidStateSpelling); 355 STATIC_ASSERT_ENUM(WebAXInvalidStateSpelling, InvalidStateSpelling);
347 STATIC_ASSERT_ENUM(WebAXInvalidStateGrammar, InvalidStateGrammar); 356 STATIC_ASSERT_ENUM(WebAXInvalidStateGrammar, InvalidStateGrammar);
348 STATIC_ASSERT_ENUM(WebAXInvalidStateOther, InvalidStateOther); 357 STATIC_ASSERT_ENUM(WebAXInvalidStateOther, InvalidStateOther);
349 358
350 STATIC_ASSERT_ENUM(WebAXTextStyleNone, TextStyleNone); 359 STATIC_ASSERT_ENUM(WebAXTextStyleNone, TextStyleNone);
351 STATIC_ASSERT_ENUM(WebAXTextStyleBold, TextStyleBold); 360 STATIC_ASSERT_ENUM(WebAXTextStyleBold, TextStyleBold);
352 STATIC_ASSERT_ENUM(WebAXTextStyleItalic, TextStyleItalic); 361 STATIC_ASSERT_ENUM(WebAXTextStyleItalic, TextStyleItalic);
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 STATIC_ASSERT_ENUM(WebFrameLoadType::ReloadBypassingCache, FrameLoadTypeReloadBy passingCache); 746 STATIC_ASSERT_ENUM(WebFrameLoadType::ReloadBypassingCache, FrameLoadTypeReloadBy passingCache);
738 747
739 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebFrameClient::DetachType::Remove); 748 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebFrameClient::DetachType::Remove);
740 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebFrameClient::DetachType::Swap); 749 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebFrameClient::DetachType::Swap);
741 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebRemoteFrameClient::DetachType::Re move); 750 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebRemoteFrameClient::DetachType::Re move);
742 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachType::Swap ); 751 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachType::Swap );
743 752
744 static_assert(kSerializedScriptValueVersion == SerializedScriptValue::wireFormat Version, ""); 753 static_assert(kSerializedScriptValueVersion == SerializedScriptValue::wireFormat Version, "");
745 754
746 } // namespace blink 755 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/accessibility/AXObject.h ('k') | third_party/WebKit/Source/web/WebAXObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698