DevTools: [Elements] Center focused tree element vertically when selecting inspected node in page
DevTools: [Elements] Center focused tree element vertically when selecting inspected node in page

In order to avoid visual jitter, if an element is already visible in the tree, the scroll will not occur.

R=aandrey@chromium.org, pfeldman, vsevik
BUG=305562

Review URL: https://codereview.chromium.org/27002003

git-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@159447 bbb929c8-8fbe-4397-9dbb-9b2b20218538

Pluto-tv/blink-crosswalk,hgl888/blink-crosswalk-efl,Pluto-tv/blink-crosswalk,ondra-novak/blink,XiaosongWei/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,PeterWangIntel/blink-crosswalk,nwjs/blink,Bysmyyr/blink-crosswalk,XiaosongWei/blink-crosswalk,nwjs/blink,PeterWangIntel/blink-crosswalk,Pluto-tv/blink-crosswalk,jtg-gg/blink,Bysmyyr/blink-crosswalk,jtg-gg/blink,PeterWangIntel/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,ondra-novak/blink,jtg-gg/blink,hgl888/blink-crosswalk-efl,nwjs/blink,smishenk/blink-crosswalk,PeterWangIntel/blink-crosswalk,nwjs/blink,Bysmyyr/blink-crosswalk,hgl888/blink-crosswalk-efl,crosswalk-project/blink-crosswalk-efl,jtg-gg/blink,ondra-novak/blink,crosswalk-project/blink-crosswalk-efl,kurli/blink-crosswalk,ondra-novak/blink,crosswalk-project/blink-crosswalk-efl,hgl888/blink-crosswalk-efl,modulexcite/blink,PeterWangIntel/blink-crosswalk,Pluto-tv/blink-crosswalk,jtg-gg/blink,Pluto-tv/blink-crosswalk,jtg-gg/blink,Pluto-tv/blink-crosswalk,smishenk/blink-crosswalk,Bysmyyr/blink-crosswalk,Pluto-tv/blink-crosswalk,hgl888/blink-crosswalk-efl,XiaosongWei/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,ondra-novak/blink,PeterWangIntel/blink-crosswalk,kurli/blink-crosswalk,XiaosongWei/blink-crosswalk,kurli/blink-crosswalk,jtg-gg/blink,hgl888/blink-crosswalk-efl,smishenk/blink-crosswalk,hgl888/blink-crosswalk-efl,ondra-novak/blink,Bysmyyr/blink-crosswalk,smishenk/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,XiaosongWei/blink-crosswalk,hgl888/blink-crosswalk-efl,kurli/blink-crosswalk,smishenk/blink-crosswalk,modulexcite/blink,modulexcite/blink,XiaosongWei/blink-crosswalk,modulexcite/blink,jtg-gg/blink,XiaosongWei/blink-crosswalk,XiaosongWei/blink-crosswalk,XiaosongWei/blink-crosswalk,Bysmyyr/blink-crosswalk,XiaosongWei/blink-crosswalk,Pluto-tv/blink-crosswalk,kurli/blink-crosswalk,smishenk/blink-crosswalk,Bysmyyr/blink-crosswalk,Bysmyyr/blink-crosswalk,hgl888/blink-crosswalk-efl,modulexcite/blink,jtg-gg/blink,smishenk/blink-crosswalk,hgl888/blink-crosswalk-efl,modulexcite/blink,nwjs/blink,PeterWangIntel/blink-crosswalk,modulexcite/blink,PeterWangIntel/blink-crosswalk,Bysmyyr/blink-crosswalk,ondra-novak/blink,smishenk/blink-crosswalk,kurli/blink-crosswalk,modulexcite/blink,nwjs/blink,nwjs/blink,PeterWangIntel/blink-crosswalk,kurli/blink-crosswalk,ondra-novak/blink,Bysmyyr/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,kurli/blink-crosswalk,ondra-novak/blink,nwjs/blink,jtg-gg/blink,kurli/blink-crosswalk,smishenk/blink-crosswalk,nwjs/blink,smishenk/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,PeterWangIntel/blink-crosswalk,nwjs/blink,Pluto-tv/blink-crosswalk,Pluto-tv/blink-crosswalk,modulexcite/blink,modulexcite/blink,kurli/blink-crosswalk