Changeset 48609 in webkit for trunk/JavaScriptCore/ChangeLog


Ignore:
Timestamp:
Sep 21, 2009, 4:10:30 PM (16 years ago)
Author:
[email protected]
Message:

JavaScriptCore: Add ENABLE(ORIENTATION_EVENTS)
https://bugs.webkit.org/show_bug.cgi?id=29508

Reviewed by Simon Fraser & Sam Weinig.

  • wtf/Platform.h: Also sort PLATFORM(IPHONE) #defines.

WebCore: Add ENABLE(ORIENTATION_EVENTS)
https://bugs.webkit.org/show_bug.cgi?id=29508

Reviewed by Simon Fraser & Sam Weinig.

See documentation here:
http://developer.apple.com/safari/library/documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html#//apple_ref/doc/uid/TP40006511-SW16

  • DerivedSources.make: Use new WebCore.OrientationEvents.exp file if ENABLE_ORIENTATION_EVENTS.

Add ENABLE_ORIENTATION_EVENTS to the new ADDITIONAL_IDL_DEFINES variable that is passed to the IDL
code generator. This is because ENABLE_ORIENTATION_EVENTS is not in FEATURE_DEFINES.

  • WebCore.OrientationEvents.exp: Added.
  • WebCore.xcodeproj/project.pbxproj: Add WebCore.OrientationEvents.exp.
  • dom/EventNames.h: Add onorientationchange.
  • html/HTMLAttributeNames.in: Ditto.
  • html/HTMLBodyElement.cpp: Handle onorientationchange properly.

(WebCore::HTMLBodyElement::parseMappedAttribute):
(WebCore::HTMLBodyElement::onorientationchange):
(WebCore::HTMLBodyElement::setOnorientationchange):

  • html/HTMLBodyElement.h: Ditto.
  • html/HTMLBodyElement.idl: Ditto.
  • html/HTMLFrameSetElement.cpp: Ditto.

(WebCore::HTMLFrameSetElement::parseMappedAttribute):
(WebCore::HTMLFrameSetElement::onorientationchange):
(WebCore::HTMLFrameSetElement::setOnorientationchange):

  • html/HTMLFrameSetElement.h: Ditto.
  • html/HTMLFrameSetElement.idl: Ditto.
  • page/DOMWindow.cpp: Ditto.

(WebCore::DOMWindow::orientation): Calls up the to the Frame for the orientation value.
(WebCore::DOMWindow::onorientationchange):
(WebCore::DOMWindow::setOnorientationchange):

  • page/DOMWindow.h: Handle onorientationchange properly.
  • page/DOMWindow.idl: Ditto.
  • page/Frame.cpp: Ditto.

(WebCore::Frame::Frame):
(WebCore::Frame::sendOrientationChangeEvent):

  • page/Frame.h: Ditto.

(WebCore::Frame::orientation):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r48593 r48609  
     12009-09-21  Greg Bolsinga  <[email protected]>
     2
     3        Reviewed by Simon Fraser & Sam Weinig.
     4
     5        Add ENABLE(ORIENTATION_EVENTS)
     6        https://bugs.webkit.org/show_bug.cgi?id=29508
     7
     8        * wtf/Platform.h: Also sort PLATFORM(IPHONE) #defines.
     9
    1102009-09-21  Jedrzej Nowacki  <[email protected]>
    211
Note: See TracChangeset for help on using the changeset viewer.