| 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 18 matching lines...) Expand all Loading... |
| 29 */ | 29 */ |
| 30 | 30 |
| 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/DocumentMarker.h" | 37 #include "core/dom/DocumentMarker.h" |
| 38 #include "core/dom/ExceptionCode.h" | 38 #include "core/dom/ExceptionCode.h" |
| 39 #include "core/dom/Node.h" |
| 39 #include "core/editing/TextAffinity.h" | 40 #include "core/editing/TextAffinity.h" |
| 40 #include "core/frame/ConsoleTypes.h" | 41 #include "core/frame/ConsoleTypes.h" |
| 41 #include "core/frame/Settings.h" | 42 #include "core/frame/Settings.h" |
| 42 #include "core/html/HTMLMediaElement.h" | |
| 43 #include "core/loader/FrameLoaderTypes.h" | 43 #include "core/loader/FrameLoaderTypes.h" |
| 44 #include "core/loader/NavigationPolicy.h" | 44 #include "core/loader/NavigationPolicy.h" |
| 45 #include "core/page/PageVisibilityState.h" | 45 #include "core/page/PageVisibilityState.h" |
| 46 #include "core/rendering/style/RenderStyleConstants.h" | 46 #include "core/rendering/style/RenderStyleConstants.h" |
| 47 #include "platform/Cursor.h" | 47 #include "platform/Cursor.h" |
| 48 #include "platform/PlatformMouseEvent.h" | 48 #include "platform/PlatformMouseEvent.h" |
| 49 #include "platform/fonts/FontDescription.h" | 49 #include "platform/fonts/FontDescription.h" |
| 50 #include "platform/fonts/FontSmoothingMode.h" | 50 #include "platform/fonts/FontSmoothingMode.h" |
| 51 #include "platform/graphics/filters/FilterOperation.h" | 51 #include "platform/graphics/filters/FilterOperation.h" |
| 52 #include "platform/graphics/media/MediaPlayer.h" | |
| 53 #include "platform/network/ResourceLoadPriority.h" | 52 #include "platform/network/ResourceLoadPriority.h" |
| 54 #include "platform/network/ResourceResponse.h" | 53 #include "platform/network/ResourceResponse.h" |
| 55 #include "platform/scroll/ScrollTypes.h" | 54 #include "platform/scroll/ScrollTypes.h" |
| 56 #include "platform/text/TextChecking.h" | 55 #include "platform/text/TextChecking.h" |
| 57 #include "platform/text/TextDecoration.h" | 56 #include "platform/text/TextDecoration.h" |
| 58 #include "platform/weborigin/ReferrerPolicy.h" | 57 #include "platform/weborigin/ReferrerPolicy.h" |
| 59 #include "public/platform/WebClipboard.h" | 58 #include "public/platform/WebClipboard.h" |
| 60 #include "public/platform/WebCursorInfo.h" | 59 #include "public/platform/WebCursorInfo.h" |
| 61 #include "public/platform/WebMediaPlayer.h" | |
| 62 #include "public/platform/WebMediaPlayerClient.h" | |
| 63 #include "public/platform/WebMediaSource.h" | |
| 64 #include "public/platform/WebReferrerPolicy.h" | 60 #include "public/platform/WebReferrerPolicy.h" |
| 65 #include "public/platform/WebScrollbar.h" | 61 #include "public/platform/WebScrollbar.h" |
| 66 #include "public/platform/WebScrollbarBehavior.h" | 62 #include "public/platform/WebScrollbarBehavior.h" |
| 67 #include "public/platform/WebURLRequest.h" | 63 #include "public/platform/WebURLRequest.h" |
| 68 #include "public/platform/WebURLResponse.h" | 64 #include "public/platform/WebURLResponse.h" |
| 69 #include "public/web/WebConsoleMessage.h" | 65 #include "public/web/WebConsoleMessage.h" |
| 70 #include "public/web/WebFontDescription.h" | 66 #include "public/web/WebFontDescription.h" |
| 71 #include "public/web/WebInputEvent.h" | 67 #include "public/web/WebInputEvent.h" |
| 72 #include "public/web/WebNavigationPolicy.h" | 68 #include "public/web/WebNavigationPolicy.h" |
| 73 #include "public/web/WebNavigatorContentUtilsClient.h" | 69 #include "public/web/WebNavigatorContentUtilsClient.h" |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::Weight800, FontWeight800); | 156 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::Weight800, FontWeight800); |
| 161 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::Weight900, FontWeight900); | 157 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::Weight900, FontWeight900); |
| 162 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::WeightNormal, FontWeightNormal)
; | 158 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::WeightNormal, FontWeightNormal)
; |
| 163 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::WeightBold, FontWeightBold); | 159 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::WeightBold, FontWeightBold); |
| 164 | 160 |
| 165 COMPILE_ASSERT_MATCHING_ENUM(WebNode::ElementNode, Node::ELEMENT_NODE); | 161 COMPILE_ASSERT_MATCHING_ENUM(WebNode::ElementNode, Node::ELEMENT_NODE); |
| 166 COMPILE_ASSERT_MATCHING_ENUM(WebNode::TextNode, Node::TEXT_NODE); | 162 COMPILE_ASSERT_MATCHING_ENUM(WebNode::TextNode, Node::TEXT_NODE); |
| 167 COMPILE_ASSERT_MATCHING_ENUM(WebNode::DocumentNode, Node::DOCUMENT_NODE); | 163 COMPILE_ASSERT_MATCHING_ENUM(WebNode::DocumentNode, Node::DOCUMENT_NODE); |
| 168 COMPILE_ASSERT_MATCHING_ENUM(WebNode::DocumentFragmentNode, Node::DOCUMENT_FRAGM
ENT_NODE); | 164 COMPILE_ASSERT_MATCHING_ENUM(WebNode::DocumentFragmentNode, Node::DOCUMENT_FRAGM
ENT_NODE); |
| 169 | 165 |
| 170 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveNothing, HTMLMediaEle
ment::HAVE_NOTHING); | |
| 171 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveMetadata, HTMLMediaEl
ement::HAVE_METADATA); | |
| 172 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveCurrentData, HTMLMedi
aElement::HAVE_CURRENT_DATA); | |
| 173 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveFutureData, HTMLMedia
Element::HAVE_FUTURE_DATA); | |
| 174 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveEnoughData, HTMLMedia
Element::HAVE_ENOUGH_DATA); | |
| 175 | |
| 176 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::PreloadNone, MediaPlayer::None); | |
| 177 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::PreloadMetaData, MediaPlayer::MetaD
ata); | |
| 178 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::PreloadAuto, MediaPlayer::Auto); | |
| 179 | |
| 180 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonNone, NoButton); | 166 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonNone, NoButton); |
| 181 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonLeft, LeftButton); | 167 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonLeft, LeftButton); |
| 182 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonMiddle, MiddleButton); | 168 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonMiddle, MiddleButton); |
| 183 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonRight, RightButton); | 169 COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonRight, RightButton); |
| 184 | 170 |
| 185 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::Horizontal, HorizontalScrollbar); | 171 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::Horizontal, HorizontalScrollbar); |
| 186 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::Vertical, VerticalScrollbar); | 172 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::Vertical, VerticalScrollbar); |
| 187 | 173 |
| 188 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByLine, ScrollByLine); | 174 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByLine, ScrollByLine); |
| 189 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByPage, ScrollByPage); | 175 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByPage, ScrollByPage); |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeNone, PointerTypeNone); | 251 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeNone, PointerTypeNone); |
| 266 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeCoarse, PointerTypeCoarse); | 252 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeCoarse, PointerTypeCoarse); |
| 267 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeFine, PointerTypeFine); | 253 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeFine, PointerTypeFine); |
| 268 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeNone, HoverTypeNone); | 254 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeNone, HoverTypeNone); |
| 269 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeOnDemand, HoverTypeOnDemand); | 255 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeOnDemand, HoverTypeOnDemand); |
| 270 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeHover, HoverTypeHover); | 256 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeHover, HoverTypeHover); |
| 271 | 257 |
| 272 COMPILE_ASSERT_MATCHING_UINT64(kSerializedScriptValueVersion, SerializedScriptVa
lue::wireFormatVersion); | 258 COMPILE_ASSERT_MATCHING_UINT64(kSerializedScriptValueVersion, SerializedScriptVa
lue::wireFormatVersion); |
| 273 | 259 |
| 274 } // namespace blink | 260 } // namespace blink |
| OLD | NEW |