summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_frame_activex_base.h
diff options
context:
space:
mode:
authorstoyan@chromium.org <stoyan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-04 00:26:11 +0000
committerstoyan@chromium.org <stoyan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-04 00:26:11 +0000
commit56f33994c2a8de4f240c77b324426f652a5497d7 (patch)
tree6b6b8c8ace99c9dfdd2261536e52bd711fd5d381 /chrome_frame/chrome_frame_activex_base.h
parentd13c32787737f1822202802f062c41c38b90e5f5 (diff)
downloadchromium_src-56f33994c2a8de4f240c77b324426f652a5497d7.zip
chromium_src-56f33994c2a8de4f240c77b324426f652a5497d7.tar.gz
chromium_src-56f33994c2a8de4f240c77b324426f652a5497d7.tar.bz2
Provide parent window for Urlmon error dialogs.
Review URL: http://codereview.chromium.org/567036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38053 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_frame_activex_base.h')
-rw-r--r--chrome_frame/chrome_frame_activex_base.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome_frame/chrome_frame_activex_base.h b/chrome_frame/chrome_frame_activex_base.h
index fe11b66..8494f83 100644
--- a/chrome_frame/chrome_frame_activex_base.h
+++ b/chrome_frame/chrome_frame_activex_base.h
@@ -516,6 +516,7 @@ END_MSG_MAP()
LRESULT OnCreate(UINT message, WPARAM wparam, LPARAM lparam,
BOOL& handled) { // NO_LINT
ModifyStyle(0, WS_CLIPCHILDREN | WS_CLIPSIBLINGS, 0);
+ url_fetcher_.SetErrorDialogsParentWindow(m_hWnd);
automation_client_->SetParentWindow(m_hWnd);
// Only fire the 'interactive' ready state if we aren't there already.
if (ready_state_ < READYSTATE_INTERACTIVE) {