Web Inspector: Network: add button to show system certificate dialog
[WebKit-https.git] / Source / WebKitLegacy / win / WebCoreSupport / WebInspectorClient.h
index b987344..81d5812 100644 (file)
 #ifndef WebInspectorClient_h
 #define WebInspectorClient_h
 
 #ifndef WebInspectorClient_h
 #define WebInspectorClient_h
 
+#include <JavaScriptCore/InspectorFrontendChannel.h>
 #include <WebCore/COMPtr.h>
 #include <WebCore/InspectorClient.h>
 #include <WebCore/InspectorFrontendClientLocal.h>
 #include <WebCore/WindowMessageListener.h>
 #include <WebCore/COMPtr.h>
 #include <WebCore/InspectorClient.h>
 #include <WebCore/InspectorFrontendClientLocal.h>
 #include <WebCore/WindowMessageListener.h>
-#include <inspector/InspectorFrontendChannel.h>
 #include <windows.h>
 #include <wtf/Forward.h>
 #include <wtf/HashMap.h>
 #include <windows.h>
 #include <wtf/Forward.h>
 #include <wtf/HashMap.h>
@@ -41,6 +41,7 @@
 #include <wtf/text/WTFString.h>
 
 namespace WebCore {
 #include <wtf/text/WTFString.h>
 
 namespace WebCore {
+class CertificateInfo;
 class Page;
 }
 
 class Page;
 }
 
@@ -107,6 +108,7 @@ public:
     void setAttachedWindowWidth(unsigned) override;
 
     void inspectedURLChanged(const WTF::String& newURL) override;
     void setAttachedWindowWidth(unsigned) override;
 
     void inspectedURLChanged(const WTF::String& newURL) override;
+    void showCertificate(const WebCore::CertificateInfo&) override;
 
     // InspectorFrontendClientLocal API.
     void attachWindow(DockSide) override;
 
     // InspectorFrontendClientLocal API.
     void attachWindow(DockSide) override;
@@ -141,7 +143,7 @@ private:
     WTF::String m_inspectedURL;
     bool m_destroyingInspectorView;
 
     WTF::String m_inspectedURL;
     bool m_destroyingInspectorView;
 
-    static friend LRESULT CALLBACK WebInspectorWndProc(HWND, UINT, WPARAM, LPARAM);
+    friend LRESULT CALLBACK WebInspectorWndProc(HWND, UINT, WPARAM, LPARAM);
 };
 
 #endif // !defined(WebInspectorClient_h)
 };
 
 #endif // !defined(WebInspectorClient_h)