Chromium: save inspector settings as dictionary, not as string.
Created attachment 57472 [details] Proposed patch.
Comment on attachment 57472 [details] Proposed patch. r+ with nits. WebKit/chromium/src/InspectorClientImpl.cpp:96 + m_inspectedWebView->inspectorSetting(key, &string); So it did not compile for you with simply putting 'value' as a second argument? WebKit/chromium/src/WebViewImpl.h:491 + typedef HashMap<WebCore::String, WebCore::String> SettingsMap; WebKit should operate WebKit strings. I know it was wrong, but it may be a good time to fix it.
> WebKit/chromium/src/InspectorClientImpl.cpp:96 > + m_inspectedWebView->inspectorSetting(key, &string); > So it did not compile for you with simply putting 'value' as a second argument? Yep, it did not. > > > WebKit/chromium/src/WebViewImpl.h:491 > + typedef HashMap<WebCore::String, WebCore::String> SettingsMap; > WebKit should operate WebKit strings. I know it was wrong, but it may be a good time to fix it. We need a map here, because InspectorClient will ask for inspector settings by key.
Committing to http://svn.webkit.org/repository/webkit/trunk ... M WebKit/chromium/ChangeLog M WebKit/chromium/public/WebView.h M WebKit/chromium/public/WebViewClient.h M WebKit/chromium/src/InspectorClientImpl.cpp M WebKit/chromium/src/InspectorClientImpl.h M WebKit/chromium/src/WebViewImpl.cpp M WebKit/chromium/src/WebViewImpl.h Committed r60469