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

Unified Diff: chrome/browser/render_view_host_delegate.h

Issue 17455: Autofill popup dismissed when page loses focus (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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 | « chrome/browser/render_view_host.cc ('k') | chrome/browser/render_widget_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/render_view_host_delegate.h
===================================================================
--- chrome/browser/render_view_host_delegate.h (revision 7623)
+++ chrome/browser/render_view_host_delegate.h (working copy)
@@ -61,10 +61,8 @@
// The page is trying to open a new widget (e.g. a select popup). The
// widget should be created associated with the given route, but it should
// not be shown yet. That should happen in response to ShowCreatedWidget.
- // If |focus_on_show| is true, the focus is given to the widget when shown,
- // otherwise the focus is not changed.
- virtual void CreateNewWidget(int route_id,
- bool focus_on_show) = 0;
+ // If |activatable| is false, the widget cannot be activated or get focus.
+ virtual void CreateNewWidget(int route_id, bool activatable) = 0;
// Show a previously created page with the specified disposition and bounds.
// The window is identified by the route_id passed to CreateNewWindow.
« no previous file with comments | « chrome/browser/render_view_host.cc ('k') | chrome/browser/render_widget_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698