| 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 19 matching lines...) Expand all Loading... |
| 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 "bindings/core/v8/SerializedScriptValue.h" | 34 #include "bindings/core/v8/SerializedScriptValue.h" |
| 35 #include "core/dom/AXObjectCache.h" | 35 #include "core/dom/AXObjectCache.h" |
| 36 #include "core/dom/IconURL.h" | 36 #include "core/dom/IconURL.h" |
| 37 #include "core/editing/SelectionType.h" | 37 #include "core/editing/SelectionType.h" |
| 38 #include "core/editing/TextAffinity.h" | 38 #include "core/editing/TextAffinity.h" |
| 39 #include "core/editing/markers/DocumentMarker.h" | 39 #include "core/editing/markers/DocumentMarker.h" |
| 40 #if OS(MACOSX) |
| 41 #include "core/events/WheelEvent.h" |
| 42 #endif |
| 40 #include "core/fileapi/FileError.h" | 43 #include "core/fileapi/FileError.h" |
| 41 #include "core/frame/Frame.h" | 44 #include "core/frame/Frame.h" |
| 42 #include "core/frame/FrameTypes.h" | 45 #include "core/frame/FrameTypes.h" |
| 43 #include "core/frame/Settings.h" | 46 #include "core/frame/Settings.h" |
| 44 #include "core/frame/csp/ContentSecurityPolicy.h" | 47 #include "core/frame/csp/ContentSecurityPolicy.h" |
| 45 #include "core/html/HTMLInputElement.h" | 48 #include "core/html/HTMLInputElement.h" |
| 46 #include "core/html/HTMLMediaElement.h" | 49 #include "core/html/HTMLMediaElement.h" |
| 47 #include "core/html/shadow/TextControlInnerElements.h" | 50 #include "core/html/shadow/TextControlInnerElements.h" |
| 48 #include "core/layout/compositing/CompositedSelectionBound.h" | 51 #include "core/layout/compositing/CompositedSelectionBound.h" |
| 49 #include "core/loader/FrameLoaderClient.h" | 52 #include "core/loader/FrameLoaderClient.h" |
| (...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 500 STATIC_ASSERT_ENUM(WebMediaPlayer::ReadyStateHaveMetadata, HTMLMediaElement::kHa
veMetadata); | 503 STATIC_ASSERT_ENUM(WebMediaPlayer::ReadyStateHaveMetadata, HTMLMediaElement::kHa
veMetadata); |
| 501 STATIC_ASSERT_ENUM(WebMediaPlayer::ReadyStateHaveCurrentData, HTMLMediaElement::
kHaveCurrentData); | 504 STATIC_ASSERT_ENUM(WebMediaPlayer::ReadyStateHaveCurrentData, HTMLMediaElement::
kHaveCurrentData); |
| 502 STATIC_ASSERT_ENUM(WebMediaPlayer::ReadyStateHaveFutureData, HTMLMediaElement::k
HaveFutureData); | 505 STATIC_ASSERT_ENUM(WebMediaPlayer::ReadyStateHaveFutureData, HTMLMediaElement::k
HaveFutureData); |
| 503 STATIC_ASSERT_ENUM(WebMediaPlayer::ReadyStateHaveEnoughData, HTMLMediaElement::k
HaveEnoughData); | 506 STATIC_ASSERT_ENUM(WebMediaPlayer::ReadyStateHaveEnoughData, HTMLMediaElement::k
HaveEnoughData); |
| 504 | 507 |
| 505 STATIC_ASSERT_ENUM(WebMouseEvent::ButtonNone, NoButton); | 508 STATIC_ASSERT_ENUM(WebMouseEvent::ButtonNone, NoButton); |
| 506 STATIC_ASSERT_ENUM(WebMouseEvent::ButtonLeft, LeftButton); | 509 STATIC_ASSERT_ENUM(WebMouseEvent::ButtonLeft, LeftButton); |
| 507 STATIC_ASSERT_ENUM(WebMouseEvent::ButtonMiddle, MiddleButton); | 510 STATIC_ASSERT_ENUM(WebMouseEvent::ButtonMiddle, MiddleButton); |
| 508 STATIC_ASSERT_ENUM(WebMouseEvent::ButtonRight, RightButton); | 511 STATIC_ASSERT_ENUM(WebMouseEvent::ButtonRight, RightButton); |
| 509 | 512 |
| 513 #if OS(MACOSX) |
| 514 STATIC_ASSERT_ENUM(WebMouseWheelEvent::PhaseNone, PlatformWheelEventPhaseNone); |
| 515 STATIC_ASSERT_ENUM(WebMouseWheelEvent::PhaseBegan, PlatformWheelEventPhaseBegan)
; |
| 516 STATIC_ASSERT_ENUM(WebMouseWheelEvent::PhaseStationary, PlatformWheelEventPhaseS
tationary); |
| 517 STATIC_ASSERT_ENUM(WebMouseWheelEvent::PhaseChanged, PlatformWheelEventPhaseChan
ged); |
| 518 STATIC_ASSERT_ENUM(WebMouseWheelEvent::PhaseEnded, PlatformWheelEventPhaseEnded)
; |
| 519 STATIC_ASSERT_ENUM(WebMouseWheelEvent::PhaseCancelled, PlatformWheelEventPhaseCa
ncelled); |
| 520 STATIC_ASSERT_ENUM(WebMouseWheelEvent::PhaseMayBegin, PlatformWheelEventPhaseMay
Begin); |
| 521 |
| 522 STATIC_ASSERT_ENUM(WebMouseWheelEvent::PhaseNone, WheelEventPhaseNone); |
| 523 STATIC_ASSERT_ENUM(WebMouseWheelEvent::PhaseBegan, WheelEventPhaseBegan); |
| 524 STATIC_ASSERT_ENUM(WebMouseWheelEvent::PhaseStationary, WheelEventPhaseStationar
y); |
| 525 STATIC_ASSERT_ENUM(WebMouseWheelEvent::PhaseChanged, WheelEventPhaseChanged); |
| 526 STATIC_ASSERT_ENUM(WebMouseWheelEvent::PhaseEnded, WheelEventPhaseEnded); |
| 527 STATIC_ASSERT_ENUM(WebMouseWheelEvent::PhaseCancelled, WheelEventPhaseCancelled)
; |
| 528 STATIC_ASSERT_ENUM(WebMouseWheelEvent::PhaseMayBegin, WheelEventPhaseMayBegin); |
| 529 #endif |
| 530 |
| 510 STATIC_ASSERT_ENUM(WebScrollbar::Horizontal, HorizontalScrollbar); | 531 STATIC_ASSERT_ENUM(WebScrollbar::Horizontal, HorizontalScrollbar); |
| 511 STATIC_ASSERT_ENUM(WebScrollbar::Vertical, VerticalScrollbar); | 532 STATIC_ASSERT_ENUM(WebScrollbar::Vertical, VerticalScrollbar); |
| 512 | 533 |
| 513 STATIC_ASSERT_ENUM(WebScrollbar::ScrollByLine, ScrollByLine); | 534 STATIC_ASSERT_ENUM(WebScrollbar::ScrollByLine, ScrollByLine); |
| 514 STATIC_ASSERT_ENUM(WebScrollbar::ScrollByPage, ScrollByPage); | 535 STATIC_ASSERT_ENUM(WebScrollbar::ScrollByPage, ScrollByPage); |
| 515 STATIC_ASSERT_ENUM(WebScrollbar::ScrollByDocument, ScrollByDocument); | 536 STATIC_ASSERT_ENUM(WebScrollbar::ScrollByDocument, ScrollByDocument); |
| 516 STATIC_ASSERT_ENUM(WebScrollbar::ScrollByPixel, ScrollByPixel); | 537 STATIC_ASSERT_ENUM(WebScrollbar::ScrollByPixel, ScrollByPixel); |
| 517 | 538 |
| 518 STATIC_ASSERT_ENUM(WebScrollbar::RegularScrollbar, RegularScrollbar); | 539 STATIC_ASSERT_ENUM(WebScrollbar::RegularScrollbar, RegularScrollbar); |
| 519 STATIC_ASSERT_ENUM(WebScrollbar::SmallScrollbar, SmallScrollbar); | 540 STATIC_ASSERT_ENUM(WebScrollbar::SmallScrollbar, SmallScrollbar); |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 757 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachType::Swap
); | 778 STATIC_ASSERT_ENUM(FrameDetachType::Swap, WebRemoteFrameClient::DetachType::Swap
); |
| 758 | 779 |
| 759 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::LoadEvent, ProgressBarCom
pletion::LoadEvent); | 780 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::LoadEvent, ProgressBarCom
pletion::LoadEvent); |
| 760 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::ResourcesBeforeDCL, Progr
essBarCompletion::ResourcesBeforeDCL); | 781 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::ResourcesBeforeDCL, Progr
essBarCompletion::ResourcesBeforeDCL); |
| 761 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::DOMContentLoaded, Progres
sBarCompletion::DOMContentLoaded); | 782 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::DOMContentLoaded, Progres
sBarCompletion::DOMContentLoaded); |
| 762 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::ResourcesBeforeDCLAndSame
OriginIFrames, ProgressBarCompletion::ResourcesBeforeDCLAndSameOriginIFrames); | 783 STATIC_ASSERT_ENUM(WebSettings::ProgressBarCompletion::ResourcesBeforeDCLAndSame
OriginIFrames, ProgressBarCompletion::ResourcesBeforeDCLAndSameOriginIFrames); |
| 763 | 784 |
| 764 static_assert(kSerializedScriptValueVersion == SerializedScriptValue::wireFormat
Version, ""); | 785 static_assert(kSerializedScriptValueVersion == SerializedScriptValue::wireFormat
Version, ""); |
| 765 | 786 |
| 766 } // namespace blink | 787 } // namespace blink |
| OLD | NEW |