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

Unified Diff: webkit/glue/webplugin_impl.cc

Issue 164225: Switch to WebFrame from the WebKit API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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/webplugin.h ('k') | webkit/glue/webtextinput.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webplugin_impl.cc
===================================================================
--- webkit/glue/webplugin_impl.cc (revision 22886)
+++ webkit/glue/webplugin_impl.cc (working copy)
@@ -639,9 +639,10 @@
void WebPluginImpl::ShowModalHTMLDialog(const GURL& url, int width, int height,
const std::string& json_arguments,
std::string* json_retval) {
- if (webframe_ && webframe_->GetView() &&
- webframe_->GetView()->GetDelegate()) {
- webframe_->GetView()->GetDelegate()->ShowModalHTMLDialog(
+ if (webframe_ &&
+ webframe_->GetWebViewImpl() &&
+ webframe_->GetWebViewImpl()->GetDelegate()) {
+ webframe_->GetWebViewImpl()->GetDelegate()->ShowModalHTMLDialog(
url, width, height, json_arguments, json_retval);
}
}
@@ -1071,7 +1072,7 @@
delete (*index).second;
multi_part_response_map_.erase(index);
- WebView* web_view = webframe_->GetView();
+ WebView* web_view = webframe_->GetWebViewImpl();
web_view->GetDelegate()->DidStopLoading(web_view);
}
loader->setDefersLoading(true);
@@ -1333,7 +1334,7 @@
return;
}
- WebView* web_view = webframe_->GetView();
+ WebView* web_view = webframe_->GetWebViewImpl();
web_view->GetDelegate()->DidStartLoading(web_view);
MultiPartResponseClient* multi_part_response_client =
« no previous file with comments | « webkit/glue/webplugin.h ('k') | webkit/glue/webtextinput.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698