summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/mac/WebCoreSupport/WebInspectorClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/mac/WebCoreSupport/WebInspectorClient.h')
-rw-r--r--Source/WebKit/mac/WebCoreSupport/WebInspectorClient.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/WebKit/mac/WebCoreSupport/WebInspectorClient.h b/Source/WebKit/mac/WebCoreSupport/WebInspectorClient.h
index 108c2cc..7d09109 100644
--- a/Source/WebKit/mac/WebCoreSupport/WebInspectorClient.h
+++ b/Source/WebKit/mac/WebCoreSupport/WebInspectorClient.h
@@ -31,7 +31,9 @@
#import <WebCore/PlatformString.h>
#import <wtf/Forward.h>
+#import <wtf/HashMap.h>
#import <wtf/RetainPtr.h>
+#import <wtf/text/StringHash.h>
#ifdef __OBJC__
@class WebInspectorWindowController;
@@ -67,12 +69,17 @@ public:
void releaseFrontendPage();
+ void saveSessionSetting(const String& key, const String& value);
+ void loadSessionSetting(const String& key, String* value);
+
private:
WTF::PassOwnPtr<WebCore::InspectorFrontendClientLocal::Settings> createFrontendSettings();
WebView *m_webView;
RetainPtr<WebNodeHighlighter> m_highlighter;
WebCore::Page* m_frontendPage;
+
+ WTF::HashMap<WTF::String, WTF::String> m_sessionSettings;
};
@@ -95,6 +102,9 @@ public:
virtual void setAttachedWindowHeight(unsigned height);
virtual void inspectedURLChanged(const WTF::String& newURL);
+ virtual void saveSessionSetting(const String& key, const String& value);
+ virtual void loadSessionSetting(const String& key, String* value);
+
private:
void updateWindowTitle() const;