Web Inspector: Missing Implementation of Public InspectorDOMAgent Function

https://bugs.webkit.org/show_bug.cgi?id=75759

Implement missing accessor and make setter public.

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2012-01-06
Reviewed by Timothy Hatcher.

* inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::searchingForNodeInPage):
* inspector/InspectorDOMAgent.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104371 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 8dc2f13a
2012-01-06 Joseph Pecoraro <pecoraro@apple.com>
Web Inspector: Missing Implementation of Public InspectorDOMAgent Function
https://bugs.webkit.org/show_bug.cgi?id=75759
Implement missing accessor and make setter public.
Reviewed by Timothy Hatcher.
* inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::searchingForNodeInPage):
* inspector/InspectorDOMAgent.h:
2012-01-06 W. James MacLean <wjmaclean@chromium.org>
[Chromium] Cull occluded tiles in tiled layers
......@@ -943,6 +943,11 @@ void InspectorDOMAgent::mouseDidMoveOverElement(const HitTestResult& result, uns
}
}
bool InspectorDOMAgent::searchingForNodeInPage() const
{
return m_searchingForNode;
}
void InspectorDOMAgent::setSearchingForNode(bool enabled, InspectorObject* highlightConfig)
{
if (m_searchingForNode == enabled)
......
......@@ -169,8 +169,9 @@ public:
PassRefPtr<InspectorObject> resolveNode(Node*, const String& objectGroup);
bool handleMousePress();
bool searchingForNodeInPage() const;
void mouseDidMoveOverElement(const HitTestResult&, unsigned modifierFlags);
bool searchingForNodeInPage() const;
void setSearchingForNode(bool enabled, InspectorObject* highlightConfig);
void inspect(Node*);
void focusNode();
......@@ -191,7 +192,6 @@ public:
private:
InspectorDOMAgent(InstrumentingAgents*, InspectorPageAgent*, InspectorClient*, InspectorState*, InjectedScriptManager*);
void setSearchingForNode(bool enabled, InspectorObject* highlightConfig);
bool setHighlightDataFromConfig(InspectorObject* highlightConfig);
void highlight();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment