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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 #include "core/html/HTMLMediaElement.h" | 47 #include "core/html/HTMLMediaElement.h" |
48 #include "core/html/shadow/TextControlInnerElements.h" | 48 #include "core/html/shadow/TextControlInnerElements.h" |
49 #include "core/layout/compositing/CompositedSelectionBound.h" | 49 #include "core/layout/compositing/CompositedSelectionBound.h" |
50 #include "core/loader/FrameLoaderClient.h" | 50 #include "core/loader/FrameLoaderClient.h" |
51 #include "core/loader/FrameLoaderTypes.h" | 51 #include "core/loader/FrameLoaderTypes.h" |
52 #include "core/loader/NavigationPolicy.h" | 52 #include "core/loader/NavigationPolicy.h" |
53 #include "core/loader/appcache/ApplicationCacheHost.h" | 53 #include "core/loader/appcache/ApplicationCacheHost.h" |
54 #include "core/page/PageVisibilityState.h" | 54 #include "core/page/PageVisibilityState.h" |
55 #include "core/style/ComputedStyleConstants.h" | 55 #include "core/style/ComputedStyleConstants.h" |
56 #include "modules/accessibility/AXObject.h" | 56 #include "modules/accessibility/AXObject.h" |
57 #include "modules/geolocation/GeolocationError.h" | |
58 #include "modules/geolocation/GeolocationPosition.h" | |
59 #include "modules/indexeddb/IDBKey.h" | 57 #include "modules/indexeddb/IDBKey.h" |
60 #include "modules/indexeddb/IDBKeyPath.h" | 58 #include "modules/indexeddb/IDBKeyPath.h" |
61 #include "modules/indexeddb/IDBMetadata.h" | 59 #include "modules/indexeddb/IDBMetadata.h" |
62 #include "modules/indexeddb/IndexedDB.h" | 60 #include "modules/indexeddb/IndexedDB.h" |
63 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h" | 61 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h" |
64 #include "modules/quota/DeprecatedStorageQuota.h" | 62 #include "modules/quota/DeprecatedStorageQuota.h" |
65 #include "modules/speech/SpeechRecognitionError.h" | 63 #include "modules/speech/SpeechRecognitionError.h" |
66 #include "platform/Cursor.h" | 64 #include "platform/Cursor.h" |
67 #include "platform/FileMetadata.h" | 65 #include "platform/FileMetadata.h" |
68 #include "platform/FileSystemType.h" | 66 #include "platform/FileSystemType.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 #include "public/platform/modules/indexeddb/WebIDBMetadata.h" | 106 #include "public/platform/modules/indexeddb/WebIDBMetadata.h" |
109 #include "public/platform/modules/indexeddb/WebIDBTypes.h" | 107 #include "public/platform/modules/indexeddb/WebIDBTypes.h" |
110 #include "public/web/WebAXEnums.h" | 108 #include "public/web/WebAXEnums.h" |
111 #include "public/web/WebAXObject.h" | 109 #include "public/web/WebAXObject.h" |
112 #include "public/web/WebClientRedirectPolicy.h" | 110 #include "public/web/WebClientRedirectPolicy.h" |
113 #include "public/web/WebConsoleMessage.h" | 111 #include "public/web/WebConsoleMessage.h" |
114 #include "public/web/WebContentSecurityPolicy.h" | 112 #include "public/web/WebContentSecurityPolicy.h" |
115 #include "public/web/WebFormElement.h" | 113 #include "public/web/WebFormElement.h" |
116 #include "public/web/WebFrameClient.h" | 114 #include "public/web/WebFrameClient.h" |
117 #include "public/web/WebFrameLoadType.h" | 115 #include "public/web/WebFrameLoadType.h" |
118 #include "public/web/WebGeolocationError.h" | |
119 #include "public/web/WebGeolocationPosition.h" | |
120 #include "public/web/WebHistoryCommitType.h" | 116 #include "public/web/WebHistoryCommitType.h" |
121 #include "public/web/WebHistoryItem.h" | 117 #include "public/web/WebHistoryItem.h" |
122 #include "public/web/WebIconURL.h" | 118 #include "public/web/WebIconURL.h" |
123 #include "public/web/WebInputElement.h" | 119 #include "public/web/WebInputElement.h" |
124 #include "public/web/WebInputEvent.h" | 120 #include "public/web/WebInputEvent.h" |
125 #include "public/web/WebNavigationPolicy.h" | 121 #include "public/web/WebNavigationPolicy.h" |
126 #include "public/web/WebNavigatorContentUtilsClient.h" | 122 #include "public/web/WebNavigatorContentUtilsClient.h" |
127 #include "public/web/WebRemoteFrameClient.h" | 123 #include "public/web/WebRemoteFrameClient.h" |
128 #include "public/web/WebSandboxFlags.h" | 124 #include "public/web/WebSandboxFlags.h" |
129 #include "public/web/WebSecurityPolicy.h" | 125 #include "public/web/WebSecurityPolicy.h" |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
566 STATIC_ASSERT_ENUM(WebFileErrorNotReadable, FileError::NOT_READABLE_ERR); | 562 STATIC_ASSERT_ENUM(WebFileErrorNotReadable, FileError::NOT_READABLE_ERR); |
567 STATIC_ASSERT_ENUM(WebFileErrorEncoding, FileError::ENCODING_ERR); | 563 STATIC_ASSERT_ENUM(WebFileErrorEncoding, FileError::ENCODING_ERR); |
568 STATIC_ASSERT_ENUM(WebFileErrorNoModificationAllowed, FileError::NO_MODIFICATION
_ALLOWED_ERR); | 564 STATIC_ASSERT_ENUM(WebFileErrorNoModificationAllowed, FileError::NO_MODIFICATION
_ALLOWED_ERR); |
569 STATIC_ASSERT_ENUM(WebFileErrorInvalidState, FileError::INVALID_STATE_ERR); | 565 STATIC_ASSERT_ENUM(WebFileErrorInvalidState, FileError::INVALID_STATE_ERR); |
570 STATIC_ASSERT_ENUM(WebFileErrorSyntax, FileError::SYNTAX_ERR); | 566 STATIC_ASSERT_ENUM(WebFileErrorSyntax, FileError::SYNTAX_ERR); |
571 STATIC_ASSERT_ENUM(WebFileErrorInvalidModification, FileError::INVALID_MODIFICAT
ION_ERR); | 567 STATIC_ASSERT_ENUM(WebFileErrorInvalidModification, FileError::INVALID_MODIFICAT
ION_ERR); |
572 STATIC_ASSERT_ENUM(WebFileErrorQuotaExceeded, FileError::QUOTA_EXCEEDED_ERR); | 568 STATIC_ASSERT_ENUM(WebFileErrorQuotaExceeded, FileError::QUOTA_EXCEEDED_ERR); |
573 STATIC_ASSERT_ENUM(WebFileErrorTypeMismatch, FileError::TYPE_MISMATCH_ERR); | 569 STATIC_ASSERT_ENUM(WebFileErrorTypeMismatch, FileError::TYPE_MISMATCH_ERR); |
574 STATIC_ASSERT_ENUM(WebFileErrorPathExists, FileError::PATH_EXISTS_ERR); | 570 STATIC_ASSERT_ENUM(WebFileErrorPathExists, FileError::PATH_EXISTS_ERR); |
575 | 571 |
576 STATIC_ASSERT_ENUM(WebGeolocationError::ErrorPermissionDenied, GeolocationError:
:PermissionDenied); | |
577 STATIC_ASSERT_ENUM(WebGeolocationError::ErrorPositionUnavailable, GeolocationErr
or::PositionUnavailable); | |
578 | |
579 STATIC_ASSERT_ENUM(WebTextCheckingTypeSpelling, TextCheckingTypeSpelling); | 572 STATIC_ASSERT_ENUM(WebTextCheckingTypeSpelling, TextCheckingTypeSpelling); |
580 STATIC_ASSERT_ENUM(WebTextCheckingTypeGrammar, TextCheckingTypeGrammar); | 573 STATIC_ASSERT_ENUM(WebTextCheckingTypeGrammar, TextCheckingTypeGrammar); |
581 | 574 |
582 // TODO(rouslan): Remove these comparisons between text-checking and text-decora
tion enum values after removing the | 575 // TODO(rouslan): Remove these comparisons between text-checking and text-decora
tion enum values after removing the |
583 // deprecated constructor WebTextCheckingResult(WebTextCheckingType). | 576 // deprecated constructor WebTextCheckingResult(WebTextCheckingType). |
584 STATIC_ASSERT_ENUM(WebTextCheckingTypeSpelling, TextDecorationTypeSpelling); | 577 STATIC_ASSERT_ENUM(WebTextCheckingTypeSpelling, TextDecorationTypeSpelling); |
585 STATIC_ASSERT_ENUM(WebTextCheckingTypeGrammar, TextDecorationTypeGrammar); | 578 STATIC_ASSERT_ENUM(WebTextCheckingTypeGrammar, TextDecorationTypeGrammar); |
586 | 579 |
587 STATIC_ASSERT_ENUM(WebTextDecorationTypeSpelling, TextDecorationTypeSpelling); | 580 STATIC_ASSERT_ENUM(WebTextDecorationTypeSpelling, TextDecorationTypeSpelling); |
588 STATIC_ASSERT_ENUM(WebTextDecorationTypeGrammar, TextDecorationTypeGrammar); | 581 STATIC_ASSERT_ENUM(WebTextDecorationTypeGrammar, TextDecorationTypeGrammar); |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
737 STATIC_ASSERT_ENUM(WebFrameLoadType::ReloadBypassingCache, FrameLoadTypeReloadBy
passingCache); | 730 STATIC_ASSERT_ENUM(WebFrameLoadType::ReloadBypassingCache, FrameLoadTypeReloadBy
passingCache); |
738 | 731 |
739 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebFrameClient::DetachType::Remove); | 732 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebFrameClient::DetachType::Remove); |
740 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebFrameClient::DetachType::Swap); | 733 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebFrameClient::DetachType::Swap); |
741 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebRemoteFrameClient::DetachType::Re
move); | 734 STATIC_ASSERT_ENUM(FrameDetachType::Remove, WebRemoteFrameClient::DetachType::Re
move); |
742 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachType::Swap
); | 735 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachType::Swap
); |
743 | 736 |
744 static_assert(kSerializedScriptValueVersion == SerializedScriptValue::wireFormat
Version, ""); | 737 static_assert(kSerializedScriptValueVersion == SerializedScriptValue::wireFormat
Version, ""); |
745 | 738 |
746 } // namespace blink | 739 } // namespace blink |
OLD | NEW |