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

Unified Diff: chrome_frame/chrome_frame_activex.cc

Issue 5998006: Clean up Automation and Chrome Frame IPC code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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_frame/chrome_frame_activex.h ('k') | chrome_frame/chrome_frame_activex_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/chrome_frame_activex.cc
===================================================================
--- chrome_frame/chrome_frame_activex.cc (revision 69966)
+++ chrome_frame/chrome_frame_activex.cc (working copy)
@@ -182,14 +182,14 @@
return hr;
}
-void ChromeFrameActivex::OnLoad(int tab_handle, const GURL& gurl) {
+void ChromeFrameActivex::OnLoad(const GURL& gurl) {
ScopedComPtr<IDispatch> event;
std::string url = gurl.spec();
if (SUCCEEDED(CreateDomEvent("event", url, "", event.Receive())))
Fire_onload(event);
FireEvent(onload_, url);
- Base::OnLoad(tab_handle, gurl);
+ Base::OnLoad(gurl);
}
void ChromeFrameActivex::OnLoadFailed(int error_code, const std::string& url) {
@@ -201,8 +201,7 @@
Base::OnLoadFailed(error_code, url);
}
-void ChromeFrameActivex::OnMessageFromChromeFrame(int tab_handle,
- const std::string& message,
+void ChromeFrameActivex::OnMessageFromChromeFrame(const std::string& message,
const std::string& origin,
const std::string& target) {
DVLOG(1) << __FUNCTION__;
« no previous file with comments | « chrome_frame/chrome_frame_activex.h ('k') | chrome_frame/chrome_frame_activex_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698