| OLD | NEW |
| 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 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 STATIC_ASSERT_ENUM(kWebAXMarkerTypeTextMatch, DocumentMarker::kTextMatch); | 397 STATIC_ASSERT_ENUM(kWebAXMarkerTypeTextMatch, DocumentMarker::kTextMatch); |
| 398 | 398 |
| 399 STATIC_ASSERT_ENUM(kWebAXTextStyleNone, kTextStyleNone); | 399 STATIC_ASSERT_ENUM(kWebAXTextStyleNone, kTextStyleNone); |
| 400 STATIC_ASSERT_ENUM(kWebAXTextStyleBold, kTextStyleBold); | 400 STATIC_ASSERT_ENUM(kWebAXTextStyleBold, kTextStyleBold); |
| 401 STATIC_ASSERT_ENUM(kWebAXTextStyleItalic, kTextStyleItalic); | 401 STATIC_ASSERT_ENUM(kWebAXTextStyleItalic, kTextStyleItalic); |
| 402 STATIC_ASSERT_ENUM(kWebAXTextStyleUnderline, kTextStyleUnderline); | 402 STATIC_ASSERT_ENUM(kWebAXTextStyleUnderline, kTextStyleUnderline); |
| 403 STATIC_ASSERT_ENUM(kWebAXTextStyleLineThrough, kTextStyleLineThrough); | 403 STATIC_ASSERT_ENUM(kWebAXTextStyleLineThrough, kTextStyleLineThrough); |
| 404 | 404 |
| 405 STATIC_ASSERT_ENUM(kWebAXNameFromUninitialized, kAXNameFromUninitialized); | 405 STATIC_ASSERT_ENUM(kWebAXNameFromUninitialized, kAXNameFromUninitialized); |
| 406 STATIC_ASSERT_ENUM(kWebAXNameFromAttribute, kAXNameFromAttribute); | 406 STATIC_ASSERT_ENUM(kWebAXNameFromAttribute, kAXNameFromAttribute); |
| 407 STATIC_ASSERT_ENUM(kWebAXNameFromAttributeExplicitlyEmpty, |
| 408 kAXNameFromAttributeExplicitlyEmpty); |
| 407 STATIC_ASSERT_ENUM(kWebAXNameFromCaption, kAXNameFromCaption); | 409 STATIC_ASSERT_ENUM(kWebAXNameFromCaption, kAXNameFromCaption); |
| 408 STATIC_ASSERT_ENUM(kWebAXNameFromContents, kAXNameFromContents); | 410 STATIC_ASSERT_ENUM(kWebAXNameFromContents, kAXNameFromContents); |
| 409 STATIC_ASSERT_ENUM(kWebAXNameFromPlaceholder, kAXNameFromPlaceholder); | 411 STATIC_ASSERT_ENUM(kWebAXNameFromPlaceholder, kAXNameFromPlaceholder); |
| 410 STATIC_ASSERT_ENUM(kWebAXNameFromRelatedElement, kAXNameFromRelatedElement); | 412 STATIC_ASSERT_ENUM(kWebAXNameFromRelatedElement, kAXNameFromRelatedElement); |
| 411 STATIC_ASSERT_ENUM(kWebAXNameFromValue, kAXNameFromValue); | 413 STATIC_ASSERT_ENUM(kWebAXNameFromValue, kAXNameFromValue); |
| 412 STATIC_ASSERT_ENUM(kWebAXNameFromTitle, kAXNameFromTitle); | 414 STATIC_ASSERT_ENUM(kWebAXNameFromTitle, kAXNameFromTitle); |
| 413 | 415 |
| 414 STATIC_ASSERT_ENUM(kWebAXDescriptionFromUninitialized, | 416 STATIC_ASSERT_ENUM(kWebAXDescriptionFromUninitialized, |
| 415 kAXDescriptionFromUninitialized); | 417 kAXDescriptionFromUninitialized); |
| 416 STATIC_ASSERT_ENUM(kWebAXDescriptionFromAttribute, kAXDescriptionFromAttribute); | 418 STATIC_ASSERT_ENUM(kWebAXDescriptionFromAttribute, kAXDescriptionFromAttribute); |
| (...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 887 | 889 |
| 888 // This ensures that the version number published in | 890 // This ensures that the version number published in |
| 889 // WebSerializedScriptValueVersion.h matches the serializer's understanding. | 891 // WebSerializedScriptValueVersion.h matches the serializer's understanding. |
| 890 // TODO(jbroman): Fix this to also account for the V8-side version. See | 892 // TODO(jbroman): Fix this to also account for the V8-side version. See |
| 891 // https://crbug.com/704293. | 893 // https://crbug.com/704293. |
| 892 static_assert(kSerializedScriptValueVersion == | 894 static_assert(kSerializedScriptValueVersion == |
| 893 SerializedScriptValue::kWireFormatVersion, | 895 SerializedScriptValue::kWireFormatVersion, |
| 894 "Update WebSerializedScriptValueVersion.h."); | 896 "Update WebSerializedScriptValueVersion.h."); |
| 895 | 897 |
| 896 } // namespace blink | 898 } // namespace blink |
| OLD | NEW |