Fix spelling error in OnProcessMessageReceived (issue #636).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@689 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2012-06-11 20:03:49 +00:00
parent 1161d18c82
commit 11fb746e95
21 changed files with 38 additions and 38 deletions

View File

@ -116,7 +116,7 @@ typedef struct _cef_client_t {
// (1) if the message was handled or false (0) otherwise. Do not keep a
// reference to or attempt to access the message outside of this callback.
///
int (CEF_CALLBACK *on_process_message_recieved)(struct _cef_client_t* self,
int (CEF_CALLBACK *on_process_message_received)(struct _cef_client_t* self,
struct _cef_browser_t* browser, enum cef_process_id_t source_process,
struct _cef_process_message_t* message);
} cef_client_t;

View File

@ -118,7 +118,7 @@ typedef struct _cef_render_process_handler_t {
// (1) if the message was handled or false (0) otherwise. Do not keep a
// reference to or attempt to access the message outside of this callback.
///
int (CEF_CALLBACK *on_process_message_recieved)(
int (CEF_CALLBACK *on_process_message_received)(
struct _cef_render_process_handler_t* self,
struct _cef_browser_t* browser, enum cef_process_id_t source_process,
struct _cef_process_message_t* message);

View File

@ -137,7 +137,7 @@ class CefClient : public virtual CefBase {
// or attempt to access the message outside of this callback.
///
/*--cef()--*/
virtual bool OnProcessMessageRecieved(CefRefPtr<CefBrowser> browser,
virtual bool OnProcessMessageReceived(CefRefPtr<CefBrowser> browser,
CefProcessId source_process,
CefRefPtr<CefProcessMessage> message) {
return false;

View File

@ -114,7 +114,7 @@ class CefRenderProcessHandler : public virtual CefBase {
// or attempt to access the message outside of this callback.
///
/*--cef()--*/
virtual bool OnProcessMessageRecieved(CefRefPtr<CefBrowser> browser,
virtual bool OnProcessMessageReceived(CefRefPtr<CefBrowser> browser,
CefProcessId source_process,
CefRefPtr<CefProcessMessage> message) {
return false;

View File

@ -1193,7 +1193,7 @@ void CefBrowserHostImpl::OnRequest(const Cef_Request_Params& params) {
CefRefPtr<CefProcessMessageImpl> message(
new CefProcessMessageImpl(const_cast<Cef_Request_Params*>(&params),
false, true));
success = client_->OnProcessMessageRecieved(this, PID_RENDERER,
success = client_->OnProcessMessageReceived(this, PID_RENDERER,
message.get());
message->Detach(NULL);
}

View File

@ -585,7 +585,7 @@ void CefBrowserImpl::OnRequest(const Cef_Request_Params& params) {
CefRefPtr<CefProcessMessageImpl> message(
new CefProcessMessageImpl(const_cast<Cef_Request_Params*>(&params),
false, true));
success = handler->OnProcessMessageRecieved(this, PID_BROWSER,
success = handler->OnProcessMessageReceived(this, PID_BROWSER,
message.get());
message->Detach(NULL);
}

View File

@ -170,7 +170,7 @@ struct _cef_request_handler_t* CEF_CALLBACK client_get_request_handler(
return CefRequestHandlerCppToC::Wrap(_retval);
}
int CEF_CALLBACK client_on_process_message_recieved(struct _cef_client_t* self,
int CEF_CALLBACK client_on_process_message_received(struct _cef_client_t* self,
cef_browser_t* browser, enum cef_process_id_t source_process,
struct _cef_process_message_t* message) {
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@ -188,7 +188,7 @@ int CEF_CALLBACK client_on_process_message_recieved(struct _cef_client_t* self,
return 0;
// Execute
bool _retval = CefClientCppToC::Get(self)->OnProcessMessageRecieved(
bool _retval = CefClientCppToC::Get(self)->OnProcessMessageReceived(
CefBrowserCToCpp::Wrap(browser),
source_process,
CefProcessMessageCToCpp::Wrap(message));
@ -211,8 +211,8 @@ CefClientCppToC::CefClientCppToC(CefClient* cls)
struct_.struct_.get_life_span_handler = client_get_life_span_handler;
struct_.struct_.get_load_handler = client_get_load_handler;
struct_.struct_.get_request_handler = client_get_request_handler;
struct_.struct_.on_process_message_recieved =
client_on_process_message_recieved;
struct_.struct_.on_process_message_received =
client_on_process_message_received;
}
#ifndef NDEBUG

View File

@ -155,7 +155,7 @@ void CEF_CALLBACK render_process_handler_on_focused_node_changed(
CefDOMNodeCToCpp::Wrap(node));
}
int CEF_CALLBACK render_process_handler_on_process_message_recieved(
int CEF_CALLBACK render_process_handler_on_process_message_received(
struct _cef_render_process_handler_t* self, cef_browser_t* browser,
enum cef_process_id_t source_process, cef_process_message_t* message) {
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@ -174,7 +174,7 @@ int CEF_CALLBACK render_process_handler_on_process_message_recieved(
// Execute
bool _retval = CefRenderProcessHandlerCppToC::Get(
self)->OnProcessMessageRecieved(
self)->OnProcessMessageReceived(
CefBrowserCToCpp::Wrap(browser),
source_process,
CefProcessMessageCToCpp::Wrap(message));
@ -204,8 +204,8 @@ CefRenderProcessHandlerCppToC::CefRenderProcessHandlerCppToC(
render_process_handler_on_context_released;
struct_.struct_.on_focused_node_changed =
render_process_handler_on_focused_node_changed;
struct_.struct_.on_process_message_recieved =
render_process_handler_on_process_message_recieved;
struct_.struct_.on_process_message_received =
render_process_handler_on_process_message_received;
}
#ifndef NDEBUG

View File

@ -145,9 +145,9 @@ CefRefPtr<CefRequestHandler> CefClientCToCpp::GetRequestHandler() {
return CefRequestHandlerCToCpp::Wrap(_retval);
}
bool CefClientCToCpp::OnProcessMessageRecieved(CefRefPtr<CefBrowser> browser,
bool CefClientCToCpp::OnProcessMessageReceived(CefRefPtr<CefBrowser> browser,
CefProcessId source_process, CefRefPtr<CefProcessMessage> message) {
if (CEF_MEMBER_MISSING(struct_, on_process_message_recieved))
if (CEF_MEMBER_MISSING(struct_, on_process_message_received))
return false;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@ -162,7 +162,7 @@ bool CefClientCToCpp::OnProcessMessageRecieved(CefRefPtr<CefBrowser> browser,
return false;
// Execute
int _retval = struct_->on_process_message_recieved(struct_,
int _retval = struct_->on_process_message_received(struct_,
CefBrowserCppToC::Wrap(browser),
source_process,
CefProcessMessageCppToC::Wrap(message));

View File

@ -41,7 +41,7 @@ class CefClientCToCpp
virtual CefRefPtr<CefLifeSpanHandler> GetLifeSpanHandler() OVERRIDE;
virtual CefRefPtr<CefLoadHandler> GetLoadHandler() OVERRIDE;
virtual CefRefPtr<CefRequestHandler> GetRequestHandler() OVERRIDE;
virtual bool OnProcessMessageRecieved(CefRefPtr<CefBrowser> browser,
virtual bool OnProcessMessageReceived(CefRefPtr<CefBrowser> browser,
CefProcessId source_process,
CefRefPtr<CefProcessMessage> message) OVERRIDE;
};

View File

@ -151,10 +151,10 @@ void CefRenderProcessHandlerCToCpp::OnFocusedNodeChanged(
CefDOMNodeCppToC::Wrap(node));
}
bool CefRenderProcessHandlerCToCpp::OnProcessMessageRecieved(
bool CefRenderProcessHandlerCToCpp::OnProcessMessageReceived(
CefRefPtr<CefBrowser> browser, CefProcessId source_process,
CefRefPtr<CefProcessMessage> message) {
if (CEF_MEMBER_MISSING(struct_, on_process_message_recieved))
if (CEF_MEMBER_MISSING(struct_, on_process_message_received))
return false;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
@ -169,7 +169,7 @@ bool CefRenderProcessHandlerCToCpp::OnProcessMessageRecieved(
return false;
// Execute
int _retval = struct_->on_process_message_recieved(struct_,
int _retval = struct_->on_process_message_received(struct_,
CefBrowserCppToC::Wrap(browser),
source_process,
CefProcessMessageCppToC::Wrap(message));

View File

@ -44,7 +44,7 @@ class CefRenderProcessHandlerCToCpp
CefRefPtr<CefFrame> frame, CefRefPtr<CefV8Context> context) OVERRIDE;
virtual void OnFocusedNodeChanged(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame, CefRefPtr<CefDOMNode> node) OVERRIDE;
virtual bool OnProcessMessageRecieved(CefRefPtr<CefBrowser> browser,
virtual bool OnProcessMessageReceived(CefRefPtr<CefBrowser> browser,
CefProcessId source_process,
CefRefPtr<CefProcessMessage> message) OVERRIDE;
};

View File

@ -24,7 +24,7 @@ class ProcessMessageDelegate : public ClientHandler::ProcessMessageDelegate {
}
// From ClientHandler::ProcessMessageDelegate.
virtual bool OnProcessMessageRecieved(
virtual bool OnProcessMessageReceived(
CefRefPtr<ClientHandler> handler,
CefRefPtr<CefBrowser> browser,
CefProcessId source_process,

View File

@ -278,7 +278,7 @@ void ClientApp::OnFocusedNodeChanged(CefRefPtr<CefBrowser> browser,
(*it)->OnFocusedNodeChanged(this, browser, frame, node);
}
bool ClientApp::OnProcessMessageRecieved(
bool ClientApp::OnProcessMessageReceived(
CefRefPtr<CefBrowser> browser,
CefProcessId source_process,
CefRefPtr<CefProcessMessage> message) {
@ -289,7 +289,7 @@ bool ClientApp::OnProcessMessageRecieved(
// Execute delegate callbacks.
RenderDelegateSet::iterator it = render_delegates_.begin();
for (; it != render_delegates_.end() && !handled; ++it) {
handled = (*it)->OnProcessMessageRecieved(this, browser, source_process,
handled = (*it)->OnProcessMessageReceived(this, browser, source_process,
message);
}

View File

@ -54,7 +54,7 @@ class ClientApp : public CefApp,
// handled and should not be passed on to other handlers. RenderDelegates
// should check for unique message names to avoid interfering with each
// other.
virtual bool OnProcessMessageRecieved(
virtual bool OnProcessMessageReceived(
CefRefPtr<ClientApp> app,
CefRefPtr<CefBrowser> browser,
CefProcessId source_process,
@ -122,7 +122,7 @@ class ClientApp : public CefApp,
virtual void OnFocusedNodeChanged(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame,
CefRefPtr<CefDOMNode> node) OVERRIDE;
virtual bool OnProcessMessageRecieved(
virtual bool OnProcessMessageReceived(
CefRefPtr<CefBrowser> browser,
CefProcessId source_process,
CefRefPtr<CefProcessMessage> message) OVERRIDE;

View File

@ -43,7 +43,7 @@ ClientHandler::ClientHandler()
ClientHandler::~ClientHandler() {
}
bool ClientHandler::OnProcessMessageRecieved(
bool ClientHandler::OnProcessMessageReceived(
CefRefPtr<CefBrowser> browser,
CefProcessId source_process,
CefRefPtr<CefProcessMessage> message) {
@ -63,7 +63,7 @@ bool ClientHandler::OnProcessMessageRecieved(
// Execute delegate callbacks.
ProcessMessageDelegateSet::iterator it = process_message_delegates_.begin();
for (; it != process_message_delegates_.end() && !handled; ++it) {
handled = (*it)->OnProcessMessageRecieved(this, browser, source_process,
handled = (*it)->OnProcessMessageReceived(this, browser, source_process,
message);
}

View File

@ -36,7 +36,7 @@ class ClientHandler : public CefClient,
// handled and should not be passed on to other handlers.
// ProcessMessageDelegates should check for unique message names to avoid
// interfering with each other.
virtual bool OnProcessMessageRecieved(
virtual bool OnProcessMessageReceived(
CefRefPtr<ClientHandler> handler,
CefRefPtr<CefBrowser> browser,
CefProcessId source_process,
@ -89,7 +89,7 @@ class ClientHandler : public CefClient,
virtual CefRefPtr<CefRequestHandler> GetRequestHandler() OVERRIDE {
return this;
}
virtual bool OnProcessMessageRecieved(CefRefPtr<CefBrowser> browser,
virtual bool OnProcessMessageReceived(CefRefPtr<CefBrowser> browser,
CefProcessId source_process,
CefRefPtr<CefProcessMessage> message)
OVERRIDE;

View File

@ -101,7 +101,7 @@ class DOMRenderDelegate : public ClientApp::RenderDelegate {
DOMRenderDelegate() {
}
virtual bool OnProcessMessageRecieved(
virtual bool OnProcessMessageReceived(
CefRefPtr<ClientApp> app,
CefRefPtr<CefBrowser> browser,
CefProcessId source_process,

View File

@ -227,7 +227,7 @@ class DOMRendererTest : public ClientApp::RenderDelegate {
DOMRendererTest() {
}
virtual bool OnProcessMessageRecieved(
virtual bool OnProcessMessageReceived(
CefRefPtr<ClientApp> app,
CefRefPtr<CefBrowser> browser,
CefProcessId source_process,
@ -281,7 +281,7 @@ class TestDOMHandler : public TestHandler {
}
}
virtual bool OnProcessMessageRecieved(
virtual bool OnProcessMessageReceived(
CefRefPtr<CefBrowser> browser,
CefProcessId source_process,
CefRefPtr<CefProcessMessage> message) OVERRIDE {

View File

@ -44,7 +44,7 @@ class SendRecvRendererTest : public ClientApp::RenderDelegate {
public:
SendRecvRendererTest() {}
virtual bool OnProcessMessageRecieved(
virtual bool OnProcessMessageReceived(
CefRefPtr<ClientApp> app,
CefRefPtr<CefBrowser> browser,
CefProcessId source_process,
@ -108,7 +108,7 @@ class SendRecvTestHandler : public TestHandler {
EXPECT_TRUE(browser->SendProcessMessage(PID_RENDERER, message_));
}
virtual bool OnProcessMessageRecieved(
virtual bool OnProcessMessageReceived(
CefRefPtr<CefBrowser> browser,
CefProcessId source_process,
CefRefPtr<CefProcessMessage> message) OVERRIDE {

View File

@ -1442,7 +1442,7 @@ class V8RendererTest : public ClientApp::RenderDelegate {
}
}
virtual bool OnProcessMessageRecieved(
virtual bool OnProcessMessageReceived(
CefRefPtr<ClientApp> app,
CefRefPtr<CefBrowser> browser,
CefProcessId source_process,
@ -1532,7 +1532,7 @@ class V8TestHandler : public TestHandler {
}
}
virtual bool OnProcessMessageRecieved(
virtual bool OnProcessMessageReceived(
CefRefPtr<CefBrowser> browser,
CefProcessId source_process,
CefRefPtr<CefProcessMessage> message) OVERRIDE {