Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(583)

Unified Diff: webkit/glue/inspector_client_impl.cc

Issue 246079: More WebView / WebViewDelegate cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/empty_webframeclient.h ('k') | webkit/glue/webframe_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/inspector_client_impl.cc
===================================================================
--- webkit/glue/inspector_client_impl.cc (revision 27906)
+++ webkit/glue/inspector_client_impl.cc (working copy)
@@ -157,8 +157,8 @@
return;
settings_.set(new SettingsMap);
- String data = webkit_glue::StdWStringToString(
- inspected_web_view_->GetInspectorSettings());
+ String data = webkit_glue::WebStringToString(
+ inspected_web_view_->inspectorSettings());
if (data.isEmpty())
return;
@@ -232,6 +232,8 @@
data.append(entry);
data.append("\n");
}
- inspected_web_view_->delegate()->UpdateInspectorSettings(
- webkit_glue::StringToStdWString(data));
+ inspected_web_view_->setInspectorSettings(
+ webkit_glue::StringToWebString(data));
+ if (inspected_web_view_->client())
+ inspected_web_view_->client()->didUpdateInspectorSettings();
}
« no previous file with comments | « webkit/glue/empty_webframeclient.h ('k') | webkit/glue/webframe_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698