summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/cf
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/cf')
-rw-r--r--Source/WebKit/cf/ChangeLog12
-rw-r--r--Source/WebKit/cf/WebCoreSupport/WebInspectorClientCF.cpp17
2 files changed, 29 insertions, 0 deletions
diff --git a/Source/WebKit/cf/ChangeLog b/Source/WebKit/cf/ChangeLog
index 1826525..abcc065 100644
--- a/Source/WebKit/cf/ChangeLog
+++ b/Source/WebKit/cf/ChangeLog
@@ -1,3 +1,15 @@
+2011-03-15 Kevin Ollivier <kevino@theolliviers.com>
+
+ Reviewed by Darin Adler.
+
+ Introduce WTF_USE_EXPORT_MACROS, which will allow us to put shared library import/export
+ info into the headers rather than in export symbol definition files, but disable it on
+ all platforms initially so we can deal with port build issues one port at a time.
+
+ https://bugs.webkit.org/show_bug.cgi?id=27551
+
+ * WebCoreSupport/WebInspectorClientCF.cpp:
+
2011-02-23 Patrick Gansterer <paroga@webkit.org>
Reviewed by Darin Adler.
diff --git a/Source/WebKit/cf/WebCoreSupport/WebInspectorClientCF.cpp b/Source/WebKit/cf/WebCoreSupport/WebInspectorClientCF.cpp
index 7fe7e5f..0362dac 100644
--- a/Source/WebKit/cf/WebCoreSupport/WebInspectorClientCF.cpp
+++ b/Source/WebKit/cf/WebCoreSupport/WebInspectorClientCF.cpp
@@ -37,6 +37,11 @@
#define WTF_USE_JSC 1
#endif
+// Leave these set to nothing until we switch Mac and Win ports over to
+// using the export macros.
+#define JS_EXPORT_PRIVATE
+#define WTF_EXPORT_PRIVATE
+
#if defined(WIN32) || defined(_WIN32)
#ifndef WTF_USE_CFNETWORK
#define WTF_USE_CFNETWORK 1
@@ -126,6 +131,18 @@ void WebInspectorClient::releaseFrontendPage()
m_frontendPage = 0;
}
+void WebInspectorClient::saveSessionSetting(const String& key, const String& value)
+{
+ if (!key.isEmpty())
+ m_sessionSettings.set(key, value);
+}
+
+void WebInspectorClient::loadSessionSetting(const String& key, String* value)
+{
+ if (!key.isEmpty())
+ *value = m_sessionSettings.get(key);
+}
+
WTF::PassOwnPtr<WebCore::InspectorFrontendClientLocal::Settings> WebInspectorClient::createFrontendSettings()
{
class InspectorFrontendSettingsCF : public WebCore::InspectorFrontendClientLocal::Settings {