Chromium Code Reviews

Unified Diff: chrome_frame/chrome_frame_delegate.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.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « chrome_frame/chrome_frame_delegate.h ('k') | chrome_frame/chrome_frame_npapi.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/chrome_frame_delegate.cc
===================================================================
--- chrome_frame/chrome_frame_delegate.cc (revision 69966)
+++ chrome_frame/chrome_frame_delegate.cc (working copy)
@@ -4,8 +4,7 @@
#include "chrome_frame/chrome_frame_delegate.h"
-bool ChromeFrameDelegateImpl::IsTabMessage(const IPC::Message& message,
- int* tab_handle) {
+bool ChromeFrameDelegateImpl::IsTabMessage(const IPC::Message& message) {
bool is_tab_message = true;
IPC_BEGIN_MESSAGE_MAP(ChromeFrameDelegateImpl, message)
IPC_MESSAGE_HANDLER_GENERIC(AutomationMsg_NavigationStateChanged, )
@@ -31,12 +30,6 @@
IPC_MESSAGE_UNHANDLED(is_tab_message = false);
IPC_END_MESSAGE_MAP()
- if (is_tab_message) {
- // Read tab handle from the message.
- void* iter = NULL;
- is_tab_message = message.ReadInt(&iter, tab_handle);
- }
-
return is_tab_message;
}
« no previous file with comments | « chrome_frame/chrome_frame_delegate.h ('k') | chrome_frame/chrome_frame_npapi.h » ('j') | no next file with comments »

Powered by Google App Engine