Skip to content
  • commit-queue@webkit.org's avatar
    Web Inspector: [WebGL] Add injected WebGL module class · 3ff0fe07
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=89592
    
    Patch by Andrey Adaikin <aandrey@chromium.org> on 2012-06-21
    Reviewed by Pavel Feldman.
    
    Adding a new InjectedScriptWebGLModule class and moving WebGL-related
    stuff out of InjectedScriptManager class.
    
    * CMakeLists.txt:
    * GNUmakefile.list.am:
    * Target.pri:
    * WebCore.gypi:
    * WebCore.vcproj/WebCore.vcproj:
    * WebCore.xcodeproj/project.pbxproj:
    * inspector/InjectedScriptManager.cpp:
    * inspector/InjectedScriptManager.h:
    (InjectedScriptManager):
    * inspector/InjectedScriptModule.cpp:
    (WebCore::InjectedScriptModule::ensureInjected):
    * inspector/InjectedScriptModule.h:
    (InjectedScriptModule):
    * inspector/InjectedScriptWebGLModule.cpp: Copied from Source/WebCore/inspector/InjectedScriptModule.cpp.
    (WebCore):
    (WebCore::InjectedScriptWebGLModule::InjectedScriptWebGLModule):
    (WebCore::InjectedScriptWebGLModule::moduleForState):
    (WebCore::InjectedScriptWebGLModule::source):
    (WebCore::InjectedScriptWebGLModule::wrapWebGLContext):
    (WebCore::InjectedScriptWebGLModule::captureFrame):
    * inspector/InjectedScriptWebGLModule.h: Copied from Source/WebCore/inspector/InjectedScriptModule.h.
    (WebCore):
    (InjectedScriptWebGLModule):
    * inspector/InspectorWebGLAgent.cpp:
    (WebCore::InspectorWebGLAgent::wrapWebGLRenderingContextForInstrumentation):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120929 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    3ff0fe07