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

Unified Diff: webkit/glue/chrome_client_impl.cc

Issue 8885: Implementation of the UI part of the autofill (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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/form_autocomplete_listener.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 4621)
+++ webkit/glue/chrome_client_impl.cc (working copy)
@@ -446,12 +446,14 @@
delegate->RunFileChooser(suggestion, chooser);
}
-void ChromeClientImpl::popupOpened(
- WebCore::FramelessScrollView* popup_view, const WebCore::IntRect& bounds) {
+void ChromeClientImpl::popupOpened(WebCore::FramelessScrollView* popup_view,
+ const WebCore::IntRect& bounds,
+ bool focus_on_show) {
WebViewDelegate* d = webview_->delegate();
if (d) {
WebWidgetImpl* webwidget =
- static_cast<WebWidgetImpl*>(d->CreatePopupWidget(webview_));
+ static_cast<WebWidgetImpl*>(d->CreatePopupWidget(webview_,
+ focus_on_show));
webwidget->Init(popup_view, webkit_glue::FromIntRect(bounds));
}
}
« no previous file with comments | « webkit/glue/chrome_client_impl.h ('k') | webkit/glue/form_autocomplete_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698