mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-02 20:26:59 +01:00
docs: Fix typos "recieve" -> "receive"
This commit is contained in:
parent
3507249202
commit
7c2bd75f7a
@ -95,7 +95,7 @@
|
||||
/// will then be discarded after the real cross-origin sub-frame is created in
|
||||
/// the new/target renderer process. The client will receive cross-origin
|
||||
/// navigation callbacks (2) for the transition from the temporary sub-frame to
|
||||
/// the real sub-frame. The temporary sub-frame will not recieve or execute
|
||||
/// the real sub-frame. The temporary sub-frame will not receive or execute
|
||||
/// commands during this transitional period (any sent commands will be
|
||||
/// discarded).
|
||||
///
|
||||
@ -103,7 +103,7 @@
|
||||
/// browser, a temporary main frame object for the popup will first be created
|
||||
/// in the parent's renderer process. That temporary main frame will then be
|
||||
/// discarded after the real cross-origin main frame is created in the
|
||||
/// new/target renderer process. The client will recieve creation and initial
|
||||
/// new/target renderer process. The client will receive creation and initial
|
||||
/// navigation callbacks (1) for the temporary main frame, followed by
|
||||
/// cross-origin navigation callbacks (2) for the transition from the temporary
|
||||
/// main frame to the real main frame. The temporary main frame may receive and
|
||||
|
@ -131,7 +131,7 @@ class CefLifeSpanHandler : public virtual CefBaseRefCounted {
|
||||
virtual void OnAfterCreated(CefRefPtr<CefBrowser> browser) {}
|
||||
|
||||
///
|
||||
/// Called when a browser has recieved a request to close. This may result
|
||||
/// Called when a browser has received a request to close. This may result
|
||||
/// directly from a call to CefBrowserHost::*CloseBrowser() or indirectly if
|
||||
/// the browser is parented to a top-level window created by CEF and the user
|
||||
/// attempts to close that window (by clicking the 'X', for example). The
|
||||
|
@ -145,7 +145,7 @@ class CefMediaObserver : public virtual CefBaseRefCounted {
|
||||
ConnectionState state) = 0;
|
||||
|
||||
///
|
||||
/// A message was recieved over |route|. |message| is only valid for
|
||||
/// A message was received over |route|. |message| is only valid for
|
||||
/// the scope of this callback and should be copied if necessary.
|
||||
///
|
||||
/*--cef()--*/
|
||||
|
@ -51,7 +51,7 @@ class CefTextfield;
|
||||
class CefTextfieldDelegate : public CefViewDelegate {
|
||||
public:
|
||||
///
|
||||
/// Called when |textfield| recieves a keyboard event. |event| contains
|
||||
/// Called when |textfield| receives a keyboard event. |event| contains
|
||||
/// information about the keyboard event. Return true if the keyboard event
|
||||
/// was handled or false otherwise for default handling.
|
||||
///
|
||||
|
@ -335,7 +335,7 @@ bool ChromeContentBrowserClientCef::HandleExternalProtocol(
|
||||
return false;
|
||||
}
|
||||
|
||||
// The request was unhandled and we've recieved a callback from
|
||||
// The request was unhandled and we've received a callback from
|
||||
// HandleExternalProtocolHelper. Forward to the chrome layer for default
|
||||
// handling.
|
||||
return ChromeContentBrowserClient::HandleExternalProtocol(
|
||||
|
@ -119,7 +119,7 @@ class SendRecvTestHandler : public TestHandler {
|
||||
EXPECT_TRUE(message->IsValid());
|
||||
EXPECT_TRUE(message->IsReadOnly());
|
||||
|
||||
// Verify that the recieved message is the same as the sent message.
|
||||
// Verify that the received message is the same as the sent message.
|
||||
TestProcessMessageEqual(CreateTestMessage(), message);
|
||||
|
||||
got_message_.yes();
|
||||
@ -155,14 +155,14 @@ class SendRecvTestHandler : public TestHandler {
|
||||
|
||||
} // namespace
|
||||
|
||||
// Verify send from the UI thread and recieve.
|
||||
// Verify send from the UI thread and receive.
|
||||
TEST(ProcessMessageTest, SendRecvUI) {
|
||||
CefRefPtr<SendRecvTestHandler> handler = new SendRecvTestHandler(TID_UI);
|
||||
handler->ExecuteTest();
|
||||
ReleaseAndWaitForDestructor(handler);
|
||||
}
|
||||
|
||||
// Verify send from the IO thread and recieve.
|
||||
// Verify send from the IO thread and receive.
|
||||
TEST(ProcessMessageTest, SendRecvIO) {
|
||||
CefRefPtr<SendRecvTestHandler> handler = new SendRecvTestHandler(TID_IO);
|
||||
handler->ExecuteTest();
|
||||
|
@ -370,7 +370,7 @@ class RequestSendRecvTestHandler : public TestHandler {
|
||||
|
||||
} // namespace
|
||||
|
||||
// Verify send and recieve
|
||||
// Verify send and receive
|
||||
TEST(RequestTest, SendRecv) {
|
||||
CefRefPtr<RequestSendRecvTestHandler> handler =
|
||||
new RequestSendRecvTestHandler();
|
||||
|
@ -109,7 +109,7 @@ class SharedMessageTestHandler final : public TestHandler {
|
||||
EXPECT_TRUE(message->IsReadOnly());
|
||||
EXPECT_EQ(message->GetArgumentList(), nullptr);
|
||||
|
||||
// Verify that the recieved message is the same as the sent message.
|
||||
// Verify that the received message is the same as the sent message.
|
||||
auto region = message->GetSharedMemoryRegion();
|
||||
const TestData* received = static_cast<const TestData*>(region->Memory());
|
||||
EXPECT_EQ(data_.flag, received->flag);
|
||||
|
Loading…
x
Reference in New Issue
Block a user