Bug 65549

Summary: Web Inspector: remove Node parameter from the InspectorClient::highlight
Product: WebKit Reporter: Pavel Feldman <pfeldman>
Component: Web Inspector (Deprecated)Assignee: Pavel Feldman <pfeldman>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

Description Pavel Feldman 2011-08-02 10:27:04 PDT
It is unused + we'd like to be able to highlight not only nodes, but arbitrary regions as well.
Comment 1 Pavel Feldman 2011-08-02 10:31:16 PDT
Created attachment 102666 [details]
Patch
Comment 2 Yury Semikhatsky 2011-08-02 10:41:30 PDT
Comment on attachment 102666 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=102666&action=review

> Source/WebCore/inspector/InspectorClient.h:47
> +    virtual void highlight() = 0;

Now that there is no Node parameter, I think we should rename the method to something that would better reflect it purpose and start with a verb, probably drawHighlight?
Comment 3 Pavel Feldman 2011-08-02 10:50:46 PDT
(In reply to comment #2)
> (From update of attachment 102666 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=102666&action=review
> 
> > Source/WebCore/inspector/InspectorClient.h:47
> > +    virtual void highlight() = 0;
> 
> Now that there is no Node parameter, I think we should rename the method to something that would better reflect it purpose and start with a verb, probably drawHighlight?

My fingers are falling apart after this rename. You do that :P
Comment 4 Pavel Feldman 2011-08-03 01:28:51 PDT
Comment on attachment 102666 [details]
Patch

Clearing flags on attachment: 102666

Committed r92265: <http://trac.webkit.org/changeset/92265>
Comment 5 Pavel Feldman 2011-08-03 01:28:59 PDT
All reviewed patches have been landed.  Closing bug.