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

Unified Diff: chrome/browser/automation/automation_provider_win.cc

Issue 3014001: ChromeFrame tabs would hang at times while closing. This would randomly occur... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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
Index: chrome/browser/automation/automation_provider_win.cc
===================================================================
--- chrome/browser/automation/automation_provider_win.cc (revision 52332)
+++ chrome/browser/automation/automation_provider_win.cc (working copy)
@@ -590,3 +590,13 @@
*status = AUTOMATION_MSG_NAVIGATION_SUCCESS;
}
}
+
+void AutomationProvider::OnRunUnloadHandlers(
+ int handle, gfx::NativeWindow notification_window,
+ int notification_message) {
+ ExternalTabContainer* external_tab = GetExternalTabForHandle(handle);
+ if (external_tab) {
+ external_tab->RunUnloadHandlers(notification_window, notification_message);
+ }
+}
+
« no previous file with comments | « chrome/browser/automation/automation_provider.cc ('k') | chrome/browser/automation/chrome_frame_automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698