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 20 matching lines...) Expand all Loading... |
31 // Use this file to assert that various public API enum values continue | 31 // Use this file to assert that various public API enum values continue |
32 // matching blink defined enum values. | 32 // matching blink defined enum values. |
33 | 33 |
34 #include "config.h" | 34 #include "config.h" |
35 | 35 |
36 #include "bindings/core/v8/SerializedScriptValue.h" | 36 #include "bindings/core/v8/SerializedScriptValue.h" |
37 #include "core/dom/AXObjectCache.h" | 37 #include "core/dom/AXObjectCache.h" |
38 #include "core/dom/DocumentMarker.h" | 38 #include "core/dom/DocumentMarker.h" |
39 #include "core/dom/ExceptionCode.h" | 39 #include "core/dom/ExceptionCode.h" |
40 #include "core/dom/IconURL.h" | 40 #include "core/dom/IconURL.h" |
| 41 #include "core/editing/SelectionType.h" |
41 #include "core/editing/TextAffinity.h" | 42 #include "core/editing/TextAffinity.h" |
42 #include "core/fileapi/FileError.h" | 43 #include "core/fileapi/FileError.h" |
43 #include "core/frame/Settings.h" | 44 #include "core/frame/Settings.h" |
44 #include "core/frame/csp/ContentSecurityPolicy.h" | 45 #include "core/frame/csp/ContentSecurityPolicy.h" |
45 #include "core/html/HTMLFormElement.h" | 46 #include "core/html/HTMLFormElement.h" |
46 #include "core/html/HTMLInputElement.h" | 47 #include "core/html/HTMLInputElement.h" |
47 #include "core/html/HTMLMediaElement.h" | 48 #include "core/html/HTMLMediaElement.h" |
48 #include "core/html/shadow/TextControlInnerElements.h" | 49 #include "core/html/shadow/TextControlInnerElements.h" |
49 #include "core/layout/compositing/CompositedSelectionBound.h" | 50 #include "core/layout/compositing/CompositedSelectionBound.h" |
50 #include "core/layout/style/LayoutStyleConstants.h" | 51 #include "core/layout/style/LayoutStyleConstants.h" |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 #include "public/web/WebGeolocationPosition.h" | 120 #include "public/web/WebGeolocationPosition.h" |
120 #include "public/web/WebHistoryCommitType.h" | 121 #include "public/web/WebHistoryCommitType.h" |
121 #include "public/web/WebHistoryItem.h" | 122 #include "public/web/WebHistoryItem.h" |
122 #include "public/web/WebIconURL.h" | 123 #include "public/web/WebIconURL.h" |
123 #include "public/web/WebInputElement.h" | 124 #include "public/web/WebInputElement.h" |
124 #include "public/web/WebInputEvent.h" | 125 #include "public/web/WebInputEvent.h" |
125 #include "public/web/WebNavigationPolicy.h" | 126 #include "public/web/WebNavigationPolicy.h" |
126 #include "public/web/WebNavigatorContentUtilsClient.h" | 127 #include "public/web/WebNavigatorContentUtilsClient.h" |
127 #include "public/web/WebSandboxFlags.h" | 128 #include "public/web/WebSandboxFlags.h" |
128 #include "public/web/WebSecurityPolicy.h" | 129 #include "public/web/WebSecurityPolicy.h" |
| 130 #include "public/web/WebSelection.h" |
129 #include "public/web/WebSerializedScriptValueVersion.h" | 131 #include "public/web/WebSerializedScriptValueVersion.h" |
130 #include "public/web/WebSettings.h" | 132 #include "public/web/WebSettings.h" |
131 #include "public/web/WebSpeechRecognizerClient.h" | 133 #include "public/web/WebSpeechRecognizerClient.h" |
132 #include "public/web/WebTextAffinity.h" | 134 #include "public/web/WebTextAffinity.h" |
133 #include "public/web/WebTextCheckingResult.h" | 135 #include "public/web/WebTextCheckingResult.h" |
134 #include "public/web/WebTextCheckingType.h" | 136 #include "public/web/WebTextCheckingType.h" |
135 #include "public/web/WebTextDecorationType.h" | 137 #include "public/web/WebTextDecorationType.h" |
136 #include "public/web/WebTouchAction.h" | 138 #include "public/web/WebTouchAction.h" |
137 #include "public/web/WebView.h" | 139 #include "public/web/WebView.h" |
138 #include "wtf/Assertions.h" | 140 #include "wtf/Assertions.h" |
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
637 STATIC_ASSERT_MATCHING_ENUM(WebCustomHandlersNew, NavigatorContentUtilsClient::C
ustomHandlersNew); | 639 STATIC_ASSERT_MATCHING_ENUM(WebCustomHandlersNew, NavigatorContentUtilsClient::C
ustomHandlersNew); |
638 STATIC_ASSERT_MATCHING_ENUM(WebCustomHandlersRegistered, NavigatorContentUtilsCl
ient::CustomHandlersRegistered); | 640 STATIC_ASSERT_MATCHING_ENUM(WebCustomHandlersRegistered, NavigatorContentUtilsCl
ient::CustomHandlersRegistered); |
639 STATIC_ASSERT_MATCHING_ENUM(WebCustomHandlersDeclined, NavigatorContentUtilsClie
nt::CustomHandlersDeclined); | 641 STATIC_ASSERT_MATCHING_ENUM(WebCustomHandlersDeclined, NavigatorContentUtilsClie
nt::CustomHandlersDeclined); |
640 | 642 |
641 STATIC_ASSERT_MATCHING_ENUM(WebTouchActionNone, TouchActionNone); | 643 STATIC_ASSERT_MATCHING_ENUM(WebTouchActionNone, TouchActionNone); |
642 STATIC_ASSERT_MATCHING_ENUM(WebTouchActionAuto, TouchActionAuto); | 644 STATIC_ASSERT_MATCHING_ENUM(WebTouchActionAuto, TouchActionAuto); |
643 STATIC_ASSERT_MATCHING_ENUM(WebTouchActionPanX, TouchActionPanX); | 645 STATIC_ASSERT_MATCHING_ENUM(WebTouchActionPanX, TouchActionPanX); |
644 STATIC_ASSERT_MATCHING_ENUM(WebTouchActionPanY, TouchActionPanY); | 646 STATIC_ASSERT_MATCHING_ENUM(WebTouchActionPanY, TouchActionPanY); |
645 STATIC_ASSERT_MATCHING_ENUM(WebTouchActionPinchZoom, TouchActionPinchZoom); | 647 STATIC_ASSERT_MATCHING_ENUM(WebTouchActionPinchZoom, TouchActionPinchZoom); |
646 | 648 |
647 STATIC_ASSERT_MATCHING_ENUM(WebSelectionBound::Caret, CompositedSelectionBound::
Caret); | 649 STATIC_ASSERT_MATCHING_ENUM(WebSelection::NoSelection, NoSelection); |
648 STATIC_ASSERT_MATCHING_ENUM(WebSelectionBound::SelectionLeft, CompositedSelectio
nBound::SelectionLeft); | 650 STATIC_ASSERT_MATCHING_ENUM(WebSelection::CaretSelection, CaretSelection); |
649 STATIC_ASSERT_MATCHING_ENUM(WebSelectionBound::SelectionRight, CompositedSelecti
onBound::SelectionRight); | 651 STATIC_ASSERT_MATCHING_ENUM(WebSelection::RangeSelection, RangeSelection); |
650 | 652 |
651 STATIC_ASSERT_MATCHING_ENUM(WebSettings::ImageAnimationPolicyAllowed, ImageAnima
tionPolicyAllowed); | 653 STATIC_ASSERT_MATCHING_ENUM(WebSettings::ImageAnimationPolicyAllowed, ImageAnima
tionPolicyAllowed); |
652 STATIC_ASSERT_MATCHING_ENUM(WebSettings::ImageAnimationPolicyAnimateOnce, ImageA
nimationPolicyAnimateOnce); | 654 STATIC_ASSERT_MATCHING_ENUM(WebSettings::ImageAnimationPolicyAnimateOnce, ImageA
nimationPolicyAnimateOnce); |
653 STATIC_ASSERT_MATCHING_ENUM(WebSettings::ImageAnimationPolicyNoAnimation, ImageA
nimationPolicyNoAnimation); | 655 STATIC_ASSERT_MATCHING_ENUM(WebSettings::ImageAnimationPolicyNoAnimation, ImageA
nimationPolicyNoAnimation); |
654 | 656 |
655 STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsDefault, V8CacheOptionsDe
fault); | 657 STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsDefault, V8CacheOptionsDe
fault); |
656 STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsParse, V8CacheOptionsPars
e); | 658 STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsParse, V8CacheOptionsPars
e); |
657 STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsCode, V8CacheOptionsCode)
; | 659 STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsCode, V8CacheOptionsCode)
; |
658 STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsCodeCompressed, V8CacheOp
tionsCodeCompressed); | 660 STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsCodeCompressed, V8CacheOp
tionsCodeCompressed); |
659 STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsNone, V8CacheOptionsNone)
; | 661 STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsNone, V8CacheOptionsNone)
; |
(...skipping 30 matching lines...) Expand all Loading... |
690 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::TopNavigation, SandboxTopNavigation
); | 692 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::TopNavigation, SandboxTopNavigation
); |
691 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Popups, SandboxPopups); | 693 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Popups, SandboxPopups); |
692 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::AutomaticFeatures, SandboxAutomatic
Features); | 694 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::AutomaticFeatures, SandboxAutomatic
Features); |
693 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::PointerLock, SandboxPointerLock); | 695 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::PointerLock, SandboxPointerLock); |
694 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::DocumentDomain, SandboxDocumentDoma
in); | 696 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::DocumentDomain, SandboxDocumentDoma
in); |
695 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::OrientationLock, SandboxOrientation
Lock); | 697 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::OrientationLock, SandboxOrientation
Lock); |
696 | 698 |
697 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::BeforeUnloadHandler, WebFrameClie
nt::BeforeUnloadHandler); | 699 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::BeforeUnloadHandler, WebFrameClie
nt::BeforeUnloadHandler); |
698 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::UnloadHandler, WebFrameClient::Un
loadHandler); | 700 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::UnloadHandler, WebFrameClient::Un
loadHandler); |
699 } // namespace blink | 701 } // namespace blink |
OLD | NEW |