Changeset 166657 in webkit
- Timestamp:
- Apr 2, 2014 12:34:17 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 4 deleted
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r166650 r166657 1 2014-04-02 Timothy Hatcher <timothy@apple.com> 2 3 Remove Input domain from the Web Inspector protocol. 4 5 https://bugs.webkit.org/show_bug.cgi?id=131073 6 7 Reviewed by Joseph Pecoraro. 8 9 * inspector-protocol/input/dispatchKeyEvent-expected.txt: Removed. 10 * inspector-protocol/input/dispatchKeyEvent.html: Removed. 11 * inspector-protocol/input/dispatchMouseEvent-expected.txt: Removed. 12 * inspector-protocol/input/dispatchMouseEvent.html: Removed. 13 1 14 2014-04-02 David Kilzer <ddkilzer@apple.com> 2 15 -
trunk/Source/WebCore/CMakeLists.txt
r166648 r166657 763 763 ${WEBCORE_DIR}/inspector/protocol/DOMStorage.json 764 764 ${WEBCORE_DIR}/inspector/protocol/IndexedDB.json 765 ${WEBCORE_DIR}/inspector/protocol/Input.json766 765 ${WEBCORE_DIR}/inspector/protocol/LayerTree.json 767 766 ${WEBCORE_DIR}/inspector/protocol/Network.json … … 1578 1577 inspector/InspectorHistory.cpp 1579 1578 inspector/InspectorIndexedDBAgent.cpp 1580 inspector/InspectorInputAgent.cpp1581 1579 inspector/InspectorInstrumentation.cpp 1582 1580 inspector/InspectorInstrumentationCookie.cpp -
trunk/Source/WebCore/ChangeLog
r166654 r166657 1 2014-04-02 Timothy Hatcher <timothy@apple.com> 2 3 Remove Input domain from the Web Inspector protocol. 4 5 https://bugs.webkit.org/show_bug.cgi?id=131073 6 7 Reviewed by Joseph Pecoraro. 8 9 * CMakeLists.txt: 10 * DerivedSources.make: 11 * WebCore.vcxproj/WebCore.vcxproj: 12 * WebCore.vcxproj/WebCore.vcxproj.filters: 13 * WebCore.xcodeproj/project.pbxproj: 14 * inspector/InspectorAllInOne.cpp: 15 * inspector/InspectorController.cpp: 16 (WebCore::InspectorController::InspectorController): 17 * inspector/InspectorInputAgent.cpp: Removed. 18 * inspector/InspectorInputAgent.h: Removed. 19 * inspector/protocol/Input.json: Removed. 20 1 21 2014-04-02 Antti Koivisto <antti@apple.com> 2 22 -
trunk/Source/WebCore/DerivedSources.make
r166622 r166657 1121 1121 $(WebCore)/inspector/protocol/DOMDebugger.json \ 1122 1122 $(WebCore)/inspector/protocol/DOMStorage.json \ 1123 $(WebCore)/inspector/protocol/Input.json \1124 1123 $(WebCore)/inspector/protocol/LayerTree.json \ 1125 1124 $(WebCore)/inspector/protocol/Network.json \ -
trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj
r166642 r166657 17812 17812 </ClCompile> 17813 17813 <ClCompile Include="..\inspector\InspectorIndexedDBAgent.cpp"> 17814 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>17815 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>17816 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|Win32'">true</ExcludedFromBuild>17817 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|x64'">true</ExcludedFromBuild>17818 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|Win32'">true</ExcludedFromBuild>17819 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|x64'">true</ExcludedFromBuild>17820 </ClCompile>17821 <ClCompile Include="..\inspector\InspectorInputAgent.cpp">17822 17814 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild> 17823 17815 <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild> … … 21074 21066 <ClInclude Include="..\inspector\InspectorHistory.h" /> 21075 21067 <ClInclude Include="..\inspector\InspectorIndexedDBAgent.h" /> 21076 <ClInclude Include="..\inspector\InspectorInputAgent.h" />21077 21068 <ClInclude Include="..\inspector\InspectorInstrumentation.h" /> 21078 21069 <ClInclude Include="..\inspector\InspectorInstrumentationCookie.h" /> -
trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters
r166642 r166657 4783 4783 <Filter>inspector</Filter> 4784 4784 </ClCompile> 4785 <ClCompile Include="..\inspector\InspectorInputAgent.cpp">4786 <Filter>inspector</Filter>4787 </ClCompile>4788 4785 <ClCompile Include="..\inspector\InspectorInstrumentation.cpp"> 4789 4786 <Filter>inspector</Filter> … … 12399 12396 </ClInclude> 12400 12397 <ClInclude Include="..\inspector\InspectorIndexedDBAgent.h"> 12401 <Filter>inspector</Filter>12402 </ClInclude>12403 <ClInclude Include="..\inspector\InspectorInputAgent.h">12404 12398 <Filter>inspector</Filter> 12405 12399 </ClInclude> -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r166654 r166657 1714 1714 4B8AF4AA0B1CE02B00687690 /* ClipboardAccessPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = 4B8AF4A90B1CE02B00687690 /* ClipboardAccessPolicy.h */; settings = {ATTRIBUTES = (Private, ); }; }; 1715 1715 4BAE95B10B2FA9CE00AED8A0 /* EditorDeleteAction.h in Headers */ = {isa = PBXBuildFile; fileRef = 4BAE95B00B2FA9CE00AED8A0 /* EditorDeleteAction.h */; settings = {ATTRIBUTES = (Private, ); }; }; 1716 4D273CF91669420800259CA1 /* InspectorInputAgent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4D273CF71669420800259CA1 /* InspectorInputAgent.cpp */; };1717 4D273CFA1669420800259CA1 /* InspectorInputAgent.h in Headers */ = {isa = PBXBuildFile; fileRef = 4D273CF81669420800259CA1 /* InspectorInputAgent.h */; };1718 1716 4E1959210A39DABA00220FE5 /* MediaFeatureNames.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4E19591F0A39DABA00220FE5 /* MediaFeatureNames.cpp */; }; 1719 1717 4E1959220A39DABA00220FE5 /* MediaFeatureNames.h in Headers */ = {isa = PBXBuildFile; fileRef = 4E1959200A39DABA00220FE5 /* MediaFeatureNames.h */; }; … … 8687 8685 4B8AF4A90B1CE02B00687690 /* ClipboardAccessPolicy.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = ClipboardAccessPolicy.h; sourceTree = "<group>"; }; 8688 8686 4BAE95B00B2FA9CE00AED8A0 /* EditorDeleteAction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EditorDeleteAction.h; sourceTree = "<group>"; }; 8689 4D273CF71669420800259CA1 /* InspectorInputAgent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = InspectorInputAgent.cpp; sourceTree = "<group>"; };8690 4D273CF81669420800259CA1 /* InspectorInputAgent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InspectorInputAgent.h; sourceTree = "<group>"; };8691 8687 4E19591F0A39DABA00220FE5 /* MediaFeatureNames.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = MediaFeatureNames.cpp; sourceTree = "<group>"; }; 8692 8688 4E1959200A39DABA00220FE5 /* MediaFeatureNames.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = MediaFeatureNames.h; sourceTree = "<group>"; }; … … 14995 14991 7ACD88D114C08BD60084EDD2 /* InspectorIndexedDBAgent.cpp */, 14996 14992 7ACD88D214C08BD60084EDD2 /* InspectorIndexedDBAgent.h */, 14997 4D273CF71669420800259CA1 /* InspectorInputAgent.cpp */,14998 4D273CF81669420800259CA1 /* InspectorInputAgent.h */,14999 14993 20D629241253690B00081543 /* InspectorInstrumentation.cpp */, 15000 14994 20D629251253690B00081543 /* InspectorInstrumentation.h */, … … 24208 24202 7A54858014E02D51006AE05A /* InspectorHistory.h in Headers */, 24209 24203 7ACD88D414C08BD60084EDD2 /* InspectorIndexedDBAgent.h in Headers */, 24210 4D273CFA1669420800259CA1 /* InspectorInputAgent.h in Headers */,24211 24204 20D629271253690B00081543 /* InspectorInstrumentation.h in Headers */, 24212 24205 A5840E1D187B74D500843B10 /* InspectorInstrumentationCookie.h in Headers */, … … 27596 27589 7A54857F14E02D51006AE05A /* InspectorHistory.cpp in Sources */, 27597 27590 7ACD88D314C08BD60084EDD2 /* InspectorIndexedDBAgent.cpp in Sources */, 27598 4D273CF91669420800259CA1 /* InspectorInputAgent.cpp in Sources */,27599 27591 20D629261253690B00081543 /* InspectorInstrumentation.cpp in Sources */, 27600 27592 A5840E1C187B74D500843B10 /* InspectorInstrumentationCookie.cpp in Sources */, -
trunk/Source/WebCore/inspector/InspectorAllInOne.cpp
r166622 r166657 43 43 #include "InspectorHistory.cpp" 44 44 #include "InspectorIndexedDBAgent.cpp" 45 #include "InspectorInputAgent.cpp"46 45 #include "InspectorInstrumentation.cpp" 47 46 #include "InspectorInstrumentationCookie.cpp" -
trunk/Source/WebCore/inspector/InspectorController.cpp
r166622 r166657 47 47 #include "InspectorFrontendClient.h" 48 48 #include "InspectorIndexedDBAgent.h" 49 #include "InspectorInputAgent.h"50 49 #include "InspectorInstrumentation.h" 51 50 #include "InspectorLayerTreeAgent.h" … … 160 159 m_agents.append(std::make_unique<InspectorWorkerAgent>(m_instrumentingAgents.get())); 161 160 162 m_agents.append(std::make_unique<InspectorInputAgent>(m_instrumentingAgents.get(), &page));163 164 161 m_agents.append(std::make_unique<InspectorLayerTreeAgent>(m_instrumentingAgents.get())); 165 162 -
trunk/Source/WebInspectorUI/ChangeLog
r166622 r166657 1 2014-04-02 Timothy Hatcher <timothy@apple.com> 2 3 Remove Input domain from the Web Inspector protocol. 4 5 https://bugs.webkit.org/show_bug.cgi?id=131073 6 7 Reviewed by Joseph Pecoraro. 8 9 * UserInterface/Protocol/Legacy/7.0/InspectorWebBackendCommands.js: Updated. 10 * Versions/Inspector-iOS-7.0.json: Removed Input domain. 11 1 12 2014-04-01 Timothy Hatcher <timothy@apple.com> 2 13 -
trunk/Source/WebInspectorUI/UserInterface/Protocol/Legacy/7.0/InspectorWebBackendCommands.js
r166622 r166657 197 197 InspectorBackend.registerCommand("DOM.markUndoableState", [], []); 198 198 InspectorBackend.registerCommand("DOM.focus", [{"name": "nodeId", "type": "number", "optional": false}], []); 199 InspectorBackend.registerCommand("DOM.setFileInputFiles", [{"name": "nodeId", "type": "number", "optional": false}, {"name": "files", "type": "object", "optional": false}], []);200 199 201 200 // CSS. … … 309 308 InspectorBackend.registerCommand("Worker.setAutoconnectToWorkers", [{"name": "value", "type": "boolean", "optional": false}], []); 310 309 311 // Input.312 InspectorBackend.registerInputDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, "Input");313 InspectorBackend.registerCommand("Input.dispatchKeyEvent", [{"name": "type", "type": "string", "optional": false}, {"name": "modifiers", "type": "number", "optional": true}, {"name": "timestamp", "type": "number", "optional": true}, {"name": "text", "type": "string", "optional": true}, {"name": "unmodifiedText", "type": "string", "optional": true}, {"name": "keyIdentifier", "type": "string", "optional": true}, {"name": "windowsVirtualKeyCode", "type": "number", "optional": true}, {"name": "nativeVirtualKeyCode", "type": "number", "optional": true}, {"name": "macCharCode", "type": "number", "optional": true}, {"name": "autoRepeat", "type": "boolean", "optional": true}, {"name": "isKeypad", "type": "boolean", "optional": true}, {"name": "isSystemKey", "type": "boolean", "optional": true}], []);314 InspectorBackend.registerCommand("Input.dispatchMouseEvent", [{"name": "type", "type": "string", "optional": false}, {"name": "x", "type": "number", "optional": false}, {"name": "y", "type": "number", "optional": false}, {"name": "modifiers", "type": "number", "optional": true}, {"name": "timestamp", "type": "number", "optional": true}, {"name": "button", "type": "string", "optional": true}, {"name": "clickCount", "type": "number", "optional": true}], []);315 316 310 // LayerTree. 317 311 InspectorBackend.registerLayerTreeDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, "LayerTree"); -
trunk/Source/WebInspectorUI/Versions/Inspector-iOS-7.0.json
r166622 r166657 1688 1688 ], 1689 1689 "description": "Focuses the given element." 1690 },1691 {1692 "name": "setFileInputFiles",1693 "parameters": [1694 { "name": "nodeId", "$ref": "NodeId", "description": "Id of the file input node to set files for." },1695 { "name": "files", "type": "array", "items": { "type": "string" }, "description": "Array of file paths to set." }1696 ],1697 "description": "Sets files for the given file input element."1698 1690 } 1699 1691 ], … … 2819 2811 } 2820 2812 ] 2821 },2822 {2823 "domain": "Input",2824 "types": [],2825 "commands": [2826 {2827 "name": "dispatchKeyEvent",2828 "parameters": [2829 { "name": "type", "type": "string", "enum": ["keyDown", "keyUp", "rawKeyDown", "char"], "description": "Type of the key event." },2830 { "name": "modifiers", "type": "integer", "optional": true, "description": "Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0)." },2831 { "name": "timestamp", "type": "number", "optional": true, "description": "Time at which the event occurred. Measured in UTC time in seconds since January 1, 1970 (default: current time)." },2832 { "name": "text", "type": "string", "optional": true, "description": "Text as generated by processing a virtual key code with a keyboard layout. Not needed for for <code>keyUp</code> and <code>rawKeyDown</code> events (default: \"\")" },2833 { "name": "unmodifiedText", "type": "string", "optional": true, "description": "Text that would have been generated by the keyboard if no modifiers were pressed (except for shift). Useful for shortcut (accelerator) key handling (default: \"\")." },2834 { "name": "keyIdentifier", "type": "string", "optional": true, "description": "Unique key identifier (e.g., 'U+0041') (default: \"\")." },2835 { "name": "windowsVirtualKeyCode", "type": "integer", "optional": true, "description": "Windows virtual key code (default: 0)." },2836 { "name": "nativeVirtualKeyCode", "type": "integer", "optional": true, "description": "Native virtual key code (default: 0)." },2837 { "name": "macCharCode", "type": "integer", "optional": true, "description": "Mac character code (default: 0)." },2838 { "name": "autoRepeat", "type": "boolean", "optional": true, "description": "Whether the event was generated from auto repeat (default: false)." },2839 { "name": "isKeypad", "type": "boolean", "optional": true, "description": "Whether the event was generated from the keypad (default: false)." },2840 { "name": "isSystemKey", "type": "boolean", "optional": true, "description": "Whether the event was a system key event (default: false)." }2841 ],2842 "description": "Dispatches a key event to the page."2843 },2844 {2845 "name": "dispatchMouseEvent",2846 "parameters": [2847 { "name": "type", "type": "string", "enum": ["mousePressed", "mouseReleased", "mouseMoved"], "description": "Type of the mouse event." },2848 { "name": "x", "type": "integer", "description": "X coordinate of the event relative to the main frame's viewport."},2849 { "name": "y", "type": "integer", "description": "Y coordinate of the event relative to the main frame's viewport. 0 refers to the top of the viewport and Y increases as it proceeds towards the bottom of the viewport."},2850 { "name": "modifiers", "type": "integer", "optional": true, "description": "Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0)." },2851 { "name": "timestamp", "type": "number", "optional": true, "description": "Time at which the event occurred. Measured in UTC time in seconds since January 1, 1970 (default: current time)." },2852 { "name": "button", "type": "string", "enum": ["none", "left", "middle", "right"], "optional": true, "description": "Mouse button (default: \"none\")." },2853 { "name": "clickCount", "type": "integer", "optional": true, "description": "Number of times the mouse button was clicked (default: 0)." }2854 ],2855 "description": "Dispatches a mouse event to the page."2856 }2857 ],2858 "events": []2859 2813 }, 2860 2814 {
Note: See TracChangeset
for help on using the changeset viewer.