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

Unified Diff: chrome/browser/render_widget_host_view_win.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_widget_helper.cc ('k') | chrome/browser/render_widget_host_view_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/render_widget_host_view_win.h
===================================================================
--- chrome/browser/render_widget_host_view_win.h (revision 7623)
+++ chrome/browser/render_widget_host_view_win.h (working copy)
@@ -65,10 +65,10 @@
close_on_deactivate_ = close_on_deactivate;
}
- void set_focus_on_show(bool focus) {
- focus_on_show_ = focus;
+ void set_activatable(bool activatable) {
+ activatable_ = activatable;
}
- bool focus_on_show() const { return focus_on_show_; }
+ bool activatable() const { return activatable_; }
void set_parent_hwnd(HWND parent) { parent_hwnd_ = parent; }
@@ -266,8 +266,9 @@
// value returns true for is_null() if we are not recording whiteout times.
base::TimeTicks whiteout_start_time_;
- // Whether the window should get focus when shown. Default is true.
- bool focus_on_show_;
+ // Whether the window can be activated. Autocomplete popup windows for example
+ // cannot be activated. Default is true.
+ bool activatable_;
// Whether the renderer is made accessible.
// TODO(jcampan): http://b/issue?id=1432077 This is a temporary work-around
« no previous file with comments | « chrome/browser/render_widget_helper.cc ('k') | chrome/browser/render_widget_host_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698