diff options
Diffstat (limited to 'WebKit/qt/WebCoreSupport/InspectorClientQt.h')
-rw-r--r-- | WebKit/qt/WebCoreSupport/InspectorClientQt.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/WebKit/qt/WebCoreSupport/InspectorClientQt.h b/WebKit/qt/WebCoreSupport/InspectorClientQt.h index 4beadab..c996f55 100644 --- a/WebKit/qt/WebCoreSupport/InspectorClientQt.h +++ b/WebKit/qt/WebCoreSupport/InspectorClientQt.h @@ -58,13 +58,18 @@ public: virtual void populateSetting(const String& key, String* value); virtual void storeSetting(const String& key, const String& value); + virtual bool sendMessageToFrontend(const String&); + + void releaseFrontendPage(); + private: QWebPage* m_inspectedWebPage; + QWebPage* m_frontendWebPage; }; class InspectorFrontendClientQt : public InspectorFrontendClientLocal { public: - InspectorFrontendClientQt(QWebPage* inspectedWebPage, PassOwnPtr<QWebView> inspectorView); + InspectorFrontendClientQt(QWebPage* inspectedWebPage, PassOwnPtr<QWebView> inspectorView, InspectorClientQt* inspectorClient); virtual void frontendLoaded(); @@ -88,6 +93,7 @@ private: OwnPtr<QWebView> m_inspectorView; QString m_inspectedURL; bool m_destroyingInspectorView; + InspectorClientQt* m_inspectorClient; }; } |