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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 #include "core/html/HTMLMediaElement.h" | 49 #include "core/html/HTMLMediaElement.h" |
50 #include "core/html/shadow/TextControlInnerElements.h" | 50 #include "core/html/shadow/TextControlInnerElements.h" |
51 #include "core/layout/compositing/CompositedSelectionBound.h" | 51 #include "core/layout/compositing/CompositedSelectionBound.h" |
52 #include "core/loader/FrameLoaderClient.h" | 52 #include "core/loader/FrameLoaderClient.h" |
53 #include "core/loader/FrameLoaderTypes.h" | 53 #include "core/loader/FrameLoaderTypes.h" |
54 #include "core/loader/NavigationPolicy.h" | 54 #include "core/loader/NavigationPolicy.h" |
55 #include "core/loader/appcache/ApplicationCacheHost.h" | 55 #include "core/loader/appcache/ApplicationCacheHost.h" |
56 #include "core/page/PageVisibilityState.h" | 56 #include "core/page/PageVisibilityState.h" |
57 #include "core/style/ComputedStyleConstants.h" | 57 #include "core/style/ComputedStyleConstants.h" |
58 #include "modules/accessibility/AXObject.h" | 58 #include "modules/accessibility/AXObject.h" |
59 #include "modules/geolocation/GeolocationError.h" | |
60 #include "modules/geolocation/GeolocationPosition.h" | |
61 #include "modules/indexeddb/IDBKey.h" | 59 #include "modules/indexeddb/IDBKey.h" |
62 #include "modules/indexeddb/IDBKeyPath.h" | 60 #include "modules/indexeddb/IDBKeyPath.h" |
63 #include "modules/indexeddb/IDBMetadata.h" | 61 #include "modules/indexeddb/IDBMetadata.h" |
64 #include "modules/indexeddb/IndexedDB.h" | 62 #include "modules/indexeddb/IndexedDB.h" |
65 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h" | 63 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h" |
66 #include "modules/quota/DeprecatedStorageQuota.h" | 64 #include "modules/quota/DeprecatedStorageQuota.h" |
67 #include "modules/speech/SpeechRecognitionError.h" | 65 #include "modules/speech/SpeechRecognitionError.h" |
68 #include "platform/Cursor.h" | 66 #include "platform/Cursor.h" |
69 #include "platform/FileMetadata.h" | 67 #include "platform/FileMetadata.h" |
70 #include "platform/FileSystemType.h" | 68 #include "platform/FileSystemType.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 #include "public/platform/modules/indexeddb/WebIDBMetadata.h" | 108 #include "public/platform/modules/indexeddb/WebIDBMetadata.h" |
111 #include "public/platform/modules/indexeddb/WebIDBTypes.h" | 109 #include "public/platform/modules/indexeddb/WebIDBTypes.h" |
112 #include "public/web/WebAXEnums.h" | 110 #include "public/web/WebAXEnums.h" |
113 #include "public/web/WebAXObject.h" | 111 #include "public/web/WebAXObject.h" |
114 #include "public/web/WebConsoleMessage.h" | 112 #include "public/web/WebConsoleMessage.h" |
115 #include "public/web/WebContentSecurityPolicy.h" | 113 #include "public/web/WebContentSecurityPolicy.h" |
116 #include "public/web/WebFontDescription.h" | 114 #include "public/web/WebFontDescription.h" |
117 #include "public/web/WebFormElement.h" | 115 #include "public/web/WebFormElement.h" |
118 #include "public/web/WebFrameClient.h" | 116 #include "public/web/WebFrameClient.h" |
119 #include "public/web/WebFrameLoadType.h" | 117 #include "public/web/WebFrameLoadType.h" |
120 #include "public/web/WebGeolocationError.h" | |
121 #include "public/web/WebGeolocationPosition.h" | |
122 #include "public/web/WebHistoryCommitType.h" | 118 #include "public/web/WebHistoryCommitType.h" |
123 #include "public/web/WebHistoryItem.h" | 119 #include "public/web/WebHistoryItem.h" |
124 #include "public/web/WebIconURL.h" | 120 #include "public/web/WebIconURL.h" |
125 #include "public/web/WebInputElement.h" | 121 #include "public/web/WebInputElement.h" |
126 #include "public/web/WebInputEvent.h" | 122 #include "public/web/WebInputEvent.h" |
127 #include "public/web/WebNavigationPolicy.h" | 123 #include "public/web/WebNavigationPolicy.h" |
128 #include "public/web/WebNavigatorContentUtilsClient.h" | 124 #include "public/web/WebNavigatorContentUtilsClient.h" |
129 #include "public/web/WebRemoteFrameClient.h" | 125 #include "public/web/WebRemoteFrameClient.h" |
130 #include "public/web/WebSandboxFlags.h" | 126 #include "public/web/WebSandboxFlags.h" |
131 #include "public/web/WebSecurityPolicy.h" | 127 #include "public/web/WebSecurityPolicy.h" |
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
537 STATIC_ASSERT_MATCHING_ENUM(WebFileErrorNotReadable, FileError::NOT_READABLE_ERR
); | 533 STATIC_ASSERT_MATCHING_ENUM(WebFileErrorNotReadable, FileError::NOT_READABLE_ERR
); |
538 STATIC_ASSERT_MATCHING_ENUM(WebFileErrorEncoding, FileError::ENCODING_ERR); | 534 STATIC_ASSERT_MATCHING_ENUM(WebFileErrorEncoding, FileError::ENCODING_ERR); |
539 STATIC_ASSERT_MATCHING_ENUM(WebFileErrorNoModificationAllowed, FileError::NO_MOD
IFICATION_ALLOWED_ERR); | 535 STATIC_ASSERT_MATCHING_ENUM(WebFileErrorNoModificationAllowed, FileError::NO_MOD
IFICATION_ALLOWED_ERR); |
540 STATIC_ASSERT_MATCHING_ENUM(WebFileErrorInvalidState, FileError::INVALID_STATE_E
RR); | 536 STATIC_ASSERT_MATCHING_ENUM(WebFileErrorInvalidState, FileError::INVALID_STATE_E
RR); |
541 STATIC_ASSERT_MATCHING_ENUM(WebFileErrorSyntax, FileError::SYNTAX_ERR); | 537 STATIC_ASSERT_MATCHING_ENUM(WebFileErrorSyntax, FileError::SYNTAX_ERR); |
542 STATIC_ASSERT_MATCHING_ENUM(WebFileErrorInvalidModification, FileError::INVALID_
MODIFICATION_ERR); | 538 STATIC_ASSERT_MATCHING_ENUM(WebFileErrorInvalidModification, FileError::INVALID_
MODIFICATION_ERR); |
543 STATIC_ASSERT_MATCHING_ENUM(WebFileErrorQuotaExceeded, FileError::QUOTA_EXCEEDED
_ERR); | 539 STATIC_ASSERT_MATCHING_ENUM(WebFileErrorQuotaExceeded, FileError::QUOTA_EXCEEDED
_ERR); |
544 STATIC_ASSERT_MATCHING_ENUM(WebFileErrorTypeMismatch, FileError::TYPE_MISMATCH_E
RR); | 540 STATIC_ASSERT_MATCHING_ENUM(WebFileErrorTypeMismatch, FileError::TYPE_MISMATCH_E
RR); |
545 STATIC_ASSERT_MATCHING_ENUM(WebFileErrorPathExists, FileError::PATH_EXISTS_ERR); | 541 STATIC_ASSERT_MATCHING_ENUM(WebFileErrorPathExists, FileError::PATH_EXISTS_ERR); |
546 | 542 |
547 STATIC_ASSERT_MATCHING_ENUM(WebGeolocationError::ErrorPermissionDenied, Geolocat
ionError::PermissionDenied); | |
548 STATIC_ASSERT_MATCHING_ENUM(WebGeolocationError::ErrorPositionUnavailable, Geolo
cationError::PositionUnavailable); | |
549 | |
550 STATIC_ASSERT_MATCHING_ENUM(WebTextCheckingTypeSpelling, TextCheckingTypeSpellin
g); | 543 STATIC_ASSERT_MATCHING_ENUM(WebTextCheckingTypeSpelling, TextCheckingTypeSpellin
g); |
551 STATIC_ASSERT_MATCHING_ENUM(WebTextCheckingTypeGrammar, TextCheckingTypeGrammar)
; | 544 STATIC_ASSERT_MATCHING_ENUM(WebTextCheckingTypeGrammar, TextCheckingTypeGrammar)
; |
552 | 545 |
553 // TODO(rouslan): Remove these comparisons between text-checking and text-decora
tion enum values after removing the | 546 // TODO(rouslan): Remove these comparisons between text-checking and text-decora
tion enum values after removing the |
554 // deprecated constructor WebTextCheckingResult(WebTextCheckingType). | 547 // deprecated constructor WebTextCheckingResult(WebTextCheckingType). |
555 STATIC_ASSERT_MATCHING_ENUM(WebTextCheckingTypeSpelling, TextDecorationTypeSpell
ing); | 548 STATIC_ASSERT_MATCHING_ENUM(WebTextCheckingTypeSpelling, TextDecorationTypeSpell
ing); |
556 STATIC_ASSERT_MATCHING_ENUM(WebTextCheckingTypeGrammar, TextDecorationTypeGramma
r); | 549 STATIC_ASSERT_MATCHING_ENUM(WebTextCheckingTypeGrammar, TextDecorationTypeGramma
r); |
557 | 550 |
558 STATIC_ASSERT_MATCHING_ENUM(WebTextDecorationTypeSpelling, TextDecorationTypeSpe
lling); | 551 STATIC_ASSERT_MATCHING_ENUM(WebTextDecorationTypeSpelling, TextDecorationTypeSpe
lling); |
559 STATIC_ASSERT_MATCHING_ENUM(WebTextDecorationTypeGrammar, TextDecorationTypeGram
mar); | 552 STATIC_ASSERT_MATCHING_ENUM(WebTextDecorationTypeGrammar, TextDecorationTypeGram
mar); |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
705 STATIC_ASSERT_MATCHING_ENUM(WebFrameLoadType::ReplaceCurrentItem, FrameLoadTypeR
eplaceCurrentItem); | 698 STATIC_ASSERT_MATCHING_ENUM(WebFrameLoadType::ReplaceCurrentItem, FrameLoadTypeR
eplaceCurrentItem); |
706 STATIC_ASSERT_MATCHING_ENUM(WebFrameLoadType::InitialInChildFrame, FrameLoadType
InitialInChildFrame); | 699 STATIC_ASSERT_MATCHING_ENUM(WebFrameLoadType::InitialInChildFrame, FrameLoadType
InitialInChildFrame); |
707 STATIC_ASSERT_MATCHING_ENUM(WebFrameLoadType::InitialHistoryLoad, FrameLoadTypeI
nitialHistoryLoad); | 700 STATIC_ASSERT_MATCHING_ENUM(WebFrameLoadType::InitialHistoryLoad, FrameLoadTypeI
nitialHistoryLoad); |
708 STATIC_ASSERT_MATCHING_ENUM(WebFrameLoadType::ReloadFromOrigin, FrameLoadTypeRel
oadFromOrigin); | 701 STATIC_ASSERT_MATCHING_ENUM(WebFrameLoadType::ReloadFromOrigin, FrameLoadTypeRel
oadFromOrigin); |
709 | 702 |
710 STATIC_ASSERT_MATCHING_ENUM(FrameDetachType::Remove, WebFrameClient::DetachType:
:Remove); | 703 STATIC_ASSERT_MATCHING_ENUM(FrameDetachType::Remove, WebFrameClient::DetachType:
:Remove); |
711 STATIC_ASSERT_MATCHING_ENUM(FrameDetachType::Swap, WebFrameClient::DetachType::S
wap); | 704 STATIC_ASSERT_MATCHING_ENUM(FrameDetachType::Swap, WebFrameClient::DetachType::S
wap); |
712 STATIC_ASSERT_MATCHING_ENUM(FrameDetachType::Remove, WebRemoteFrameClient::Detac
hType::Remove); | 705 STATIC_ASSERT_MATCHING_ENUM(FrameDetachType::Remove, WebRemoteFrameClient::Detac
hType::Remove); |
713 STATIC_ASSERT_MATCHING_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachT
ype::Swap); | 706 STATIC_ASSERT_MATCHING_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachT
ype::Swap); |
714 } // namespace blink | 707 } // namespace blink |
OLD | NEW |