| 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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 STATIC_ASSERT_ENUM(kWebAXInvalidStateUndefined, kInvalidStateUndefined); | 388 STATIC_ASSERT_ENUM(kWebAXInvalidStateUndefined, kInvalidStateUndefined); |
| 389 STATIC_ASSERT_ENUM(kWebAXInvalidStateFalse, kInvalidStateFalse); | 389 STATIC_ASSERT_ENUM(kWebAXInvalidStateFalse, kInvalidStateFalse); |
| 390 STATIC_ASSERT_ENUM(kWebAXInvalidStateTrue, kInvalidStateTrue); | 390 STATIC_ASSERT_ENUM(kWebAXInvalidStateTrue, kInvalidStateTrue); |
| 391 STATIC_ASSERT_ENUM(kWebAXInvalidStateSpelling, kInvalidStateSpelling); | 391 STATIC_ASSERT_ENUM(kWebAXInvalidStateSpelling, kInvalidStateSpelling); |
| 392 STATIC_ASSERT_ENUM(kWebAXInvalidStateGrammar, kInvalidStateGrammar); | 392 STATIC_ASSERT_ENUM(kWebAXInvalidStateGrammar, kInvalidStateGrammar); |
| 393 STATIC_ASSERT_ENUM(kWebAXInvalidStateOther, kInvalidStateOther); | 393 STATIC_ASSERT_ENUM(kWebAXInvalidStateOther, kInvalidStateOther); |
| 394 | 394 |
| 395 STATIC_ASSERT_ENUM(kWebAXMarkerTypeSpelling, DocumentMarker::kSpelling); | 395 STATIC_ASSERT_ENUM(kWebAXMarkerTypeSpelling, DocumentMarker::kSpelling); |
| 396 STATIC_ASSERT_ENUM(kWebAXMarkerTypeGrammar, DocumentMarker::kGrammar); | 396 STATIC_ASSERT_ENUM(kWebAXMarkerTypeGrammar, DocumentMarker::kGrammar); |
| 397 STATIC_ASSERT_ENUM(kWebAXMarkerTypeTextMatch, DocumentMarker::kTextMatch); | 397 STATIC_ASSERT_ENUM(kWebAXMarkerTypeTextMatch, DocumentMarker::kTextMatch); |
| 398 STATIC_ASSERT_ENUM(kWebAXMarkerTypeActiveSuggestion, |
| 399 DocumentMarker::kActiveSuggestion); |
| 398 | 400 |
| 399 STATIC_ASSERT_ENUM(kWebAXTextStyleNone, kTextStyleNone); | 401 STATIC_ASSERT_ENUM(kWebAXTextStyleNone, kTextStyleNone); |
| 400 STATIC_ASSERT_ENUM(kWebAXTextStyleBold, kTextStyleBold); | 402 STATIC_ASSERT_ENUM(kWebAXTextStyleBold, kTextStyleBold); |
| 401 STATIC_ASSERT_ENUM(kWebAXTextStyleItalic, kTextStyleItalic); | 403 STATIC_ASSERT_ENUM(kWebAXTextStyleItalic, kTextStyleItalic); |
| 402 STATIC_ASSERT_ENUM(kWebAXTextStyleUnderline, kTextStyleUnderline); | 404 STATIC_ASSERT_ENUM(kWebAXTextStyleUnderline, kTextStyleUnderline); |
| 403 STATIC_ASSERT_ENUM(kWebAXTextStyleLineThrough, kTextStyleLineThrough); | 405 STATIC_ASSERT_ENUM(kWebAXTextStyleLineThrough, kTextStyleLineThrough); |
| 404 | 406 |
| 405 STATIC_ASSERT_ENUM(kWebAXNameFromUninitialized, kAXNameFromUninitialized); | 407 STATIC_ASSERT_ENUM(kWebAXNameFromUninitialized, kAXNameFromUninitialized); |
| 406 STATIC_ASSERT_ENUM(kWebAXNameFromAttribute, kAXNameFromAttribute); | 408 STATIC_ASSERT_ENUM(kWebAXNameFromAttribute, kAXNameFromAttribute); |
| 407 STATIC_ASSERT_ENUM(kWebAXNameFromAttributeExplicitlyEmpty, | 409 STATIC_ASSERT_ENUM(kWebAXNameFromAttributeExplicitlyEmpty, |
| (...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 886 | 888 |
| 887 // This ensures that the version number published in | 889 // This ensures that the version number published in |
| 888 // WebSerializedScriptValueVersion.h matches the serializer's understanding. | 890 // WebSerializedScriptValueVersion.h matches the serializer's understanding. |
| 889 // TODO(jbroman): Fix this to also account for the V8-side version. See | 891 // TODO(jbroman): Fix this to also account for the V8-side version. See |
| 890 // https://crbug.com/704293. | 892 // https://crbug.com/704293. |
| 891 static_assert(kSerializedScriptValueVersion == | 893 static_assert(kSerializedScriptValueVersion == |
| 892 SerializedScriptValue::kWireFormatVersion, | 894 SerializedScriptValue::kWireFormatVersion, |
| 893 "Update WebSerializedScriptValueVersion.h."); | 895 "Update WebSerializedScriptValueVersion.h."); |
| 894 | 896 |
| 895 } // namespace blink | 897 } // namespace blink |
| OLD | NEW |