| Index: chrome/browser/render_widget_host_view_win.h
|
| ===================================================================
|
| --- chrome/browser/render_widget_host_view_win.h (revision 4621)
|
| +++ chrome/browser/render_widget_host_view_win.h (working copy)
|
| @@ -65,6 +65,11 @@
|
| close_on_deactivate_ = close_on_deactivate;
|
| }
|
|
|
| + void set_focus_on_show(bool focus) {
|
| + focus_on_show_ = focus;
|
| + }
|
| + bool focus_on_show() const { return focus_on_show_; }
|
| +
|
| void set_parent_hwnd(HWND parent) { parent_hwnd_ = parent; }
|
|
|
| DECLARE_WND_CLASS_EX(kRenderWidgetHostHWNDClass, CS_DBLCLKS, 0);
|
| @@ -259,6 +264,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 renderer is made accessible.
|
| // TODO(jcampan): http://b/issue?id=1432077 This is a temporary work-around
|
| // until that bug is fixed.
|
|
|