Changeset 65870 in webkit
- Timestamp:
- Aug 24, 2010 12:32:22 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r65868 r65870 1 2010-08-24 Ilya Tikhonovsky <loislo@chromium.org> 2 3 Reviewed by Yury Semikhatsky. 4 5 WebInspector: setAttachedWindow was modified at r65809 but it should be implemented another way. 6 https://bugs.webkit.org/show_bug.cgi?id=44493 7 8 * inspector/Inspector.idl: 9 * inspector/InspectorController.cpp: 10 * inspector/InspectorController.h: 11 * inspector/InspectorFrontendClientLocal.cpp: 12 (WebCore::InspectorFrontendClientLocal::setAttachedWindow): 13 1 14 2010-08-23 Eric Seidel <eric@webkit.org> 2 15 -
trunk/WebCore/inspector/Inspector.idl
r65809 r65870 58 58 [notify] void searchingForNodeWasEnabled(); 59 59 [notify] void searchingForNodeWasDisabled(); 60 [notify] void setAttachedWindow(out boolean attached);61 60 [notify] void setChildNodes(out long parentId, out Array nodes); 62 61 [notify] void setDetachedRoot(out Object root); -
trunk/WebCore/inspector/InspectorController.cpp
r65809 r65870 421 421 } 422 422 423 void InspectorController::setAttachedWindow(bool attached)424 {425 if (!m_remoteFrontend) {426 ASSERT_NOT_REACHED();427 return;428 }429 m_remoteFrontend->setAttachedWindow(attached);430 }431 432 423 void InspectorController::inspectedWindowScriptObjectCleared(Frame* frame) 433 424 { -
trunk/WebCore/inspector/InspectorController.h
r65809 r65870 148 148 void setInspectorFrontendClient(PassOwnPtr<InspectorFrontendClient> client); 149 149 bool hasInspectorFrontendClient() const { return m_inspectorFrontendClient; } 150 void setAttachedWindow(bool attached);151 150 152 151 void inspectedWindowScriptObjectCleared(Frame*); -
trunk/WebCore/inspector/InspectorFrontendClientLocal.cpp
r65809 r65870 122 122 void InspectorFrontendClientLocal::setAttachedWindow(bool attached) 123 123 { 124 m_inspectorController->setAttachedWindow(attached); 124 ScriptObject webInspectorObj; 125 if (!ScriptGlobalObject::get(m_frontendScriptState, "WebInspector", webInspectorObj)) { 126 ASSERT_NOT_REACHED(); 127 return; 128 } 129 ScriptFunctionCall function(webInspectorObj, "setAttachedWindow"); 130 function.appendArgument(attached); 131 function.call(); 125 132 } 126 133
Note: See TracChangeset
for help on using the changeset viewer.