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

Unified Diff: chrome_frame/chrome_frame_npapi.cc

Issue 6055008: Fixes for the chrome frame npapi test failures seen on the builders. These fa... (Closed) Base URL: svn://svn.chromium.org/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_npapi.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/chrome_frame_npapi.cc
===================================================================
--- chrome_frame/chrome_frame_npapi.cc (revision 70168)
+++ chrome_frame/chrome_frame_npapi.cc (working copy)
@@ -429,8 +429,7 @@
url_fetcher_.UrlNotify(url, reason, notify_data);
}
-void ChromeFrameNPAPI::OnAcceleratorPressed(int tab_handle,
- const MSG& accel_message) {
+void ChromeFrameNPAPI::OnAcceleratorPressed(const MSG& accel_message) {
DVLOG(1) << __FUNCTION__
<< " msg:" << base::StringPrintf("0x%04X", accel_message.message)
<< " key:" << accel_message.wParam;
@@ -460,7 +459,7 @@
}
}
-void ChromeFrameNPAPI::OnTabbedOut(int tab_handle, bool reverse) {
+void ChromeFrameNPAPI::OnTabbedOut(bool reverse) {
DVLOG(1) << __FUNCTION__;
ignore_setfocus_ = true;
@@ -477,8 +476,7 @@
ignore_setfocus_ = false;
}
-void ChromeFrameNPAPI::OnOpenURL(int tab_handle,
- const GURL& url,
+void ChromeFrameNPAPI::OnOpenURL(const GURL& url,
const GURL& referrer,
int open_disposition) {
std::string target;
@@ -805,7 +803,7 @@
DVLOG(1) << __FUNCTION__;
}
-void ChromeFrameNPAPI::OnLoad(int, const GURL& gurl) {
+void ChromeFrameNPAPI::OnLoad(const GURL& gurl) {
DVLOG(1) << "Firing onload";
FireEvent("load", gurl.spec());
}
@@ -817,8 +815,7 @@
InvokeDefault(onerror_handler_, url, &result);
}
-void ChromeFrameNPAPI::OnMessageFromChromeFrame(int tab_handle,
- const std::string& message,
+void ChromeFrameNPAPI::OnMessageFromChromeFrame(const std::string& message,
const std::string& origin,
const std::string& target) {
bool private_message = false;
« no previous file with comments | « chrome_frame/chrome_frame_npapi.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698