diff options
Diffstat (limited to 'chrome_frame/chrome_active_document.cc')
-rw-r--r-- | chrome_frame/chrome_active_document.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome_frame/chrome_active_document.cc b/chrome_frame/chrome_active_document.cc index a4833b2..2418413 100644 --- a/chrome_frame/chrome_active_document.cc +++ b/chrome_frame/chrome_active_document.cc @@ -754,6 +754,10 @@ void ChromeActiveDocument::UpdateNavigationState( if (web_browser_events_svc) { VARIANT_BOOL should_cancel = VARIANT_FALSE; web_browser_events_svc->FireBeforeNavigate2Event(&should_cancel); + } else if (doc_object_svc) { + BOOL should_cancel = FALSE; + doc_object_svc->FireBeforeNavigate2(NULL, url_, 0, NULL, NULL, 0, + NULL, FALSE, &should_cancel); } // We need to tell IE that we support navigation so that IE will query us |