Skip to content
  • commit-queue@webkit.org's avatar
    Web Inspector: Timeline: make cpu-monitoring feature available only on capable browsers · a826e8b4
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=100530
    
    Patch by Eugene Klyuchnikov <eustas.bug@gmail.com> on 2012-10-29
    Reviewed by Yury Semikhatsky.
    
    Motivation: cpu-monitoring feature looks like a glitch,
    when it is not supported by browser.
    
    Source/WebCore:
    
    * inspector/Inspector.json: Added capability getter to protocol.
    * inspector/InspectorClient.h: Added capability getter.
    * inspector/InspectorTimelineAgent.cpp: Proxy to request to client.
    * inspector/InspectorTimelineAgent.h: Added capability getter.
    * inspector/front-end/Settings.js: Added capability field.
    * inspector/front-end/TimelinePanel.js: Check capability.
    * inspector/front-end/inspector.js: Forward capability value.
    
    Source/WebKit/chromium:
    
    * src/InspectorClientImpl.cpp: Implemented capability getter.
    * src/InspectorClientImpl.h:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132788 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    a826e8b4