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 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
482 COMPILE_ASSERT_MATCHING_ENUM(WebView::UserStyleInjectInExistingDocuments, Inject InExistingDocuments); | 482 COMPILE_ASSERT_MATCHING_ENUM(WebView::UserStyleInjectInExistingDocuments, Inject InExistingDocuments); |
483 COMPILE_ASSERT_MATCHING_ENUM(WebView::UserStyleInjectInSubsequentDocuments, Inje ctInSubsequentDocuments); | 483 COMPILE_ASSERT_MATCHING_ENUM(WebView::UserStyleInjectInSubsequentDocuments, Inje ctInSubsequentDocuments); |
484 | 484 |
485 COMPILE_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionUnknownError, UnknownError); | 485 COMPILE_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionUnknownError, UnknownError); |
486 COMPILE_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionConstraintError, ConstraintE rror); | 486 COMPILE_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionConstraintError, ConstraintE rror); |
487 COMPILE_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionDataError, DataError); | 487 COMPILE_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionDataError, DataError); |
488 COMPILE_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionVersionError, VersionError); | 488 COMPILE_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionVersionError, VersionError); |
489 COMPILE_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionAbortError, AbortError); | 489 COMPILE_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionAbortError, AbortError); |
490 COMPILE_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionQuotaError, QuotaExceededErr or); | 490 COMPILE_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionQuotaError, QuotaExceededErr or); |
491 | 491 |
492 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyTypeInvalid, IDBKey::InvalidType); | |
493 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyTypeArray, IDBKey::ArrayType); | |
494 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyTypeString, IDBKey::StringType); | |
495 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyTypeDate, IDBKey::DateType); | |
496 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyTypeNumber, IDBKey::NumberType); | |
497 // COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyTypeMin, IDBKey::MinType); | |
498 | |
492 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKey::InvalidType, IDBKey::InvalidType); | 499 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKey::InvalidType, IDBKey::InvalidType); |
493 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKey::ArrayType, IDBKey::ArrayType); | 500 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKey::ArrayType, IDBKey::ArrayType); |
494 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKey::StringType, IDBKey::StringType); | 501 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKey::StringType, IDBKey::StringType); |
495 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKey::DateType, IDBKey::DateType); | 502 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKey::DateType, IDBKey::DateType); |
496 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKey::NumberType, IDBKey::NumberType); | 503 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKey::NumberType, IDBKey::NumberType); |
497 // MinType is specific to the backing store, and is not plumbed through the Plat form API, so this match is not required, and thus is purposefully absent. | 504 // MinType is specific to the backing store, and is not plumbed through the Plat form API, so this match is not required, and thus is purposefully absent. |
jamesr
2013/07/16 00:57:20
this comment doesn't make sense to me. MinType is
| |
498 // COMPILE_ASSERT_MATCHING_ENUM(WebIDBKey::MinType, IDBKey::MinType); | 505 // COMPILE_ASSERT_MATCHING_ENUM(WebIDBKey::MinType, IDBKey::MinType); |
499 | 506 |
500 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyPath::NullType, IDBKeyPath::NullType); | 507 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyPath::NullType, IDBKeyPath::NullType); |
501 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyPath::StringType, IDBKeyPath::StringType); | 508 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyPath::StringType, IDBKeyPath::StringType); |
502 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyPath::ArrayType, IDBKeyPath::ArrayType); | 509 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyPath::ArrayType, IDBKeyPath::ArrayType); |
503 | 510 |
504 COMPILE_ASSERT_MATCHING_ENUM(WebIDBMetadata::NoIntVersion, IDBDatabaseMetadata:: NoIntVersion); | 511 COMPILE_ASSERT_MATCHING_ENUM(WebIDBMetadata::NoIntVersion, IDBDatabaseMetadata:: NoIntVersion); |
505 | 512 |
506 COMPILE_ASSERT_MATCHING_ENUM(WebIDBCursor::Next, IndexedDB::CursorNext); | 513 COMPILE_ASSERT_MATCHING_ENUM(WebIDBCursor::Next, IndexedDB::CursorNext); |
507 COMPILE_ASSERT_MATCHING_ENUM(WebIDBCursor::NextNoDuplicate, IndexedDB::CursorNex tNoDuplicate); | 514 COMPILE_ASSERT_MATCHING_ENUM(WebIDBCursor::NextNoDuplicate, IndexedDB::CursorNex tNoDuplicate); |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
662 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonPerspective, CompositingReasonPe rspective); | 669 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonPerspective, CompositingReasonPe rspective); |
663 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonPreserve3D, CompositingReasonPre serve3D); | 670 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonPreserve3D, CompositingReasonPre serve3D); |
664 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonReflectionOfCompositedParent, Co mpositingReasonReflectionOfCompositedParent); | 671 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonReflectionOfCompositedParent, Co mpositingReasonReflectionOfCompositedParent); |
665 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonRoot, CompositingReasonRoot); | 672 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonRoot, CompositingReasonRoot); |
666 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForClip, CompositingReasonL ayerForClip); | 673 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForClip, CompositingReasonL ayerForClip); |
667 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForScrollbar, CompositingRe asonLayerForScrollbar); | 674 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForScrollbar, CompositingRe asonLayerForScrollbar); |
668 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForScrollingContainer, Comp ositingReasonLayerForScrollingContainer); | 675 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForScrollingContainer, Comp ositingReasonLayerForScrollingContainer); |
669 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForForeground, CompositingR easonLayerForForeground); | 676 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForForeground, CompositingR easonLayerForForeground); |
670 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForBackground, CompositingR easonLayerForBackground); | 677 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForBackground, CompositingR easonLayerForBackground); |
671 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForMask, CompositingReasonL ayerForMask); | 678 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForMask, CompositingReasonL ayerForMask); |
OLD | NEW |