Changeset 121016 in webkit


Ignore:
Timestamp:
Jun 22, 2012 4:32:42 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

Renamed DeviceOrientation to DeviceOrientationData
https://bugs.webkit.org/show_bug.cgi?id=88663

Patch by Amy Ousterhout <aousterh@chromium.org> on 2012-06-22
Reviewed by Steve Block.

Source/WebCore:

No new tests because this is simply a name change.

Renamed DeviceOrientation to DeviceOrientationData in order to be consistent with DeviceMotionData.
Updated all files that use DeviceOrientation.

  • CMakeLists.txt:
  • GNUmakefile.list.am:
  • Target.pri:
  • WebCore.exp.in:
  • WebCore.gypi:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • bindings/js/JSDeviceOrientationEventCustom.cpp:

(WebCore::JSDeviceOrientationEvent::initDeviceOrientationEvent):

  • bindings/v8/custom/V8DeviceOrientationEventCustom.cpp:

(WebCore::V8DeviceOrientationEvent::initDeviceOrientationEventCallback):

  • dom/DOMAllInOne.cpp:
  • dom/DeviceOrientationClient.h:

(WebCore):
(DeviceOrientationClient):

  • dom/DeviceOrientationController.cpp:

(WebCore::DeviceOrientationController::timerFired):
(WebCore::DeviceOrientationController::didChangeDeviceOrientation):

  • dom/DeviceOrientationController.h:

(WebCore):
(DeviceOrientationController):

  • dom/DeviceOrientationData.cpp: Renamed from Source/WebCore/dom/DeviceOrientation.cpp.

(WebCore):
(WebCore::DeviceOrientationData::create):
(WebCore::DeviceOrientationData::DeviceOrientationData):
(WebCore::DeviceOrientationData::alpha):
(WebCore::DeviceOrientationData::beta):
(WebCore::DeviceOrientationData::gamma):
(WebCore::DeviceOrientationData::absolute):
(WebCore::DeviceOrientationData::canProvideAlpha):
(WebCore::DeviceOrientationData::canProvideBeta):
(WebCore::DeviceOrientationData::canProvideGamma):
(WebCore::DeviceOrientationData::canProvideAbsolute):

  • dom/DeviceOrientationData.h: Renamed from Source/WebCore/dom/DeviceOrientation.h.

(WebCore):
(DeviceOrientationData):

  • dom/DeviceOrientationEvent.cpp:

(WebCore::DeviceOrientationEvent::DeviceOrientationEvent):
(WebCore::DeviceOrientationEvent::initDeviceOrientationEvent):

  • dom/DeviceOrientationEvent.h:

(WebCore):
(WebCore::DeviceOrientationEvent::create):
(DeviceOrientationEvent):
(WebCore::DeviceOrientationEvent::orientation):

  • loader/EmptyClients.h:

(WebCore::EmptyDeviceOrientationClient::lastOrientation):

  • platform/mock/DeviceOrientationClientMock.cpp:

(WebCore::DeviceOrientationClientMock::setOrientation):

  • platform/mock/DeviceOrientationClientMock.h:

(WebCore::DeviceOrientationClientMock::lastOrientation):
(DeviceOrientationClientMock):

  • platform/qt/DeviceOrientationClientQt.cpp:

(DeviceOrientationClientQt):

  • platform/qt/DeviceOrientationClientQt.h:

(DeviceOrientationClientQt):

  • platform/qt/DeviceOrientationProviderQt.h:

(DeviceOrientationProviderQt):

Source/WebKit/blackberry:

Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
This change makes DeviceOrientationData consistent with DeviceMotionData.

  • WebCoreSupport/DeviceOrientationClientBlackBerry.h:

(DeviceOrientationClientBlackBerry):

Source/WebKit/chromium:

Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
This change makes DeviceOrientationData consistent with DeviceMotionData.

  • public/WebDeviceOrientation.h:

(WebDeviceOrientation):

  • src/DeviceOrientationClientProxy.cpp:

(WebKit::DeviceOrientationClientProxy::lastOrientation):

  • src/DeviceOrientationClientProxy.h:

(DeviceOrientationClientProxy):

  • src/WebDeviceOrientation.cpp:

(WebKit::WebDeviceOrientation::WebDeviceOrientation):
(WebKit::WebDeviceOrientation::operator=):
(WebKit::WebDeviceOrientation::operator PassRefPtr<WebCore::DeviceOrientationData>):

  • src/WebDeviceOrientationController.cpp:

(WebKit::WebDeviceOrientationController::didChangeDeviceOrientation):

Source/WebKit/efl:

Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
This change makes DeviceOrientationData consistent with DeviceMotionData.

  • WebCoreSupport/DeviceOrientationClientEfl.h:

(DeviceOrientationClientEfl):

Source/WebKit/gtk:

Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
This change makes DeviceOrientationData consistent with DeviceMotionData.

  • WebCoreSupport/DeviceOrientationClientGtk.h:

(DeviceOrientationClientGtk):

Source/WebKit/mac:

Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
This change makes DeviceOrientationData consistent with DeviceMotionData.

  • WebCoreSupport/WebDeviceOrientationClient.h:

(WebDeviceOrientationClient):

  • WebCoreSupport/WebDeviceOrientationClient.mm:

(WebDeviceOrientationClient::lastOrientation):

  • WebView/WebDeviceOrientation.mm:
  • WebView/WebDeviceOrientationInternal.h:

Source/WebKit/qt:

Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
This change makes DeviceOrientationData consistent with DeviceMotionData.

  • WebCoreSupport/DumpRenderTreeSupportQt.cpp:

(DumpRenderTreeSupportQt::setMockDeviceOrientation):

Location:
trunk/Source
Files:
42 edited
2 moved

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/CMakeLists.txt

    r120984 r121016  
    568568    dom/DeviceMotionData.cpp
    569569    dom/DeviceMotionEvent.cpp
    570     dom/DeviceOrientation.cpp
    571570    dom/DeviceOrientationController.cpp
     571    dom/DeviceOrientationData.cpp
    572572    dom/DeviceOrientationEvent.cpp
    573573    dom/Document.cpp
  • trunk/Source/WebCore/ChangeLog

    r121014 r121016  
     12012-06-22  Amy Ousterhout  <aousterh@chromium.org>
     2
     3        Renamed DeviceOrientation to DeviceOrientationData
     4        https://bugs.webkit.org/show_bug.cgi?id=88663
     5
     6        Reviewed by Steve Block.
     7
     8        No new tests because this is simply a name change.
     9
     10        Renamed DeviceOrientation to DeviceOrientationData in order to be consistent with DeviceMotionData.
     11        Updated all files that use DeviceOrientation.
     12 
     13        * CMakeLists.txt:
     14        * GNUmakefile.list.am:
     15        * Target.pri:
     16        * WebCore.exp.in:
     17        * WebCore.gypi:
     18        * WebCore.vcproj/WebCore.vcproj:
     19        * WebCore.xcodeproj/project.pbxproj:
     20        * bindings/js/JSDeviceOrientationEventCustom.cpp:
     21        (WebCore::JSDeviceOrientationEvent::initDeviceOrientationEvent):
     22        * bindings/v8/custom/V8DeviceOrientationEventCustom.cpp:
     23        (WebCore::V8DeviceOrientationEvent::initDeviceOrientationEventCallback):
     24        * dom/DOMAllInOne.cpp:
     25        * dom/DeviceOrientationClient.h:
     26        (WebCore):
     27        (DeviceOrientationClient):
     28        * dom/DeviceOrientationController.cpp:
     29        (WebCore::DeviceOrientationController::timerFired):
     30        (WebCore::DeviceOrientationController::didChangeDeviceOrientation):
     31        * dom/DeviceOrientationController.h:
     32        (WebCore):
     33        (DeviceOrientationController):
     34        * dom/DeviceOrientationData.cpp: Renamed from Source/WebCore/dom/DeviceOrientation.cpp.
     35        (WebCore):
     36        (WebCore::DeviceOrientationData::create):
     37        (WebCore::DeviceOrientationData::DeviceOrientationData):
     38        (WebCore::DeviceOrientationData::alpha):
     39        (WebCore::DeviceOrientationData::beta):
     40        (WebCore::DeviceOrientationData::gamma):
     41        (WebCore::DeviceOrientationData::absolute):
     42        (WebCore::DeviceOrientationData::canProvideAlpha):
     43        (WebCore::DeviceOrientationData::canProvideBeta):
     44        (WebCore::DeviceOrientationData::canProvideGamma):
     45        (WebCore::DeviceOrientationData::canProvideAbsolute):
     46        * dom/DeviceOrientationData.h: Renamed from Source/WebCore/dom/DeviceOrientation.h.
     47        (WebCore):
     48        (DeviceOrientationData):
     49        * dom/DeviceOrientationEvent.cpp:
     50        (WebCore::DeviceOrientationEvent::DeviceOrientationEvent):
     51        (WebCore::DeviceOrientationEvent::initDeviceOrientationEvent):
     52        * dom/DeviceOrientationEvent.h:
     53        (WebCore):
     54        (WebCore::DeviceOrientationEvent::create):
     55        (DeviceOrientationEvent):
     56        (WebCore::DeviceOrientationEvent::orientation):
     57        * loader/EmptyClients.h:
     58        (WebCore::EmptyDeviceOrientationClient::lastOrientation):
     59        * platform/mock/DeviceOrientationClientMock.cpp:
     60        (WebCore::DeviceOrientationClientMock::setOrientation):
     61        * platform/mock/DeviceOrientationClientMock.h:
     62        (WebCore::DeviceOrientationClientMock::lastOrientation):
     63        (DeviceOrientationClientMock):
     64        * platform/qt/DeviceOrientationClientQt.cpp:
     65        (DeviceOrientationClientQt):
     66        * platform/qt/DeviceOrientationClientQt.h:
     67        (DeviceOrientationClientQt):
     68        * platform/qt/DeviceOrientationProviderQt.h:
     69        (DeviceOrientationProviderQt):
     70 
    1712012-06-21  Vsevolod Vlasov  <vsevik@chromium.org>
    272
  • trunk/Source/WebCore/GNUmakefile.list.am

    r120993 r121016  
    18251825        Source/WebCore/dom/DeviceOrientationController.cpp \
    18261826        Source/WebCore/dom/DeviceOrientationController.h \
    1827         Source/WebCore/dom/DeviceOrientation.cpp \
     1827        Source/WebCore/dom/DeviceOrientationData.cpp \
     1828        Source/WebCore/dom/DeviceOrientationData.h \
    18281829        Source/WebCore/dom/DeviceOrientationEvent.cpp \
    18291830        Source/WebCore/dom/DeviceOrientationEvent.h \
    1830         Source/WebCore/dom/DeviceOrientation.h \
    18311831        Source/WebCore/dom/Document.cpp \
    18321832        Source/WebCore/dom/DocumentFragment.cpp \
  • trunk/Source/WebCore/Target.pri

    r120984 r121016  
    530530    dom/DeviceMotionData.cpp \
    531531    dom/DeviceMotionEvent.cpp \
    532     dom/DeviceOrientation.cpp \
    533532    dom/DeviceOrientationController.cpp \
     533    dom/DeviceOrientationData.cpp \   
    534534    dom/DeviceOrientationEvent.cpp \
    535535    dom/Document.cpp \
     
    17121712    dom/DeviceMotionData.h \
    17131713    dom/DeviceMotionEvent.h \
    1714     dom/DeviceOrientation.h \
    17151714    dom/DeviceOrientationClient.h \
    17161715    dom/DeviceOrientationController.h \
     1716    dom/DeviceOrientationData.h \
    17171717    dom/DeviceOrientationEvent.h \
    17181718    dom/Document.h \
  • trunk/Source/WebCore/WebCore.exp.in

    r120879 r121016  
    614614__ZN7WebCore27AuthenticationChallengeBaseC2Ev
    615615__ZN7WebCore27CSSComputedStyleDeclarationC1EN3WTF10PassRefPtrINS_4NodeEEEbRKNS1_6StringE
    616 __ZN7WebCore27DeviceOrientationClientMock14setOrientationEN3WTF10PassRefPtrINS_17DeviceOrientationEEE
     616__ZN7WebCore27DeviceOrientationClientMock14setOrientationEN3WTF10PassRefPtrINS_21DeviceOrientationDataEEE
    617617__ZN7WebCore27DeviceOrientationClientMockC1Ev
    618618__ZN7WebCore27startObservingCookieChangesEv
     
    15261526__ZN7WebCore16colorFromNSColorEP7NSColor
    15271527__ZN7WebCore16enclosingIntRectERK7_NSRect
    1528 __ZN7WebCore17DeviceOrientation6createEbdbdbdbb
     1528__ZN7WebCore21DeviceOrientationData6createEbdbdbdbb
    15291529__ZN7WebCore18SearchPopupMenuMacC1EPNS_15PopupMenuClientE
    15301530__ZN7WebCore19applicationIsSafariEv
  • trunk/Source/WebCore/WebCore.gypi

    r120984 r121016  
    626626            'dom/DeviceMotionClient.h',
    627627            'dom/DeviceMotionData.h',
    628             'dom/DeviceOrientation.h',
    629628            'dom/DeviceOrientationClient.h',
     629            'dom/DeviceOrientationData.h',
    630630            'dom/Document.h',
    631631            'dom/DocumentFragment.h',
     
    52925292            'dom/DeviceMotionEvent.cpp',
    52935293            'dom/DeviceMotionEvent.h',
    5294             'dom/DeviceOrientation.cpp',
    52955294            'dom/DeviceOrientationController.cpp',
    52965295            'dom/DeviceOrientationController.h',
     5296            'dom/DeviceOrientationData.cpp',
    52975297            'dom/DeviceOrientationEvent.cpp',
    52985298            'dom/DeviceOrientationEvent.h',
  • trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj

    r120984 r121016  
    4924849248                        </File>
    4924949249                        <File
    49250                                 RelativePath="..\dom\DeviceOrientation.cpp"
    49251                                 >
    49252                                 <FileConfiguration
    49253                                         Name="Debug|Win32"
    49254                                         ExcludedFromBuild="true"
    49255                                         >
    49256                                         <Tool
    49257                                                 Name="VCCLCompilerTool"
    49258                                         />
    49259                                 </FileConfiguration>
    49260                                 <FileConfiguration
    49261                                         Name="Release|Win32"
    49262                                         ExcludedFromBuild="true"
    49263                                         >
    49264                                         <Tool
    49265                                                 Name="VCCLCompilerTool"
    49266                                         />
    49267                                 </FileConfiguration>
    49268                                 <FileConfiguration
    49269                                         Name="Debug_Cairo_CFLite|Win32"
    49270                                         ExcludedFromBuild="true"
    49271                                         >
    49272                                         <Tool
    49273                                                 Name="VCCLCompilerTool"
    49274                                         />
    49275                                 </FileConfiguration>
    49276                                 <FileConfiguration
    49277                                         Name="Release_Cairo_CFLite|Win32"
    49278                                         ExcludedFromBuild="true"
    49279                                         >
    49280                                         <Tool
    49281                                                 Name="VCCLCompilerTool"
    49282                                         />
    49283                                 </FileConfiguration>
    49284                                 <FileConfiguration
    49285                                         Name="Debug_All|Win32"
    49286                                         ExcludedFromBuild="true"
    49287                                         >
    49288                                         <Tool
    49289                                                 Name="VCCLCompilerTool"
    49290                                         />
    49291                                 </FileConfiguration>
    49292                                 <FileConfiguration
    49293                                         Name="Production|Win32"
    49294                                         ExcludedFromBuild="true"
    49295                                         >
    49296                                         <Tool
    49297                                                 Name="VCCLCompilerTool"
    49298                                         />
    49299                                 </FileConfiguration>
    49300                         </File>
    49301                         <File
    49302                                 RelativePath="..\dom\DeviceOrientation.h"
    49303                                 >
    49304                         </File>
    49305                         <File
    4930649250                                RelativePath="..\dom\DeviceOrientationClient.h"
    4930749251                                >
     
    4936349307                                >
    4936449308                        </File>
     49309                        <File
     49310                                RelativePath="..\dom\DeviceOrientationData.cpp"
     49311                                >
     49312                                <FileConfiguration
     49313                                        Name="Debug|Win32"
     49314                                        ExcludedFromBuild="true"
     49315                                        >
     49316                                        <Tool
     49317                                                Name="VCCLCompilerTool"
     49318                                        />
     49319                                </FileConfiguration>
     49320                                <FileConfiguration
     49321                                        Name="Release|Win32"
     49322                                        ExcludedFromBuild="true"
     49323                                        >
     49324                                        <Tool
     49325                                                Name="VCCLCompilerTool"
     49326                                        />
     49327                                </FileConfiguration>
     49328                                <FileConfiguration
     49329                                        Name="Debug_Cairo_CFLite|Win32"
     49330                                        ExcludedFromBuild="true"
     49331                                        >
     49332                                        <Tool
     49333                                                Name="VCCLCompilerTool"
     49334                                        />
     49335                                </FileConfiguration>
     49336                                <FileConfiguration
     49337                                        Name="Release_Cairo_CFLite|Win32"
     49338                                        ExcludedFromBuild="true"
     49339                                        >
     49340                                        <Tool
     49341                                                Name="VCCLCompilerTool"
     49342                                        />
     49343                                </FileConfiguration>
     49344                                <FileConfiguration
     49345                                        Name="Debug_All|Win32"
     49346                                        ExcludedFromBuild="true"
     49347                                        >
     49348                                        <Tool
     49349                                                Name="VCCLCompilerTool"
     49350                                        />
     49351                                </FileConfiguration>
     49352                                <FileConfiguration
     49353                                        Name="Production|Win32"
     49354                                        ExcludedFromBuild="true"
     49355                                        >
     49356                                        <Tool
     49357                                                Name="VCCLCompilerTool"
     49358                                        />
     49359                                </FileConfiguration>
     49360                        </File>
     49361                        <File
     49362                                RelativePath="..\dom\DeviceOrientationData.h"
     49363                                >
     49364                        </File>
    4936549365                        <File
    4936649366                                RelativePath="..\dom\DeviceOrientationEvent.cpp"
  • trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj

    r120984 r121016  
    16041604                5905ADBF1302F3CE00F116DF /* XMLTreeViewer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5905ADBD1302F3CE00F116DF /* XMLTreeViewer.cpp */; };
    16051605                5905ADC01302F3CE00F116DF /* XMLTreeViewer.h in Headers */ = {isa = PBXBuildFile; fileRef = 5905ADBE1302F3CE00F116DF /* XMLTreeViewer.h */; };
    1606                 590E1B4911E4EF4B0069F784 /* DeviceOrientation.h in Headers */ = {isa = PBXBuildFile; fileRef = 590E1B4811E4EF4B0069F784 /* DeviceOrientation.h */; settings = {ATTRIBUTES = (Private, ); }; };
     1606                590E1B4911E4EF4B0069F784 /* DeviceOrientationData.h in Headers */ = {isa = PBXBuildFile; fileRef = 590E1B4811E4EF4B0069F784 /* DeviceOrientationData.h */; settings = {ATTRIBUTES = (Private, ); }; };
    16071607                590E1B4B11E4EF700069F784 /* JSDeviceOrientationEventCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 590E1B4A11E4EF700069F784 /* JSDeviceOrientationEventCustom.cpp */; };
    16081608                59102FBB14327D3B003C9D04 /* ContentSearchUtils.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 59102FB914327D3B003C9D04 /* ContentSearchUtils.cpp */; };
     
    16401640                59C28045138DC2410079B7E2 /* XMLErrors.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 59C28043138DC2410079B7E2 /* XMLErrors.cpp */; };
    16411641                59C28046138DC2410079B7E2 /* XMLErrors.h in Headers */ = {isa = PBXBuildFile; fileRef = 59C28044138DC2410079B7E2 /* XMLErrors.h */; };
    1642                 59D1C10411EB5DCF00B638C8 /* DeviceOrientation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 59D1C10311EB5DCF00B638C8 /* DeviceOrientation.cpp */; };
     1642                59D1C10411EB5DCF00B638C8 /* DeviceOrientationData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 59D1C10311EB5DCF00B638C8 /* DeviceOrientationData.cpp */; };
    16431643                59DE790413F16C7F0007FCDF /* JavaMethodJSC.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 59DE790313F16C7F0007FCDF /* JavaMethodJSC.cpp */; };
    16441644                59DE790613F16C8C0007FCDF /* JavaMethodJSC.h in Headers */ = {isa = PBXBuildFile; fileRef = 59DE790513F16C8C0007FCDF /* JavaMethodJSC.h */; };
     
    86878687                5905ADBD1302F3CE00F116DF /* XMLTreeViewer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = XMLTreeViewer.cpp; sourceTree = "<group>"; };
    86888688                5905ADBE1302F3CE00F116DF /* XMLTreeViewer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XMLTreeViewer.h; sourceTree = "<group>"; };
    8689                 590E1B4811E4EF4B0069F784 /* DeviceOrientation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DeviceOrientation.h; sourceTree = "<group>"; };
     8689                590E1B4811E4EF4B0069F784 /* DeviceOrientationData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DeviceOrientationData.h; sourceTree = "<group>"; };
    86908690                590E1B4A11E4EF700069F784 /* JSDeviceOrientationEventCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSDeviceOrientationEventCustom.cpp; sourceTree = "<group>"; };
    86918691                59102FB914327D3B003C9D04 /* ContentSearchUtils.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ContentSearchUtils.cpp; sourceTree = "<group>"; };
     
    87268726                59C28043138DC2410079B7E2 /* XMLErrors.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = XMLErrors.cpp; sourceTree = "<group>"; };
    87278727                59C28044138DC2410079B7E2 /* XMLErrors.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XMLErrors.h; sourceTree = "<group>"; };
    8728                 59D1C10311EB5DCF00B638C8 /* DeviceOrientation.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DeviceOrientation.cpp; sourceTree = "<group>"; };
     8728                59D1C10311EB5DCF00B638C8 /* DeviceOrientationData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DeviceOrientationData.cpp; sourceTree = "<group>"; };
    87298729                59DE790313F16C7F0007FCDF /* JavaMethodJSC.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = JavaMethodJSC.cpp; path = jsc/JavaMethodJSC.cpp; sourceTree = "<group>"; };
    87308730                59DE790513F16C8C0007FCDF /* JavaMethodJSC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = JavaMethodJSC.h; path = jsc/JavaMethodJSC.h; sourceTree = "<group>"; };
     
    2130521305                                31FB1A55120A5D0600DC02A0 /* DeviceMotionEvent.h */,
    2130621306                                31FB1A56120A5D0600DC02A0 /* DeviceMotionEvent.idl */,
    21307                                 59D1C10311EB5DCF00B638C8 /* DeviceOrientation.cpp */,
    21308                                 590E1B4811E4EF4B0069F784 /* DeviceOrientation.h */,
    2130921307                                59A8F1D711A69520001AC34A /* DeviceOrientationClient.h */,
    2131021308                                59A8F1D311A69508001AC34A /* DeviceOrientationController.cpp */,
    2131121309                                59A8F1D511A69513001AC34A /* DeviceOrientationController.h */,
     21310                                59D1C10311EB5DCF00B638C8 /* DeviceOrientationData.cpp */,
     21311                                590E1B4811E4EF4B0069F784 /* DeviceOrientationData.h */,
    2131221312                                59A85EA1119D68D900DEF1EF /* DeviceOrientationEvent.cpp */,
    2131321313                                59A85EA3119D68EC00DEF1EF /* DeviceOrientationEvent.h */,
     
    2227422274                                31FB1A5B120A5D0600DC02A0 /* DeviceMotionData.h in Headers */,
    2227522275                                31FB1A5D120A5D0600DC02A0 /* DeviceMotionEvent.h in Headers */,
    22276                                 590E1B4911E4EF4B0069F784 /* DeviceOrientation.h in Headers */,
    2227722276                                59A8F1D811A69520001AC34A /* DeviceOrientationClient.h in Headers */,
    2227822277                                59309A1311F4AE6A00250603 /* DeviceOrientationClientMock.h in Headers */,
    2227922278                                59A8F1D611A69513001AC34A /* DeviceOrientationController.h in Headers */,
     22279                                590E1B4911E4EF4B0069F784 /* DeviceOrientationData.h in Headers */,
    2228022280                                59A85EA4119D68EC00DEF1EF /* DeviceOrientationEvent.h in Headers */,
    2228122281                                CECADFC7153778FF00E37068 /* DictationAlternative.h in Headers */,
     
    2578325783                                31FB1A5A120A5D0600DC02A0 /* DeviceMotionData.cpp in Sources */,
    2578425784                                31FB1A5C120A5D0600DC02A0 /* DeviceMotionEvent.cpp in Sources */,
    25785                                 59D1C10411EB5DCF00B638C8 /* DeviceOrientation.cpp in Sources */,
    2578625785                                59309A1111F4AE5800250603 /* DeviceOrientationClientMock.cpp in Sources */,
    2578725786                                59A8F1D411A69508001AC34A /* DeviceOrientationController.cpp in Sources */,
     25787                                59D1C10411EB5DCF00B638C8 /* DeviceOrientationData.cpp in Sources */,
    2578825788                                59A85EA2119D68D900DEF1EF /* DeviceOrientationEvent.cpp in Sources */,
    2578925789                                CECADFC6153778FF00E37068 /* DictationAlternative.cpp in Sources */,
  • trunk/Source/WebCore/bindings/js/JSDeviceOrientationEventCustom.cpp

    r117646 r121016  
    3030#include "JSDeviceOrientationEvent.h"
    3131
    32 #include "DeviceOrientation.h"
     32#include "DeviceOrientationData.h"
    3333#include "DeviceOrientationEvent.h"
    3434
     
    8484    bool absoluteProvided = !exec->argument(5).isUndefinedOrNull();
    8585    bool absolute = exec->argument(6).toBoolean();
    86     RefPtr<DeviceOrientation> orientation = DeviceOrientation::create(alphaProvided, alpha, betaProvided, beta, gammaProvided, gamma, absoluteProvided, absolute);
     86    RefPtr<DeviceOrientationData> orientation = DeviceOrientationData::create(alphaProvided, alpha, betaProvided, beta, gammaProvided, gamma, absoluteProvided, absolute);
    8787    DeviceOrientationEvent* imp = static_cast<DeviceOrientationEvent*>(impl());
    8888    imp->initDeviceOrientationEvent(type, bubbles, cancelable, orientation.get());
  • trunk/Source/WebCore/bindings/v8/custom/V8DeviceOrientationEventCustom.cpp

    r118998 r121016  
    2929#if ENABLE(DEVICE_ORIENTATION)
    3030
    31 #include "DeviceOrientation.h"
     31#include "DeviceOrientationData.h"
    3232#include "V8Binding.h"
    3333#include "V8BindingMacros.h"
     
    9494    bool absoluteProvided = !isUndefinedOrNull(args[6]);
    9595    bool absolute = args[6]->BooleanValue();
    96     RefPtr<DeviceOrientation> orientation = DeviceOrientation::create(alphaProvided, alpha, betaProvided, beta, gammaProvided, gamma, absoluteProvided, absolute);
     96    RefPtr<DeviceOrientationData> orientation = DeviceOrientationData::create(alphaProvided, alpha, betaProvided, beta, gammaProvided, gamma, absoluteProvided, absolute);
    9797    imp->initDeviceOrientationEvent(type, bubbles, cancelable, orientation.get());
    9898    return v8::Handle<v8::Value>();
  • trunk/Source/WebCore/dom/DOMAllInOne.cpp

    r120168 r121016  
    5656#include "DeviceMotionData.cpp"
    5757#include "DeviceMotionEvent.cpp"
    58 #include "DeviceOrientation.cpp"
    5958#include "DeviceOrientationController.cpp"
     59#include "DeviceOrientationData.cpp"
    6060#include "DeviceOrientationEvent.cpp"
    6161#include "Document.cpp"
  • trunk/Source/WebCore/dom/DeviceOrientationClient.h

    r107518 r121016  
    2929namespace WebCore {
    3030
    31 class DeviceOrientation;
    3231class DeviceOrientationController;
     32class DeviceOrientationData;
    3333class Page;
    3434
     
    3636public:
    3737    virtual ~DeviceOrientationClient() {}
    38 
    3938    virtual void setController(DeviceOrientationController*) = 0;
    4039    virtual void startUpdating() = 0;
    4140    virtual void stopUpdating() = 0;
    42     virtual DeviceOrientation* lastOrientation() const = 0;
     41    virtual DeviceOrientationData* lastOrientation() const = 0;
    4342    virtual void deviceOrientationControllerDestroyed() = 0;
    4443};
  • trunk/Source/WebCore/dom/DeviceOrientationController.cpp

    r120061 r121016  
    2727#include "DeviceOrientationController.h"
    2828
    29 #include "DeviceOrientation.h"
    3029#include "DeviceOrientationClient.h"
     30#include "DeviceOrientationData.h"
    3131#include "DeviceOrientationEvent.h"
    3232
     
    5656    ASSERT(m_client->lastOrientation());
    5757
    58     RefPtr<DeviceOrientation> orientation = m_client->lastOrientation();
     58    RefPtr<DeviceOrientationData> orientation = m_client->lastOrientation();
    5959    RefPtr<DeviceOrientationEvent> event = DeviceOrientationEvent::create(eventNames().deviceorientationEvent, orientation.get());
    6060
     
    128128}
    129129
    130 void DeviceOrientationController::didChangeDeviceOrientation(DeviceOrientation* orientation)
     130void DeviceOrientationController::didChangeDeviceOrientation(DeviceOrientationData* orientation)
    131131{
    132132    RefPtr<DeviceOrientationEvent> event = DeviceOrientationEvent::create(eventNames().deviceorientationEvent, orientation);
  • trunk/Source/WebCore/dom/DeviceOrientationController.h

    r120061 r121016  
    3535namespace WebCore {
    3636
    37 class DeviceOrientation;
     37class DeviceOrientationData;
    3838class DeviceOrientationClient;
    3939
     
    5151    void resumeEventsForAllListeners(DOMWindow*);
    5252
    53     void didChangeDeviceOrientation(DeviceOrientation*);
     53    void didChangeDeviceOrientation(DeviceOrientationData*);
    5454
    5555    bool isActive() { return !m_listeners.isEmpty(); }
  • trunk/Source/WebCore/dom/DeviceOrientationData.cpp

    r121015 r121016  
    2525
    2626#include "config.h"
    27 #include "DeviceOrientation.h"
     27#include "DeviceOrientationData.h"
    2828
    2929namespace WebCore {
    3030
    31 PassRefPtr<DeviceOrientation> DeviceOrientation::create()
     31PassRefPtr<DeviceOrientationData> DeviceOrientationData::create()
    3232{
    33     return adoptRef(new DeviceOrientation);
     33    return adoptRef(new DeviceOrientationData);
    3434}
    3535
    36 PassRefPtr<DeviceOrientation> DeviceOrientation::create(bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma, bool canProvideAbsolute, bool absolute)
     36PassRefPtr<DeviceOrientationData> DeviceOrientationData::create(bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma, bool canProvideAbsolute, bool absolute)
    3737{
    38     return adoptRef(new DeviceOrientation(canProvideAlpha, alpha, canProvideBeta, beta, canProvideGamma, gamma, canProvideAbsolute, absolute));
     38    return adoptRef(new DeviceOrientationData(canProvideAlpha, alpha, canProvideBeta, beta, canProvideGamma, gamma, canProvideAbsolute, absolute));
    3939}
    4040
    4141
    42 DeviceOrientation::DeviceOrientation()
     42DeviceOrientationData::DeviceOrientationData()
    4343    : m_canProvideAlpha(false)
    4444    , m_canProvideBeta(false)
     
    5252}
    5353
    54 DeviceOrientation::DeviceOrientation(bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma, bool canProvideAbsolute, bool absolute)
     54DeviceOrientationData::DeviceOrientationData(bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma, bool canProvideAbsolute, bool absolute)
    5555    : m_canProvideAlpha(canProvideAlpha)
    5656    , m_canProvideBeta(canProvideBeta)
     
    6464}
    6565
    66 double DeviceOrientation::alpha() const
     66double DeviceOrientationData::alpha() const
    6767{
    6868    return m_alpha;
    6969}
    7070
    71 double DeviceOrientation::beta() const
     71double DeviceOrientationData::beta() const
    7272{
    7373    return m_beta;
    7474}
    7575
    76 double DeviceOrientation::gamma() const
     76double DeviceOrientationData::gamma() const
    7777{
    7878    return m_gamma;
    7979}
    8080
    81 bool DeviceOrientation::absolute() const
     81bool DeviceOrientationData::absolute() const
    8282{
    8383    return m_absolute;
    8484}
    8585
    86 bool DeviceOrientation::canProvideAlpha() const
     86bool DeviceOrientationData::canProvideAlpha() const
    8787{
    8888    return m_canProvideAlpha;
    8989}
    9090
    91 bool DeviceOrientation::canProvideBeta() const
     91bool DeviceOrientationData::canProvideBeta() const
    9292{
    9393    return m_canProvideBeta;
    9494}
    9595
    96 bool DeviceOrientation::canProvideGamma() const
     96bool DeviceOrientationData::canProvideGamma() const
    9797{
    9898    return m_canProvideGamma;
    9999}
    100100
    101 bool DeviceOrientation::canProvideAbsolute() const
     101bool DeviceOrientationData::canProvideAbsolute() const
    102102{
    103103    return m_canProvideAbsolute;
  • trunk/Source/WebCore/dom/DeviceOrientationData.h

    r121015 r121016  
    2424 */
    2525
    26 #ifndef DeviceOrientation_h
    27 #define DeviceOrientation_h
     26#ifndef DeviceOrientationData_h
     27#define DeviceOrientationData_h
    2828
    2929#include <wtf/PassRefPtr.h>
     
    3232namespace WebCore {
    3333
    34 class DeviceOrientation : public RefCounted<DeviceOrientation> {
     34class DeviceOrientationData : public RefCounted<DeviceOrientationData> {
    3535public:
    36     static PassRefPtr<DeviceOrientation> create();
    37     static PassRefPtr<DeviceOrientation> create(bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma, bool canProvideAbsolute = false, bool absolute = false);
     36    static PassRefPtr<DeviceOrientationData> create();
     37    static PassRefPtr<DeviceOrientationData> create(bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma, bool canProvideAbsolute = false, bool absolute = false);
    3838
    3939    double alpha() const;
     
    4747
    4848private:
    49     DeviceOrientation();
    50     DeviceOrientation(bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma, bool canProvideAbsolute, bool absolute);
     49    DeviceOrientationData();
     50    DeviceOrientationData(bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma, bool canProvideAbsolute, bool absolute);
    5151
    5252    bool m_canProvideAlpha;
     
    6262} // namespace WebCore
    6363
    64 #endif // DeviceOrientation_h
     64#endif // DeviceOrientationData_h
  • trunk/Source/WebCore/dom/DeviceOrientationEvent.cpp

    r98044 r121016  
    2727#include "DeviceOrientationEvent.h"
    2828
    29 #include "DeviceOrientation.h"
     29#include "DeviceOrientationData.h"
    3030#include "EventNames.h"
    3131
     
    3737
    3838DeviceOrientationEvent::DeviceOrientationEvent()
    39     : m_orientation(DeviceOrientation::create())
     39    : m_orientation(DeviceOrientationData::create())
    4040{
    4141}
    4242
    43 DeviceOrientationEvent::DeviceOrientationEvent(const AtomicString& eventType, DeviceOrientation* orientation)
     43DeviceOrientationEvent::DeviceOrientationEvent(const AtomicString& eventType, DeviceOrientationData* orientation)
    4444    : Event(eventType, false, false) // Can't bubble, not cancelable
    4545    , m_orientation(orientation)
     
    4747}
    4848
    49 void DeviceOrientationEvent::initDeviceOrientationEvent(const AtomicString& type, bool bubbles, bool cancelable, DeviceOrientation* orientation)
     49void DeviceOrientationEvent::initDeviceOrientationEvent(const AtomicString& type, bool bubbles, bool cancelable, DeviceOrientationData* orientation)
    5050{
    5151    if (dispatched())
  • trunk/Source/WebCore/dom/DeviceOrientationEvent.h

    r98044 r121016  
    3131namespace WebCore {
    3232
    33 class DeviceOrientation;
     33class DeviceOrientationData;
    3434
    3535class DeviceOrientationEvent : public Event {
     
    4040        return adoptRef(new DeviceOrientationEvent);
    4141    }
    42     static PassRefPtr<DeviceOrientationEvent> create(const AtomicString& eventType, DeviceOrientation* orientation)
     42    static PassRefPtr<DeviceOrientationEvent> create(const AtomicString& eventType, DeviceOrientationData* orientation)
    4343    {
    4444        return adoptRef(new DeviceOrientationEvent(eventType, orientation));
    4545    }
    4646
    47     void initDeviceOrientationEvent(const AtomicString& type, bool bubbles, bool cancelable, DeviceOrientation*);
     47    void initDeviceOrientationEvent(const AtomicString& type, bool bubbles, bool cancelable, DeviceOrientationData*);
    4848
    49     DeviceOrientation* orientation() const { return m_orientation.get(); }
     49    DeviceOrientationData* orientation() const { return m_orientation.get(); }
    5050
    5151    virtual const AtomicString& interfaceName() const;
     
    5353private:
    5454    DeviceOrientationEvent();
    55     DeviceOrientationEvent(const AtomicString& eventType, DeviceOrientation*);
     55    DeviceOrientationEvent(const AtomicString& eventType, DeviceOrientationData*);
    5656
    57     RefPtr<DeviceOrientation> m_orientation;
     57    RefPtr<DeviceOrientationData> m_orientation;
    5858};
    5959
  • trunk/Source/WebCore/loader/EmptyClients.h

    r120224 r121016  
    592592    virtual void startUpdating() { }
    593593    virtual void stopUpdating() { }
    594     virtual DeviceOrientation* lastOrientation() const { return 0; }
     594    virtual DeviceOrientationData* lastOrientation() const { return 0; }
    595595    virtual void deviceOrientationControllerDestroyed() { }
    596596};
  • trunk/Source/WebCore/platform/mock/DeviceOrientationClientMock.cpp

    r95901 r121016  
    5656}
    5757
    58 void DeviceOrientationClientMock::setOrientation(PassRefPtr<DeviceOrientation> orientation)
     58void DeviceOrientationClientMock::setOrientation(PassRefPtr<DeviceOrientationData> orientation)
    5959{
    6060    m_orientation = orientation;
  • trunk/Source/WebCore/platform/mock/DeviceOrientationClientMock.h

    r120655 r121016  
    2727#define DeviceOrientationClientMock_h
    2828
    29 #include "DeviceOrientation.h"
    3029#include "DeviceOrientationClient.h"
     30#include "DeviceOrientationData.h"
    3131#include "Timer.h"
    3232
     
    4949    virtual void startUpdating() OVERRIDE;
    5050    virtual void stopUpdating() OVERRIDE;
    51     virtual DeviceOrientation* lastOrientation() const OVERRIDE { return m_orientation.get(); }
     51    virtual DeviceOrientationData* lastOrientation() const OVERRIDE { return m_orientation.get(); }
    5252    virtual void deviceOrientationControllerDestroyed() OVERRIDE { }
    5353
    54     void setOrientation(PassRefPtr<DeviceOrientation>);
     54    void setOrientation(PassRefPtr<DeviceOrientationData>);
    5555
    5656private:
    5757    void timerFired(Timer<DeviceOrientationClientMock>*);
    5858
    59     RefPtr<DeviceOrientation> m_orientation;
     59    RefPtr<DeviceOrientationData> m_orientation;
    6060    DeviceOrientationController* m_controller;
    6161    Timer<DeviceOrientationClientMock> m_timer;
  • trunk/Source/WebCore/platform/qt/DeviceOrientationClientQt.cpp

    r115812 r121016  
    5151}
    5252
    53 DeviceOrientation* DeviceOrientationClientQt::lastOrientation() const
     53DeviceOrientationData* DeviceOrientationClientQt::lastOrientation() const
    5454{
    5555    return (m_provider) ? m_provider->lastOrientation() : 0;
  • trunk/Source/WebCore/platform/qt/DeviceOrientationClientQt.h

    r115812 r121016  
    2121#define DeviceOrientationClientQt_h
    2222
    23 #include "DeviceOrientation.h"
    2423#include "DeviceOrientationClient.h"
     24#include "DeviceOrientationData.h"
    2525
    2626#include "DeviceOrientationController.h"
     
    3838    virtual void startUpdating();
    3939    virtual void stopUpdating();
    40     virtual DeviceOrientation* lastOrientation() const;
     40    virtual DeviceOrientationData* lastOrientation() const;
    4141    virtual void deviceOrientationControllerDestroyed();
    4242
  • trunk/Source/WebCore/platform/qt/DeviceOrientationProviderQt.cpp

    r115857 r121016  
    2727{
    2828    m_sensor.addFilter(this);
    29     m_lastOrientation = DeviceOrientation::create();
     29    m_lastOrientation = DeviceOrientationData::create();
    3030}
    3131
     
    6767        // depending if the device is able do detect the alpha rotation. X (beta) and
    6868        // Y (gamma) axis are availble in this context.
    69         m_lastOrientation = DeviceOrientation::create(hasAlpha(), reading->z(),
     69        m_lastOrientation = DeviceOrientationData::create(hasAlpha(), reading->z(),
    7070                /* x available */ true, reading->x(),
    7171                /* y available */ true, reading->y());
  • trunk/Source/WebCore/platform/qt/DeviceOrientationProviderQt.h

    r119098 r121016  
    2121#define DeviceOrientationProviderQt_h
    2222
    23 #include "DeviceOrientation.h"
    2423#include "DeviceOrientationController.h"
     24#include "DeviceOrientationData.h"
    2525#include <QRotationFilter>
    2626#include <wtf/RefPtr.h>
     
    4646    void stop();
    4747    bool isActive() const { return m_sensor.isActive(); }
    48     DeviceOrientation* lastOrientation() const { return m_lastOrientation.get(); }
     48    DeviceOrientationData* lastOrientation() const { return m_lastOrientation.get(); }
    4949    bool hasAlpha() const { return m_sensor.property("hasZ").toBool(); }
    5050
    5151private:
    52     RefPtr<DeviceOrientation> m_lastOrientation;
     52    RefPtr<DeviceOrientationData> m_lastOrientation;
    5353    DeviceOrientationController* m_controller;
    5454    QRotationSensor m_sensor;
  • trunk/Source/WebKit/blackberry/ChangeLog

    r121013 r121016  
     12012-06-22  Amy Ousterhout  <aousterh@chromium.org>
     2
     3        Renamed DeviceOrientation to DeviceOrientationData
     4        https://bugs.webkit.org/show_bug.cgi?id=88663
     5
     6        Reviewed by Steve Block.
     7
     8        Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
     9        This change makes DeviceOrientationData consistent with DeviceMotionData.
     10
     11        * WebCoreSupport/DeviceOrientationClientBlackBerry.h:
     12        (DeviceOrientationClientBlackBerry):
     13
    1142012-06-22  Joseph Pecoraro  <pecoraro@apple.com>
    215
  • trunk/Source/WebKit/blackberry/WebCoreSupport/DeviceOrientationClientBlackBerry.h

    r106976 r121016  
    2020#define DeviceOrientationClientBlackBerry_h
    2121
    22 #include "DeviceOrientation.h"
    2322#include "DeviceOrientationClient.h"
     23#include "DeviceOrientationData.h"
    2424
    2525#include <BlackBerryPlatformDeviceOrientationTrackerListener.h>
     
    4848    virtual void startUpdating();
    4949    virtual void stopUpdating();
    50     virtual DeviceOrientation* lastOrientation() const;
     50    virtual DeviceOrientationData* lastOrientation() const;
    5151    virtual void deviceOrientationControllerDestroyed();
    5252    virtual void onOrientation(const BlackBerry::Platform::DeviceOrientationEvent*);
     
    5656    BlackBerry::Platform::DeviceOrientationTracker* m_tracker;
    5757    DeviceOrientationController* m_controller;
    58     RefPtr<DeviceOrientation> m_currentOrientation;
     58    RefPtr<DeviceOrientationData> m_currentOrientation;
    5959};
    6060}
  • trunk/Source/WebKit/chromium/ChangeLog

    r121013 r121016  
     12012-06-22  Amy Ousterhout  <aousterh@chromium.org>
     2
     3        Renamed DeviceOrientation to DeviceOrientationData
     4        https://bugs.webkit.org/show_bug.cgi?id=88663
     5
     6        Reviewed by Steve Block.
     7
     8        Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
     9        This change makes DeviceOrientationData consistent with DeviceMotionData.
     10       
     11        * public/WebDeviceOrientation.h:
     12        (WebDeviceOrientation):
     13        * src/DeviceOrientationClientProxy.cpp:
     14        (WebKit::DeviceOrientationClientProxy::lastOrientation):
     15        * src/DeviceOrientationClientProxy.h:
     16        (DeviceOrientationClientProxy):
     17        * src/WebDeviceOrientation.cpp:
     18        (WebKit::WebDeviceOrientation::WebDeviceOrientation):
     19        (WebKit::WebDeviceOrientation::operator=):
     20        (WebKit::WebDeviceOrientation::operator PassRefPtr<WebCore::DeviceOrientationData>):
     21        * src/WebDeviceOrientationController.cpp:
     22        (WebKit::WebDeviceOrientationController::didChangeDeviceOrientation):
     23
    1242012-06-22  Joseph Pecoraro  <pecoraro@apple.com>
    225
  • trunk/Source/WebKit/chromium/public/WebDeviceOrientation.h

    r120655 r121016  
    2929#if WEBKIT_IMPLEMENTATION
    3030namespace WTF { template <typename T> class PassRefPtr; }
    31 namespace WebCore { class DeviceOrientation; }
     31namespace WebCore { class DeviceOrientationData; }
    3232#endif
    3333
     
    8787
    8888#if WEBKIT_IMPLEMENTATION
    89     WebDeviceOrientation(const WebCore::DeviceOrientation*);
    90     WebDeviceOrientation& operator=(const WebCore::DeviceOrientation*);
    91     operator WTF::PassRefPtr<WebCore::DeviceOrientation>() const;
     89    WebDeviceOrientation(const WebCore::DeviceOrientationData*);
     90    WebDeviceOrientation& operator=(const WebCore::DeviceOrientationData*);
     91    operator WTF::PassRefPtr<WebCore::DeviceOrientationData>() const;
    9292#endif
    9393
  • trunk/Source/WebKit/chromium/src/DeviceOrientationClientProxy.cpp

    r95901 r121016  
    2727#include "DeviceOrientationClientProxy.h"
    2828
    29 #include "DeviceOrientation.h"
     29#include "DeviceOrientationData.h"
    3030#include "WebDeviceOrientation.h"
    3131#include "WebDeviceOrientationController.h"
     
    6161}
    6262
    63 WebCore::DeviceOrientation* DeviceOrientationClientProxy::lastOrientation() const
     63WebCore::DeviceOrientationData* DeviceOrientationClientProxy::lastOrientation() const
    6464{
    6565    if (!m_client)
    6666        return 0;
    6767
    68     // Cache the DeviceOrientation pointer so its reference count does not drop to zero upon return.
     68    // Cache the DeviceOrientationData pointer so its reference count does not drop to zero upon return.
    6969    m_lastOrientation = m_client->lastOrientation();
    7070
  • trunk/Source/WebKit/chromium/src/DeviceOrientationClientProxy.h

    r120655 r121016  
    2727#define DeviceOrientationClientProxy_h
    2828
    29 #include "DeviceOrientation.h"
    3029#include "DeviceOrientationClient.h"
     30#include "DeviceOrientationData.h"
    3131#include "WebDeviceOrientationClient.h"
    3232#include <wtf/RefPtr.h>
     
    4848    virtual void startUpdating() OVERRIDE;
    4949    virtual void stopUpdating() OVERRIDE;
    50     virtual WebCore::DeviceOrientation* lastOrientation() const OVERRIDE;
     50    virtual WebCore::DeviceOrientationData* lastOrientation() const OVERRIDE;
    5151    virtual void deviceOrientationControllerDestroyed() OVERRIDE;
    5252
    5353private:
    5454    WebDeviceOrientationClient* m_client;
    55     mutable RefPtr<WebCore::DeviceOrientation> m_lastOrientation;
     55    mutable RefPtr<WebCore::DeviceOrientationData> m_lastOrientation;
    5656};
    5757
  • trunk/Source/WebKit/chromium/src/WebDeviceOrientation.cpp

    r120655 r121016  
    2727#include "WebDeviceOrientation.h"
    2828
    29 #include "DeviceOrientation.h"
     29#include "DeviceOrientationData.h"
    3030#include <wtf/PassRefPtr.h>
    3131
    3232namespace WebKit {
    3333
    34 WebDeviceOrientation::WebDeviceOrientation(const WebCore::DeviceOrientation* orientation)
     34WebDeviceOrientation::WebDeviceOrientation(const WebCore::DeviceOrientationData* orientation)
    3535{
    3636    if (!orientation) {
     
    5858}
    5959
    60 WebDeviceOrientation& WebDeviceOrientation::operator=(const WebCore::DeviceOrientation* orientation)
     60WebDeviceOrientation& WebDeviceOrientation::operator=(const WebCore::DeviceOrientationData* orientation)
    6161{
    6262    if (!orientation) {
     
    8585}
    8686
    87 WebDeviceOrientation::operator PassRefPtr<WebCore::DeviceOrientation>() const
     87WebDeviceOrientation::operator PassRefPtr<WebCore::DeviceOrientationData>() const
    8888{
    8989    if (m_isNull)
    9090        return 0;
    91     return WebCore::DeviceOrientation::create(m_canProvideAlpha, m_alpha, m_canProvideBeta, m_beta, m_canProvideGamma, m_gamma, m_canProvideAbsolute, m_absolute);
     91    return WebCore::DeviceOrientationData::create(m_canProvideAlpha, m_alpha, m_canProvideBeta, m_beta, m_canProvideGamma, m_gamma, m_canProvideAbsolute, m_absolute);
    9292}
    9393
  • trunk/Source/WebKit/chromium/src/WebDeviceOrientationController.cpp

    r120716 r121016  
    2727#include "WebDeviceOrientationController.h"
    2828
    29 #include "DeviceOrientation.h"
    3029#include "DeviceOrientationController.h"
     30#include "DeviceOrientationData.h"
    3131#include "WebDeviceOrientation.h"
    3232#include <wtf/PassRefPtr.h>
     
    3636void WebDeviceOrientationController::didChangeDeviceOrientation(const WebDeviceOrientation& orientation)
    3737{
    38     RefPtr<WebCore::DeviceOrientation> deviceOrientation = PassRefPtr<WebCore::DeviceOrientation>(orientation);
     38    RefPtr<WebCore::DeviceOrientationData> deviceOrientation = PassRefPtr<WebCore::DeviceOrientationData>(orientation);
    3939    m_controller->didChangeDeviceOrientation(deviceOrientation.get());
    4040}
  • trunk/Source/WebKit/efl/ChangeLog

    r120694 r121016  
     12012-06-22  Amy Ousterhout  <aousterh@chromium.org>
     2
     3        Renamed DeviceOrientation to DeviceOrientationData
     4        https://bugs.webkit.org/show_bug.cgi?id=88663
     5
     6        Reviewed by Steve Block.
     7
     8        Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
     9        This change makes DeviceOrientationData consistent with DeviceMotionData.
     10       
     11        * WebCoreSupport/DeviceOrientationClientEfl.h:
     12        (DeviceOrientationClientEfl):
     13
    1142012-06-19  Sergio Villar Senin  <svillar@igalia.com>
    215
  • trunk/Source/WebKit/efl/WebCoreSupport/DeviceOrientationClientEfl.h

    r95901 r121016  
    2121#define DeviceOrientationClientEfl_h
    2222
    23 #include "DeviceOrientation.h"
    2423#include "DeviceOrientationClient.h"
     24#include "DeviceOrientationData.h"
    2525
    2626namespace WebCore {
     
    3434    virtual void startUpdating();
    3535    virtual void stopUpdating();
    36     virtual DeviceOrientation* lastOrientation() const;
     36    virtual DeviceOrientationData* lastOrientation() const;
    3737    virtual void deviceOrientationControllerDestroyed();
    3838
  • trunk/Source/WebKit/gtk/ChangeLog

    r120918 r121016  
     12012-06-22  Amy Ousterhout  <aousterh@chromium.org>
     2
     3        Renamed DeviceOrientation to DeviceOrientationData
     4        https://bugs.webkit.org/show_bug.cgi?id=88663
     5
     6        Reviewed by Steve Block.
     7
     8        Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
     9        This change makes DeviceOrientationData consistent with DeviceMotionData.
     10       
     11        * WebCoreSupport/DeviceOrientationClientGtk.h:
     12        (DeviceOrientationClientGtk):
     13
    1142012-06-21  Daniel Drake  <dsd@laptop.org>
    215
  • trunk/Source/WebKit/gtk/WebCoreSupport/DeviceOrientationClientGtk.h

    r95901 r121016  
    2222#define DeviceOrientationClientGtk_h
    2323
    24 #include "DeviceOrientation.h"
    2524#include "DeviceOrientationClient.h"
     25#include "DeviceOrientationData.h"
    2626
    2727namespace WebKit {
     
    3535    virtual void startUpdating();
    3636    virtual void stopUpdating();
    37     virtual WebCore::DeviceOrientation* lastOrientation() const;
     37    virtual WebCore::DeviceOrientationData* lastOrientation() const;
    3838    virtual void deviceOrientationControllerDestroyed();
    3939
  • trunk/Source/WebKit/mac/ChangeLog

    r120885 r121016  
     12012-06-22  Amy Ousterhout  <aousterh@chromium.org>
     2
     3        Renamed DeviceOrientation to DeviceOrientationData
     4        https://bugs.webkit.org/show_bug.cgi?id=88663
     5
     6        Reviewed by Steve Block.
     7
     8        Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
     9        This change makes DeviceOrientationData consistent with DeviceMotionData.
     10        * WebCoreSupport/WebDeviceOrientationClient.h:
     11        (WebDeviceOrientationClient):
     12        * WebCoreSupport/WebDeviceOrientationClient.mm:
     13        (WebDeviceOrientationClient::lastOrientation):
     14        * WebView/WebDeviceOrientation.mm:
     15        * WebView/WebDeviceOrientationInternal.h:
     16
    1172012-06-20  Garret Kelly  <gdk@chromium.org>
    218
  • trunk/Source/WebKit/mac/WebCoreSupport/WebDeviceOrientationClient.h

    r95901 r121016  
    4747    virtual void startUpdating() OVERRIDE;
    4848    virtual void stopUpdating() OVERRIDE;
    49     virtual WebCore::DeviceOrientation* lastOrientation() const OVERRIDE;
     49    virtual WebCore::DeviceOrientationData* lastOrientation() const OVERRIDE;
    5050    virtual void deviceOrientationControllerDestroyed() OVERRIDE;
    5151
  • trunk/Source/WebKit/mac/WebCoreSupport/WebDeviceOrientationClient.mm

    r95901 r121016  
    5656}
    5757
    58 DeviceOrientation* WebDeviceOrientationClient::lastOrientation() const
     58DeviceOrientationData* WebDeviceOrientationClient::lastOrientation() const
    5959{
    6060    return core([getProvider() lastOrientation]);
  • trunk/Source/WebKit/mac/WebView/WebDeviceOrientation.mm

    r95901 r121016  
    3030@implementation WebDeviceOrientationInternal
    3131
    32 - (id)initWithCoreDeviceOrientation:(PassRefPtr<DeviceOrientation>)coreDeviceOrientation
     32- (id)initWithCoreDeviceOrientation:(PassRefPtr<DeviceOrientationData>)coreDeviceOrientation
    3333{
    3434    self = [super init];
     
    4343@implementation WebDeviceOrientation (Internal)
    4444
    45 - (id)initWithCoreDeviceOrientation:(PassRefPtr<WebCore::DeviceOrientation>)coreDeviceOrientation
     45- (id)initWithCoreDeviceOrientation:(PassRefPtr<WebCore::DeviceOrientationData>)coreDeviceOrientation
    4646{
    4747    self = [super init];
     
    5656@implementation WebDeviceOrientation
    5757
    58 DeviceOrientation* core(WebDeviceOrientation* orientation)
     58DeviceOrientationData* core(WebDeviceOrientation* orientation)
    5959{
    6060    return orientation ? orientation->m_internal->m_orientation.get() : 0;
     
    6666    if (!self)
    6767        return nil;
    68     m_internal = [[WebDeviceOrientationInternal alloc] initWithCoreDeviceOrientation:DeviceOrientation::create(canProvideAlpha, alpha, canProvideBeta, beta, canProvideGamma, gamma)];
     68    m_internal = [[WebDeviceOrientationInternal alloc] initWithCoreDeviceOrientation:DeviceOrientationData::create(canProvideAlpha, alpha, canProvideBeta, beta, canProvideGamma, gamma)];
    6969    return self;
    7070}
  • trunk/Source/WebKit/mac/WebView/WebDeviceOrientationInternal.h

    r95901 r121016  
    2626#import "WebDeviceOrientation.h"
    2727
    28 #import <WebCore/DeviceOrientation.h>
     28#import <WebCore/DeviceOrientationData.h>
    2929#import <wtf/RefPtr.h>
    3030
    3131@interface WebDeviceOrientationInternal : NSObject {
    3232@public
    33     RefPtr<WebCore::DeviceOrientation> m_orientation;
     33    RefPtr<WebCore::DeviceOrientationData> m_orientation;
    3434}
    3535
    36 - (id)initWithCoreDeviceOrientation:(PassRefPtr<WebCore::DeviceOrientation>)coreDeviceOrientation;
     36- (id)initWithCoreDeviceOrientation:(PassRefPtr<WebCore::DeviceOrientationData>)coreDeviceOrientation;
    3737@end
    3838
    3939@interface WebDeviceOrientation (Internal)
    4040
    41 - (id)initWithCoreDeviceOrientation:(PassRefPtr<WebCore::DeviceOrientation>)coreDeviceOrientation;
     41- (id)initWithCoreDeviceOrientation:(PassRefPtr<WebCore::DeviceOrientationData>)coreDeviceOrientation;
    4242
    4343@end
    4444
    45 WebCore::DeviceOrientation* core(WebDeviceOrientation*);
     45WebCore::DeviceOrientationData* core(WebDeviceOrientation*);
  • trunk/Source/WebKit/qt/ChangeLog

    r120915 r121016  
     12012-06-22  Amy Ousterhout  <aousterh@chromium.org>
     2
     3        Renamed DeviceOrientation to DeviceOrientationData
     4        https://bugs.webkit.org/show_bug.cgi?id=88663
     5
     6        Reviewed by Steve Block.
     7
     8        Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
     9        This change makes DeviceOrientationData consistent with DeviceMotionData.
     10       
     11        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
     12        (DumpRenderTreeSupportQt::setMockDeviceOrientation):
     13       
    1142012-06-21  Thiago Marcos P. Santos  <thiago.santos@intel.com>
    215
  • trunk/Source/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp

    r120054 r121016  
    3434#include "ContextMenuClientQt.h"
    3535#include "ContextMenuController.h"
    36 #include "DeviceOrientation.h"
    3736#include "DeviceOrientationClientMock.h"
    3837#include "DeviceOrientationController.h"
     38#include "DeviceOrientationData.h"
    3939#include "DocumentLoader.h"
    4040#include "Editor.h"
     
    770770    Page* corePage = QWebPagePrivate::core(page);
    771771    DeviceOrientationClientMock* mockClient = toDeviceOrientationClientMock(DeviceOrientationController::from(corePage)->client());
    772     mockClient->setOrientation(DeviceOrientation::create(canProvideAlpha, alpha, canProvideBeta, beta, canProvideGamma, gamma));
     772    mockClient->setOrientation(DeviceOrientationData::create(canProvideAlpha, alpha, canProvideBeta, beta, canProvideGamma, gamma));
    773773#endif
    774774}
Note: See TracChangeset for help on using the changeset viewer.