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

Unified Diff: webkit/glue/chrome_client_impl.cc

Issue 56122: Callbacks through ChromeClient->RenderView->RenderViewHost for ContentsDidCha... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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/chrome_client_impl.h ('k') | webkit/glue/webframe.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/chrome_client_impl.cc
===================================================================
--- webkit/glue/chrome_client_impl.cc (revision 13128)
+++ webkit/glue/chrome_client_impl.cc (working copy)
@@ -448,6 +448,15 @@
return delegate ? delegate->GetContainingView(webview_) : NULL;
}
+void ChromeClientImpl::contentsSizeChanged(WebCore::Frame* frame, const
+ WebCore::IntSize& size) const {
+ WebViewDelegate* delegate = webview_->delegate();
+
+ if (delegate) {
+ delegate->DidContentsSizeChange(webview_, size.width(), size.height());
+ }
+}
+
void ChromeClientImpl::mouseDidMoveOverElement(
const WebCore::HitTestResult& result, unsigned modifierFlags) {
// Find out if the mouse is over a link, and if so, let our UI know... somehow
« no previous file with comments | « webkit/glue/chrome_client_impl.h ('k') | webkit/glue/webframe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698