| 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 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 591 STATIC_ASSERT_ENUM(WebTextCheckingTypeSpelling, TextCheckingTypeSpelling); | 591 STATIC_ASSERT_ENUM(WebTextCheckingTypeSpelling, TextCheckingTypeSpelling); |
| 592 STATIC_ASSERT_ENUM(WebTextCheckingTypeGrammar, TextCheckingTypeGrammar); | 592 STATIC_ASSERT_ENUM(WebTextCheckingTypeGrammar, TextCheckingTypeGrammar); |
| 593 | 593 |
| 594 // TODO(rouslan): Remove these comparisons between text-checking and text-decora
tion enum values after removing the | 594 // TODO(rouslan): Remove these comparisons between text-checking and text-decora
tion enum values after removing the |
| 595 // deprecated constructor WebTextCheckingResult(WebTextCheckingType). | 595 // deprecated constructor WebTextCheckingResult(WebTextCheckingType). |
| 596 STATIC_ASSERT_ENUM(WebTextCheckingTypeSpelling, TextDecorationTypeSpelling); | 596 STATIC_ASSERT_ENUM(WebTextCheckingTypeSpelling, TextDecorationTypeSpelling); |
| 597 STATIC_ASSERT_ENUM(WebTextCheckingTypeGrammar, TextDecorationTypeGrammar); | 597 STATIC_ASSERT_ENUM(WebTextCheckingTypeGrammar, TextDecorationTypeGrammar); |
| 598 | 598 |
| 599 STATIC_ASSERT_ENUM(WebTextDecorationTypeSpelling, TextDecorationTypeSpelling); | 599 STATIC_ASSERT_ENUM(WebTextDecorationTypeSpelling, TextDecorationTypeSpelling); |
| 600 STATIC_ASSERT_ENUM(WebTextDecorationTypeGrammar, TextDecorationTypeGrammar); | 600 STATIC_ASSERT_ENUM(WebTextDecorationTypeGrammar, TextDecorationTypeGrammar); |
| 601 STATIC_ASSERT_ENUM(WebTextDecorationTypeInvisibleSpellcheck, TextDecorationTypeI
nvisibleSpellcheck); | |
| 602 | 601 |
| 603 STATIC_ASSERT_ENUM(WebStorageQuotaErrorNotSupported, NotSupportedError); | 602 STATIC_ASSERT_ENUM(WebStorageQuotaErrorNotSupported, NotSupportedError); |
| 604 STATIC_ASSERT_ENUM(WebStorageQuotaErrorInvalidModification, InvalidModificationE
rror); | 603 STATIC_ASSERT_ENUM(WebStorageQuotaErrorInvalidModification, InvalidModificationE
rror); |
| 605 STATIC_ASSERT_ENUM(WebStorageQuotaErrorInvalidAccess, InvalidAccessError); | 604 STATIC_ASSERT_ENUM(WebStorageQuotaErrorInvalidAccess, InvalidAccessError); |
| 606 STATIC_ASSERT_ENUM(WebStorageQuotaErrorAbort, AbortError); | 605 STATIC_ASSERT_ENUM(WebStorageQuotaErrorAbort, AbortError); |
| 607 | 606 |
| 608 STATIC_ASSERT_ENUM(WebStorageQuotaTypeTemporary, DeprecatedStorageQuota::Tempora
ry); | 607 STATIC_ASSERT_ENUM(WebStorageQuotaTypeTemporary, DeprecatedStorageQuota::Tempora
ry); |
| 609 STATIC_ASSERT_ENUM(WebStorageQuotaTypePersistent, DeprecatedStorageQuota::Persis
tent); | 608 STATIC_ASSERT_ENUM(WebStorageQuotaTypePersistent, DeprecatedStorageQuota::Persis
tent); |
| 610 | 609 |
| 611 STATIC_ASSERT_ENUM(WebPageVisibilityStateVisible, PageVisibilityStateVisible); | 610 STATIC_ASSERT_ENUM(WebPageVisibilityStateVisible, PageVisibilityStateVisible); |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 757 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachType::Swap
); | 756 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachType::Swap
); |
| 758 | 757 |
| 759 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::LoadEvent, ProgressBarCom
pletion::LoadEvent); | 758 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::LoadEvent, ProgressBarCom
pletion::LoadEvent); |
| 760 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::ResourcesBeforeDCL, Progr
essBarCompletion::ResourcesBeforeDCL); | 759 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::ResourcesBeforeDCL, Progr
essBarCompletion::ResourcesBeforeDCL); |
| 761 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::DOMContentLoaded, Progres
sBarCompletion::DOMContentLoaded); | 760 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::DOMContentLoaded, Progres
sBarCompletion::DOMContentLoaded); |
| 762 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::ResourcesBeforeDCLAndSame
OriginIFrames, ProgressBarCompletion::ResourcesBeforeDCLAndSameOriginIFrames); | 761 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::ResourcesBeforeDCLAndSame
OriginIFrames, ProgressBarCompletion::ResourcesBeforeDCLAndSameOriginIFrames); |
| 763 | 762 |
| 764 static_assert(kSerializedScriptValueVersion == SerializedScriptValue::wireFormat
Version, ""); | 763 static_assert(kSerializedScriptValueVersion == SerializedScriptValue::wireFormat
Version, ""); |
| 765 | 764 |
| 766 } // namespace blink | 765 } // namespace blink |
| OLD | NEW |