1. 03 Dec, 2012 1 commit
    • kihong.kwon@samsung.com's avatar
      Remove useless included header and change position of Proximity Events test cases · 7ede401c
      kihong.kwon@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=103871
      
      Reviewed by Antonio Gomes.
      
      Source/WebCore:
      
      Remove useless included header from DeviceProximityEvent.cpp.
      
      No new tests, It is just code refactoring.
      
      * Modules/proximity/DeviceProximityEvent.cpp:
      
      LayoutTests:
      
      Change the path of Proximity Events test cases from LayoutTests/fast/dom/Proximity to LayoutTests/proximity.
      
      * platform/chromium/TestExpectations:
      * platform/efl/TestExpectations:
      * platform/gtk/TestExpectations:
      * platform/mac/TestExpectations:
      * platform/qt/TestExpectations:
      * platform/win/TestExpectations:
      * platform/wincairo/TestExpectations:
      * proximity/check-event-deviceproximity-expected.txt: Renamed from LayoutTests/fast/dom/Proximity/check-event-deviceproximity-expected.txt.
      * proximity/check-event-deviceproximity.html: Renamed from LayoutTests/fast/dom/Proximity/check-event-deviceproximity.html.
      * proximity/create-event-deviceproximity-expected.txt: Renamed from LayoutTests/fast/dom/Proximity/create-event-deviceproximity-expected.txt.
      * proximity/create-event-deviceproximity.html: Renamed from LayoutTests/fast/dom/Proximity/create-event-deviceproximity.html.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136385 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7ede401c
  2. 06 Aug, 2012 1 commit
    • commit-queue@webkit.org's avatar
      Add DeviceProximityEvent interface · fdb1d92f
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92942
      
      Patch by Kihong Kwon <kihong.kwon@samsung.com> on 2012-08-06
      Reviewed by Kentaro Hara.
      
      Source/WebCore:
      
      Spec : http://www.w3.org/TR/proximity/#idl-def-DeviceProximityEvent
      
      Add DeviceProximityEvent interface of Proximity Events.
      And add onwebkitdeviceproximity event handler to the DOMWindow.
      
      Tests: fast/dom/Proximity/check-event-deviceproximity.html
             fast/dom/Proximity/create-event-deviceproximity.html
             fast/events/constructors/device-proximity-event-constructor.html
      
      * CMakeLists.txt:
      * Modules/proximity/DeviceProximityEvent.cpp: Added.
      (WebCore):
      (WebCore::DeviceProximityEvent::DeviceProximityEvent):
      * Modules/proximity/DeviceProximityEvent.h: Added.
      (WebCore):
      (WebCore::DeviceProximityEventInit::DeviceProximityEventInit):
      (DeviceProximityEventInit):
      (DeviceProximityEvent):
      (WebCore::DeviceProximityEvent::~DeviceProximityEvent):
      (WebCore::DeviceProximityEvent::create):
      (WebCore::DeviceProximityEvent::value):
      (WebCore::DeviceProximityEvent::min):
      (WebCore::DeviceProximityEvent::max):
      (WebCore::DeviceProximityEvent::interfaceName):
      * Modules/proximity/DeviceProximityEvent.idl: Added.
      * dom/EventNames.h:
      (WebCore):
      * dom/EventNames.in:
      * page/DOMWindow.h:
      (DOMWindow):
      * page/DOMWindow.idl:
      
      LayoutTests:
      
      Add tests for creating and handling the DeviceProximityEvent.
      
      * fast/dom/Proximity/check-event-deviceproximity-expected.txt: Added.
      * fast/dom/Proximity/check-event-deviceproximity.html: Added.
      * fast/dom/Proximity/create-event-deviceproximity-expected.txt: Added.
      * fast/dom/Proximity/create-event-deviceproximity.html: Added.
      * fast/events/constructors/device-proximity-event-constructor-expected.txt: Added.
      * fast/events/constructors/device-proximity-event-constructor.html: Added.
      * platform/chromium/TestExpectations:
      * platform/efl/TestExpectations:
      * platform/gtk/TestExpectations:
      * platform/mac/Skipped:
      * platform/qt/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124759 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fdb1d92f